|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LayoutComponent
The LayoutComponent interface takes the component role in the composition pattern. Methods for manipulating children are left to implementations of the composite role.
Method Summary | |
---|---|
void |
addToPanel(java.awt.Container container, int baseRow, int baseColumn, boolean[] rowConstraints, boolean[] columnConstraints, int rowSpan) Layout components need to be able to add themselves to UI containers with appropriate constraints. |
void |
areColumnsResizable(boolean[] columnConstraints, int baseColumn) This is the parallel of the areRowsResizable method but geometrically orthogonal to it. |
void |
areRowsResizable(boolean[] rowConstraints, int baseRow, int rowSpan) For each row it can either be fixed or resizable. |
int |
getColumnCount() How many columns does the LayoutComponent have? |
int |
getRowCount() How many rows does the LayoutComponent have? |
Method Detail |
---|
int getColumnCount()
int getRowCount()
void areRowsResizable(boolean[] rowConstraints, int baseRow, int rowSpan)
rowConstraints
- the out parameterbaseRow
- the position to start from in the rowConstraintsrowSpan
- the length of the rowConstraints which can be changedjava.lang.IllegalArgumentException
- if the row span is too smallvoid areColumnsResizable(boolean[] columnConstraints, int baseColumn)
void addToPanel(java.awt.Container container, int baseRow, int baseColumn, boolean[] rowConstraints, boolean[] columnConstraints, int rowSpan)
container
- the container to add tobaseRow
- components must be added relative to thisbaseColumn
- components must be added relative to thisrowConstraints
- whether each row is resizable or not, these are for the whole containercolumnConstraints
- same as rowConstraints but for columnsrowSpan
- the number of rows which the LayoutComponent occupies this will be at least equal to the LayoutComponent's row count
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |