|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.awt.impl.AwtResource<JVxFormLayout.Anchor>
com.sibvisions.rad.ui.swing.impl.layout.AwtFormLayout.AwtAnchor
public static class AwtFormLayout.AwtAnchor
The Anchor gives the possible horizontal and vertical positions.
| Field Summary |
|---|
| Fields inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
resource |
| Fields inherited from interface javax.rad.ui.layout.IFormLayout.IAnchor |
|---|
HORIZONTAL, VERTICAL |
| Constructor Summary | |
|---|---|
protected |
AwtFormLayout.AwtAnchor(AwtFormLayout pLayout,
JVxFormLayout.Anchor pAnchor)
Constructs a new AwtAnchor. |
| 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. |
boolean |
isAutoSize()
Returns true, if the position of this anchor is calculated automatically. |
boolean |
isBorderAnchor()
Returns true, if this anchor is the border anchor. |
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 |
setRelatedAnchor(IFormLayout.IAnchor pRelatedAnchor)
Sets the related Anchor. |
| Methods inherited from class com.sibvisions.rad.ui.awt.impl.AwtResource |
|---|
equals, getResource, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Constructor Detail |
|---|
protected AwtFormLayout.AwtAnchor(AwtFormLayout pLayout,
JVxFormLayout.Anchor pAnchor)
pLayout - the layout.pAnchor - the anchor.| Method Detail |
|---|
public IFormLayout getLayout()
getLayout in interface IFormLayout.IAnchorpublic int getOrientation()
HORIZONTAL or VERTICAL.
getOrientation in interface IFormLayout.IAnchorpublic boolean isBorderAnchor()
public IFormLayout.IAnchor getRelatedAnchor()
getRelatedAnchor in interface IFormLayout.IAnchorpublic void setRelatedAnchor(IFormLayout.IAnchor pRelatedAnchor)
setRelatedAnchor in interface IFormLayout.IAnchorpRelatedAnchor - the relatedAnchor.public boolean isAutoSize()
isAutoSize in interface IFormLayout.IAnchorpublic void setAutoSize(boolean pAutoSize)
setAutoSize in interface IFormLayout.IAnchorpAutoSize - the fixed to set.public int getPosition()
getPosition in interface IFormLayout.IAnchorpublic void setPosition(int pPosition)
setPosition in interface IFormLayout.IAnchorpPosition - the position to setpublic int getAbsolutePosition()
getAbsolutePosition in interface IFormLayout.IAnchorpublic IFormLayout.IAnchor getBorderAnchor()
getBorderAnchor in interface IFormLayout.IAnchor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||