Interface TethysUIGridPaneManager
- All Superinterfaces:
TethysUIComponent
- All Known Implementing Classes:
TethysUICoreGridPaneManager
Grid Pane Manager.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCell(TethysUIComponent pNode) Add cell at current column and increment column #.voidaddCell(TethysUIComponent pNode, int pNumCols) Add cell that spans a number of columns at current column and adjust column #.voidaddCellAtPosition(TethysUIComponent pNode, int pRow, int pColumn) Add cell at position.voidaddNode(TethysUIComponent pNode) Add simple Node.voidallowCellGrowth(TethysUIComponent pNode) Allow Cell as growth.getHGap()Obtain the Horizontal Grid Gap.getVGap()Obtain the Vertical Grid Gap.voidnewRow()Adjust to next row.voidsetCellAlignment(TethysUIComponent pNode, TethysUIAlignment pAlign) Set cell alignment.voidsetCellColumnSpan(TethysUIComponent pNode, int pNumCols) Set cell column span.voidsetFinalCell(TethysUIComponent pNode) Set final cell.voidSet the Horizontal Grid Gap.voidSet the Vertical Grid Gap.Methods inherited from interface io.github.tonywasher.joceanus.tethys.api.base.TethysUIComponent
getBorderPadding, getBorderTitle, getId, getNode, getUnderlying, setBorderPadding, setBorderTitle, setEnabled, setPreferredHeight, setPreferredWidth, setVisible
-
Method Details
-
getHGap
Integer getHGap()Obtain the Horizontal Grid Gap.- Returns:
- the GridGap.
-
getVGap
Integer getVGap()Obtain the Vertical Grid Gap.- Returns:
- the GridGap.
-
setHGap
Set the Horizontal Grid Gap.- Parameters:
pGap- the GridGap.
-
setVGap
Set the Vertical Grid Gap.- Parameters:
pGap- the GridGap.
-
newRow
void newRow()Adjust to next row. -
addCell
Add cell at current column and increment column #.- Parameters:
pNode- the node to add
-
addCell
Add cell that spans a number of columns at current column and adjust column #.- Parameters:
pNode- the node to addpNumCols- the number of columns to span
-
addCellAtPosition
Add cell at position.- Parameters:
pNode- the node to addpRow- the row to add the cell atpColumn- the column to add the cell at
-
setCellColumnSpan
Set cell column span.- Parameters:
pNode- the node to set column span onpNumCols- the number of columns to span
-
setFinalCell
Set final cell.- Parameters:
pNode- the node to set as final cell in row
-
allowCellGrowth
Allow Cell as growth.- Parameters:
pNode- the node to allow growth on
-
setCellAlignment
Set cell alignment.- Parameters:
pNode- the node to alignpAlign- the cell alignment
-
addNode
Add simple Node.- Parameters:
pNode- the node to add
-