|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface IFormLayout.IAnchor
The Anchor gives the possible horizontal and vertical positions.
Field Summary | |
---|---|
static int |
HORIZONTAL
Constant for horizontal anchors. |
static int |
VERTICAL
Constant for vertical anchors. |
Method Summary | |
---|---|
int |
getAbsolutePosition()
Returns the absolute position of this Anchor in this FormLayout. |
IFormLayout.IAnchor |
getBorderAnchor()
Gets the border anchor. |
IFormLayout |
getLayout()
Returns the layout to which this anchor belongs. |
int |
getOrientation()
Returns whether the orientation of this Anchor is HORIZONTAL or VERTICAL . |
int |
getPosition()
Returns the position of this Anchor. |
IFormLayout.IAnchor |
getRelatedAnchor()
Returns the related Anchor. |
float |
getRelativePosition()
Returns the position of this Anchor. |
IFormLayout.IAnchor |
getSecondRelatedAnchor()
Returns the second related Anchor. |
boolean |
isAutoSize()
Returns true, if the position of this anchor is calculated automatically. |
void |
setAutoSize(boolean pAutoSize)
Sets, if the position of this anchor is calculated automatically. |
void |
setPosition(int pPosition)
Sets the position of this Anchor. |
void |
setRelativePosition(float pRelativePosition)
Sets the position of this Anchor. |
Methods inherited from interface javax.rad.ui.IResource |
---|
getResource |
Field Detail |
---|
static final int HORIZONTAL
static final int VERTICAL
Method Detail |
---|
IFormLayout getLayout()
int getOrientation()
HORIZONTAL
or VERTICAL
.
IFormLayout.IAnchor getRelatedAnchor()
IFormLayout.IAnchor getSecondRelatedAnchor()
IFormLayout.IAnchor getBorderAnchor()
boolean isAutoSize()
void setAutoSize(boolean pAutoSize)
pAutoSize
- the fixed to set.int getPosition()
void setPosition(int pPosition)
pPosition
- the position to setfloat getRelativePosition()
void setRelativePosition(float pRelativePosition)
pRelativePosition
- the relative positionint getAbsolutePosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |