|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IGridLayout
Platform and technology independent grid oriented layout definition. It is designed for use with AWT, Swing, SWT, JSP, JSF,... .
| Nested Class Summary | |
|---|---|
static interface |
IGridLayout.IGridConstraints
The Constraint stores the column and row for layouting a component. |
| Method Summary | |
|---|---|
int |
getColumns()
Returns the number of columns. |
IGridLayout.IGridConstraints |
getConstraints(int pColumns,
int pRows)
Creates a constraint with the specified number of rows and columns. |
IGridLayout.IGridConstraints |
getConstraints(int pColumns,
int pRows,
int pWidth,
int pHeight)
Creates a constraint with the specified number of rows and columns with the determined dimensions. |
IGridLayout.IGridConstraints |
getConstraints(int pColumns,
int pRows,
int pWidth,
int pHeight,
IInsets insets)
Creates a constraint with the specified number of rows and columns with the determined dimensions and insets. |
int |
getRows()
Returns the number of rows. |
void |
setColumns(int pColumns)
Sets the column count. |
void |
setRows(int pRows)
Sets the row 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 |
| Method Detail |
|---|
IGridLayout.IGridConstraints getConstraints(int pColumns,
int pRows)
pColumns - the number of columnspRows - the number of rows
IGridLayout.IGridConstraints getConstraints(int pColumns,
int pRows,
int pWidth,
int pHeight)
pColumns - the number of columnspRows - the number of rowspWidth - width of the contentpHeight - height of the content
IGridLayout.IGridConstraints getConstraints(int pColumns,
int pRows,
int pWidth,
int pHeight,
IInsets insets)
pColumns - the number of columnspRows - the number of rowspWidth - width of the contentpHeight - height of the contentinsets - the determined insets
void setColumns(int pColumns)
pColumns - the column count.int getColumns()
void setRows(int pRows)
pRows - the row count.int getRows()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||