com.businessobjects.rebean.wi
Class VAnchorType

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

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

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

VAnchorType class represents all possible vertical anchor types. Anchor types are used to determine how to attach a report element to another.

See Also:
Attachable, Serialized Form

Field Summary
static int _BOTTOM
          int value of BOTTOM.value()
static int _NONE
          int value of NONE.value()
static int _TOP
          int value of TOP.value()
static VAnchorType BOTTOM
          Defines bottom attachment.
static VAnchorType NONE
          Defines no attachment.
static VAnchorType TOP
          Defines top attachment.
 
Method Summary
static VAnchorType fromInt(int value)
          Returns a VAnchorType instance corresponding to value, or null when value does not correspond to any VAnchorType
 java.lang.String toString()
          Returns a String representation of this anchor type (for debug purposes)
 int value()
          Returns the int value of this anchor type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_NONE

public static final int _NONE
int value of NONE.value()

See Also:
Constant Field Values

_TOP

public static final int _TOP
int value of TOP.value()

See Also:
Constant Field Values

_BOTTOM

public static final int _BOTTOM
int value of BOTTOM.value()

See Also:
Constant Field Values

NONE

public static final VAnchorType NONE
Defines no attachment. When Attachable.getVerticalAnchor() returns VAnchorType.NONE, all the y parameters and return values from Position will be relative to the parent report container's top.


TOP

public static final VAnchorType TOP
Defines top attachment. When Attachable.getVerticalAnchor() returns VAnchorType.TOP, all the y parameters and return values from Position will be relative to the attached element's top.


BOTTOM

public static final VAnchorType BOTTOM
Defines bottom attachment. When Attachable.getVerticalAnchor() returns VAnchorType.BOTTOM, all the y parameters and return values from Position will be relative to the attached element's bottom.

Method Detail

value

public int value()
Returns the int value of this anchor type

Returns:
the int value of this anchor type

toString

public java.lang.String toString()
Returns a String representation of this anchor type (for debug purposes)

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

fromInt

public static VAnchorType fromInt(int value)
Returns a VAnchorType instance corresponding to value, or null when value does not correspond to any VAnchorType

Returns:
a VAnchorType instance corresponding to value, or null when value does not correspond to any VAnchorType