public interface LayoutComponent
| Modifier and Type | Method and Description | 
|---|---|
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? 
 | 
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