|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.ui.swing.ext.layout.JVxFormLayout.Anchor
public static class JVxFormLayout.Anchor
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. |
| Constructor Summary | |
|---|---|
JVxFormLayout.Anchor(JVxFormLayout.Anchor pRelatedAnchor)
Constructs an anchor relative to pRelatedAnchor auto sized. |
|
JVxFormLayout.Anchor(JVxFormLayout.Anchor pRelatedAnchor,
int pPosition)
Constructs an anchor relative to pRelatedAnchor with pPosition pixels. |
|
| Method Summary | |
|---|---|
int |
getAbsolutePosition()
Returns the absolute position of this Anchor in this FormLayout. |
JVxFormLayout.Anchor |
getBorderAnchor()
Gets the related border anchor to this anchor. |
JVxFormLayout |
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. |
JVxFormLayout.Anchor |
getRelatedAnchor()
Returns the related Anchor. |
JVxFormLayout.Anchor |
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(JVxFormLayout.Anchor pRelatedAnchor)
Sets the related Anchor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int HORIZONTAL
public static final int VERTICAL
| Constructor Detail |
|---|
public JVxFormLayout.Anchor(JVxFormLayout.Anchor pRelatedAnchor)
pRelatedAnchor - the related anchor for this anchor.
public JVxFormLayout.Anchor(JVxFormLayout.Anchor pRelatedAnchor,
int pPosition)
pRelatedAnchor - the related anchor for this anchor.pPosition - the position relative to the related anchor.| Method Detail |
|---|
public JVxFormLayout getLayout()
public int getOrientation()
HORIZONTAL or VERTICAL.
public boolean isBorderAnchor()
public JVxFormLayout.Anchor getRelatedAnchor()
public void setRelatedAnchor(JVxFormLayout.Anchor pRelatedAnchor)
pRelatedAnchor - the relatedAnchor to set.public boolean isAutoSize()
public void setAutoSize(boolean pAutoSize)
pAutoSize - the fixed to set.public int getPosition()
public void setPosition(int pPosition)
pPosition - the position to setpublic int getAbsolutePosition()
public JVxFormLayout.Anchor getBorderAnchor()
public boolean isRelative()
public JVxFormLayout.Anchor getRelativeAnchor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||