|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFormLayout
Platform and technology independent form oriented layout definition. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .
| Nested Class Summary | |
|---|---|
static interface |
IFormLayout.IAnchor
The Anchor gives the possible horizontal and vertical positions. |
static interface |
IFormLayout.IConstraints
The Constraint stores the top, left, bottom and right Anchor for layouting a component. |
| Field Summary | |
|---|---|
static java.lang.String |
NEWLINE
Constraint for starting a new row for the given component. |
| Fields inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT, ALIGN_STRETCH, ALIGN_TOP |
| Method Summary | |
|---|---|
IFormLayout.IAnchor |
createAnchor(IFormLayout.IAnchor pRelatedAnchor)
Constructs an anchor relative to pRelatedAnchor auto sized. |
IFormLayout.IAnchor |
createAnchor(IFormLayout.IAnchor pRelatedAnchor,
int pPosition)
Constructs an anchor relative to pRelatedAnchor with pPosition pixels. |
IFormLayout.IAnchor |
getBottomAnchor()
Returns the bottom border anchor. |
IFormLayout.IAnchor |
getBottomMarginAnchor()
Returns the bottom margin border anchor. |
IFormLayout.IConstraints |
getConstraints(IFormLayout.IAnchor pTopAnchor,
IFormLayout.IAnchor pLeftAnchor,
IFormLayout.IAnchor pBottomAnchor,
IFormLayout.IAnchor pRightAnchor)
Creates the default constraints for the given anchors. |
IFormLayout.IConstraints |
getConstraints(int pColumn,
int pRow)
Creates the default constraints for the given column and row. |
IFormLayout.IConstraints |
getConstraints(int pBeginColumn,
int pBeginRow,
int pEndColumn,
int pEndRow)
Creates the default constraints for the given column and row. |
IFormLayout.IAnchor[] |
getHorizontalAnchors()
Returns all horizontal anchors used by this layout. |
IFormLayout.IAnchor |
getLeftAnchor()
Returns the left border anchor. |
IFormLayout.IAnchor |
getLeftMarginAnchor()
Returns the left margin border anchor. |
int |
getNewlineCount()
Gets the new line count. |
IFormLayout.IAnchor |
getRightAnchor()
Returns the right border anchor. |
IFormLayout.IAnchor |
getRightMarginAnchor()
Returns the right margin border anchor. |
IFormLayout.IAnchor |
getTopAnchor()
Returns the top border anchor. |
IFormLayout.IAnchor |
getTopMarginAnchor()
Returns the top margin border anchor. |
IFormLayout.IAnchor[] |
getVerticalAnchors()
Returns all vertical anchors used by this layout. |
void |
setNewlineCount(int pNewlineCount)
Sets the new line count. |
| Methods inherited from interface javax.rad.ui.ILayout |
|---|
getConstraints, getHorizontalGap, getMargins, getVerticalGap, setConstraints, setHorizontalGap, setMargins, setVerticalGap |
| Methods inherited from interface javax.rad.ui.IResource |
|---|
getResource |
| Methods inherited from interface javax.rad.ui.IAlignmentConstants |
|---|
getHorizontalAlignment, getVerticalAlignment, setHorizontalAlignment, setVerticalAlignment |
| Field Detail |
|---|
static final java.lang.String NEWLINE
| Method Detail |
|---|
int getNewlineCount()
void setNewlineCount(int pNewlineCount)
pNewlineCount - the new line count.IFormLayout.IAnchor createAnchor(IFormLayout.IAnchor pRelatedAnchor)
pRelatedAnchor - the related anchor for this anchor.
IFormLayout.IAnchor createAnchor(IFormLayout.IAnchor pRelatedAnchor,
int pPosition)
pRelatedAnchor - the related anchor for this anchor.pPosition - the position relative to the related anchor.
IFormLayout.IAnchor getLeftAnchor()
IFormLayout.IAnchor getRightAnchor()
IFormLayout.IAnchor getTopAnchor()
IFormLayout.IAnchor getBottomAnchor()
IFormLayout.IAnchor getLeftMarginAnchor()
IFormLayout.IAnchor getRightMarginAnchor()
IFormLayout.IAnchor getTopMarginAnchor()
IFormLayout.IAnchor getBottomMarginAnchor()
IFormLayout.IAnchor[] getHorizontalAnchors()
IFormLayout.IAnchor[] getVerticalAnchors()
IFormLayout.IConstraints getConstraints(int pColumn,
int pRow)
pColumn - the column.pRow - the row.
IFormLayout.IConstraints getConstraints(int pBeginColumn,
int pBeginRow,
int pEndColumn,
int pEndRow)
pBeginColumn - the column.pBeginRow - the row.pEndColumn - the column count.pEndRow - the row count.
IFormLayout.IConstraints getConstraints(IFormLayout.IAnchor pTopAnchor,
IFormLayout.IAnchor pLeftAnchor,
IFormLayout.IAnchor pBottomAnchor,
IFormLayout.IAnchor pRightAnchor)
pTopAnchor - the top anchor.pLeftAnchor - the left anchor.pBottomAnchor - the bottom anchor.pRightAnchor - the right anchor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||