com.businessobjects.rebean.wi
Class HAlignmentType

java.lang.Object
  extended by com.businessobjects.rebean.wi.HAlignmentType
All Implemented Interfaces:
java.io.Serializable

public final class HAlignmentType
extends java.lang.Object
implements java.io.Serializable

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

HAlignmentType>/code> class defines all possible horizontal alignment types.

See Also:
Alignment, Serialized Form

Field Summary
static int _CENTER
          int value of CENTER.value()
static int _LEFT
          int value of LEFT.value()
static int _RIGHT
          int value of RIGHT.value()
static HAlignmentType CENTER
          Represents alignment in the horizontal center.
static HAlignmentType LEFT
          Represents alignment at the left.
static HAlignmentType RIGHT
          Represents alignment at the right.
 
Method Summary
static HAlignmentType fromInt(int value)
          Returns an HAlignmentType instance corresponding to value, or null when value does not correspond to any HAlignmentType.
 java.lang.String toString()
          Returns a String representation of this horizontal alignment type.
 int value()
          Returns the int value of this horizontal alignment type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_LEFT

public static final int _LEFT
int value of LEFT.value()

See Also:
Constant Field Values

_CENTER

public static final int _CENTER
int value of CENTER.value()

See Also:
Constant Field Values

_RIGHT

public static final int _RIGHT
int value of RIGHT.value()

See Also:
Constant Field Values

LEFT

public static final HAlignmentType LEFT
Represents alignment at the left.


CENTER

public static final HAlignmentType CENTER
Represents alignment in the horizontal center.


RIGHT

public static final HAlignmentType RIGHT
Represents alignment at the right.

Method Detail

value

public int value()
Returns the int value of this horizontal alignment type.

Returns:
the int value of this horizontal alignment type.

toString

public java.lang.String toString()
Returns a String representation of this horizontal alignment type.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of this horizontal alignment type (for debug purposes)

fromInt

public static HAlignmentType fromInt(int value)
Returns an HAlignmentType instance corresponding to value, or null when value does not correspond to any HAlignmentType.

Returns:
an HAlignmentType instance corresponding to value, or null when value does not correspond to any HAlignmentType