public class GridPanel extends Panel
| Constructor and Description |
|---|
GridPanel()
Initializes a new instance of the
GridPanel class. |
| Modifier and Type | Method and Description |
|---|---|
void |
arrange(double x,
double y,
double w,
double h,
RenderContext context)
Component.arrange override.
|
java.util.List<GridColumn> |
getColumns()
Gets a list of
GridColumn objects specifying column attributes. |
java.util.List<GridRow> |
getRows()
Gets a list of
GridRow objects specifying row attributes. |
void |
measure(double maxWidth,
double maxHeight,
RenderContext context)
Measures the desired size of this component.
|
void |
setColumns(java.util.List<GridColumn> value)
Sets a list of
GridColumn objects specifying column attributes. |
void |
setRows(java.util.List<GridRow> value)
Sets a list of
GridRow objects specifying row attributes. |
associateJComponent, draw, getChildren, getParentControl, hitTest, invalidate, invalidateLayout, setChildren, setParentControl, visitadd, createController, dissociateJComponent, effectiveMeasuredHeight, effectiveMeasuredWidth, getActualHeight, getActualWidth, getDesiredHeight, getDesiredWidth, getGridColumn, getGridRow, getHeight, getHitTestVisibility, getHorizontalAlignment, getMargin, getParent, getRectInParent, getToolTip, getVerticalAlignment, getVisibility, getWidth, getXInParent, getYInParent, invalidate, invalidate, invalidateLayout, localToRoot, rootToLocal, setActualHeight, setActualWidth, setDesiredHeight, setDesiredWidth, setGridColumn, setGridRow, setHeight, setHitTestVisibility, setHorizontalAlignment, setMargin, setParent, setToolTip, setVerticalAlignment, setVisibility, setWidth, setXInParent, setYInParentpublic GridPanel()
GridPanel class.public java.util.List<GridRow> getRows()
GridRow objects specifying row attributes.public void setRows(java.util.List<GridRow> value)
GridRow objects specifying row attributes.public java.util.List<GridColumn> getColumns()
GridColumn objects specifying column attributes.public void setColumns(java.util.List<GridColumn> value)
GridColumn objects specifying column attributes.public void measure(double maxWidth,
double maxHeight,
RenderContext context)
measure in class PanelmaxWidth - The maximum width provided by parent component.maxHeight - The maximum height provided by parent component.context - A RenderContext instance.public void arrange(double x,
double y,
double w,
double h,
RenderContext context)