|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.businessobjects.rebean.wi.HAnchorType
public final class HAnchorType
Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.
HAnchorType
class represents all possible horizontal anchor types. Anchor types are used to determine how to attach
a report element to another.
Attachable
,
Serialized FormField Summary | |
---|---|
static int |
_LEFT
int value of LEFT.value() |
static int |
_NONE
int value of NONE.value() |
static int |
_RIGHT
int value of RIGHT.value() |
static HAnchorType |
LEFT
Defines left attachment. |
static HAnchorType |
NONE
Defines no attachment. |
static HAnchorType |
RIGHT
Defines right attachment. |
Method Summary | |
---|---|
static HAnchorType |
fromInt(int value)
Returns a HAnchorType instance corresponding to value , or
null when value does not correspond to any
HAnchorType . |
java.lang.String |
toString()
Return a String representation of this anchor type. |
int |
value()
Return the int value of this anchor type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _NONE
int
value of NONE.value()
public static final int _LEFT
int
value of LEFT.value()
public static final int _RIGHT
int
value of RIGHT.value()
public static final HAnchorType NONE
Attachable.getHorizontalAnchor()
returns
HAnchorType.NONE
, all the x parameters and return values from
Position
will be relative to the parent report container's left side.
public static final HAnchorType LEFT
Attachable.getHorizontalAnchor()
returns
HAnchorType.LEFT
, all the x parameters and return values from
Position
will be relative to the attached element's left side.
public static final HAnchorType RIGHT
Attachable.getHorizontalAnchor()
returns
HAnchorType.RIGHT
, all the x parameters and return values from
Position
will be relative to the attached element's right side.
Method Detail |
---|
public int value()
int
value of this anchor type.
int
value of this anchor typepublic java.lang.String toString()
String
representation of this anchor type.
toString
in class java.lang.Object
String
representation of this anchor type (for debug purposes).public static HAnchorType fromInt(int value)
HAnchorType
instance corresponding to value
, or
null
when value
does not correspond to any
HAnchorType
.
HAnchorType
instance corresponding to value
, or
null
when value
does not correspond to any
HAnchorType
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |