|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.columnlayout.LayoutGap
public class LayoutGap
Gaps are represented as JPanels with their preferred size set to the required gap size. They always occupy a single row and column and don't do any resizability checks.
Constructor Summary | |
---|---|
LayoutGap(java.awt.Dimension dimension)
Create a LayoutGap with the supplied minimum dimensions. |
|
LayoutGap(int width,
int height)
Create a LayoutGap using by supplying the width and height, this creates a new dimension. |
Method Summary | |
---|---|
void |
addToPanel(java.awt.Container container,
int baseRow,
int baseColumn,
boolean[] rowConstraints,
boolean[] columnConstraints,
int rowSpan)
The gap is added at the specified position, as a non-resizable single celled panel. |
void |
areColumnsResizable(boolean[] columnConstraints,
int baseColumn)
Gaps have no effect on column constraints. |
void |
areRowsResizable(boolean[] rowConstraints,
int baseRow,
int rowSpan)
Gaps have no effect on row constraints. |
int |
getColumnCount()
Gaps always occupy a single column. |
int |
getRowCount()
Gaps always occupy a single row. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutGap(java.awt.Dimension dimension)
dimension
- minimum size of gap, must not be nullpublic LayoutGap(int width, int height)
Method Detail |
---|
public void areRowsResizable(boolean[] rowConstraints, int baseRow, int rowSpan)
areRowsResizable
in interface LayoutComponent
rowConstraints
- the out parameterbaseRow
- the position to start from in the rowConstraintsrowSpan
- the length of the rowConstraints which can be
changedpublic void areColumnsResizable(boolean[] columnConstraints, int baseColumn)
areColumnsResizable
in interface LayoutComponent
public int getColumnCount()
getColumnCount
in interface LayoutComponent
public int getRowCount()
getRowCount
in interface LayoutComponent
public void addToPanel(java.awt.Container container, int baseRow, int baseColumn, boolean[] rowConstraints, boolean[] columnConstraints, int rowSpan)
addToPanel
in interface LayoutComponent
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.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |