| Constructor and Description |
|---|
GridPane()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addOverlayCell(int c,
int r,
int colspan,
int rowspan,
SubPane cell)
Set an overlay cell.
|
AreaSpec |
areaSpec()
Requested area specification.
|
void |
layout(Area area)
Layout into an allocated area.
|
void |
set(int c,
int r,
int colspan,
int rowspan,
SubPane cell)
Set a rowspan/coplspan cell.
|
void |
set(int c,
int r,
SubPane cell)
Set a cell.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokeLayoutpublic void set(int c,
int r,
SubPane cell)
SubPane.areaSpec().c - Columnr - Rowcell - Cell contentpublic void addOverlayCell(int c,
int r,
int colspan,
int rowspan,
SubPane cell)
SubPane.areaSpec() does not affect the
layout.c - Columnr - Rowcolspan - Colspanrowspan - Rowspancell - Contentpublic void set(int c,
int r,
int colspan,
int rowspan,
SubPane cell)
c - First column of the cellr - First row of the cellcolspan - Colspan of the cell. If grater than 1 specified then the horizontal size requirement
of the cell must be 0. Spanned area can overlap with other cells.rowspan - Rowspan of the cell. If grater than 1 specified then the horizontal size requirement
of the cell must be 0. Spanned area can overlap with other cells.cell - Cell contentpublic AreaSpec areaSpec()
SubPanepublic void layout(Area area)
SubPaneArea is the 2D region which is available for the implementing class to place
itself. Placement (horizontal/vertical alignment) is done by the implementing class.layout in interface SubPanearea - Parent area which can be used by this pane. Layout is expected to be able to accordance
SubPane.areaSpec().