| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.columnlayout.LayoutPanel
public class LayoutPanel
A LayoutPanel contains a grid of LayoutComponents, each of which can occupy a rectangle of cells. Layouts can be constructed by adding LayoutComponents, in a left to right fashion, and new lines.
| Constructor Summary | |
|---|---|
LayoutPanel()
 | 
|
| Method Summary | |
|---|---|
 void | 
add(LayoutComponent lc)
Add a LayoutComponent to the panel and advance the column position.  | 
 void | 
addToPanel(java.awt.Container container,
           int baseRow,
           int baseColumn,
           boolean[] rowConstraints,
           boolean[] columnConstraints,
           int rowSpan)
Allow each LayoutComponent to add itself to the UI container with appropriate constraints.  | 
 void | 
areColumnsResizable(boolean[] columnConstraints,
                    int baseColumn)
Allow each LayoutComponent to set the column constraints.  | 
 void | 
areRowsResizable(boolean[] rowConstraints,
                 int baseRow,
                 int rowSpan)
Allow each LayoutComponent to set the row constraints.  | 
 int | 
getColumnCount()
Return the current column count.  | 
 int | 
getRowCount()
Return the current row count.  | 
 void | 
nl()
Move to a new line, reseting all the current counts.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LayoutPanel()
| Method Detail | 
|---|
public void addToPanel(java.awt.Container container,
                       int baseRow,
                       int baseColumn,
                       boolean[] rowConstraints,
                       boolean[] columnConstraints,
                       int rowSpan)
addToPanel in interface LayoutComponentcontainer - 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
public void areRowsResizable(boolean[] rowConstraints,
                             int baseRow,
                             int rowSpan)
areRowsResizable in interface LayoutComponentrowConstraints - the out parameterbaseRow - the position to start from in the rowConstraintsrowSpan - the length of the rowConstraints which can be
                changed
public void areColumnsResizable(boolean[] columnConstraints,
                                int baseColumn)
areColumnsResizable in interface LayoutComponentpublic int getRowCount()
getRowCount in interface LayoutComponentpublic int getColumnCount()
getColumnCount in interface LayoutComponentpublic void add(LayoutComponent lc)
public void nl()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||