Package com.iizigo.panel.prop
Class EGridLayout.Grid
java.lang.Object
com.iizigo.panel.prop.EGridLayout.Grid
- Enclosing class:
- EGridLayout
The grid class.
Field Summary
FieldsMethod Summary
Modifier and TypeMethodDescriptionvoidClears grid cells.voidMake sure grid is filled with empty cells at all "zero-locations".voiddeleteColumn(ComplexOperation op, int column) Deletes a column.voiddeleteRow(ComplexOperation op, int row) Deletes a row.intGets the column of a component.intGets the row of a component.voidinsertColumn(ComplexOperation op, int col) Insert column.voidinsertRow(ComplexOperation op, int row) Insert row.voidlist(PrintStream stream) Lists the grid.booleanshrinkExtendInsert(boolean doit, ComplexOperation op, PanelEditor.GridInfo gi, int dx, int dy) Extends or shrinks grid cells spans in insert mode.booleanshrinkExtendOverwrite(boolean doit, ComplexOperation op, PanelEditor.GridInfo gi, int dx, int dy) Expands or collapses grid cells spans in overwrite mode.
Field Details
columnCount
public int columnCountThe column count.grid
The grid.
Method Details
consolidateGrid
Make sure grid is filled with empty cells at all "zero-locations".getRow
Gets the row of a component.- Returns:
- -1 if not found.
getColumn
Gets the column of a component.- Returns:
- -1 if not found.
deleteColumn
Deletes a column.deleteRow
Deletes a row.insertRow
Insert row.insertColumn
Insert column.clearCells
Clears grid cells.shrinkExtendOverwrite
public boolean shrinkExtendOverwrite(boolean doit, ComplexOperation op, PanelEditor.GridInfo gi, int dx, int dy) Expands or collapses grid cells spans in overwrite mode.shrinkExtendInsert
public boolean shrinkExtendInsert(boolean doit, ComplexOperation op, PanelEditor.GridInfo gi, int dx, int dy) Extends or shrinks grid cells spans in insert mode.list
Lists the grid.