|
||||||||||
| 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 related border anchor to this 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. |
IFormLayout.IAnchor |
getRelativeAnchor()
Gets the related unused auto size 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. |
boolean |
isRelative()
true, if the anchor is relative. |
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)
pRelatedAnchor - the relatedAnchor to set.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.IAnchorpublic boolean isRelative()
public IFormLayout.IAnchor getRelativeAnchor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||