| java.lang.Object org.eclipse.ui.internal.layout.GridInfo
GridInfo | class GridInfo (Code) | | Computes and the positions of controls in a CellLayout, based on their span.
|
Method Summary | |
public CellData | getCellData(int controlId) | public int | getCols() | public int | getNumRows(boolean isRow) Returns the number of rows or columns
Parameters: isRow - if true, returns the number of rows. | public void | getRow(int[] result, int rowId, boolean horizontal) | public int | getRows() | public int | getStartPos(int control, boolean row) | public void | initGrid(Control[] newControls, CellLayout layout) |
controlCol | int[] controlCol(Code) | | |
controlRow | int[] controlRow(Code) | | |
controls | Control[] controls(Code) | | |
getCols | public int getCols()(Code) | | |
getNumRows | public int getNumRows(boolean isRow)(Code) | | Returns the number of rows or columns
Parameters: isRow - if true, returns the number of rows. If false, returns the number of columns |
getRow | public void getRow(int[] result, int rowId, boolean horizontal)(Code) | | |
getRows | public int getRows()(Code) | | |
getStartPos | public int getStartPos(int control, boolean row)(Code) | | |
initGrid | public void initGrid(Control[] newControls, CellLayout layout)(Code) | | Initialize the grid
Parameters: newControls - Parameters: cols - |
|
|