| java.lang.Object com.javelin.swinglets.SLayoutManager com.javelin.swinglets.SGridLayout
SGridLayout | public class SGridLayout extends SLayoutManager (Code) | | SGridLayout is used to layout SComponents in a SContainer.
author: Robin Sharp |
Constructor Summary | |
public | SGridLayout() | public | SGridLayout(int rows, int columns) Construct a fully qualified SGridLayout, 2 columns, and n rows. | public | SGridLayout(int rows, int columns, int gap) Construct a fully qualified SGridLayout, 2 columns, and n rows. |
SGridLayout | public SGridLayout()(Code) | | Construct a fully qualified SGridLayout, 2 columns, and n rows
|
SGridLayout | public SGridLayout(int rows, int columns)(Code) | | Construct a fully qualified SGridLayout, 2 columns, and n rows.
Set the rows and columns to 0 to let the layout manager figure
out the correct number of rows or columns.
|
SGridLayout | public SGridLayout(int rows, int columns, int gap)(Code) | | Construct a fully qualified SGridLayout, 2 columns, and n rows.
Set the rows and columns to 0 to let the layout manager figure
out the correct number of rows or columns.
|
addComponent | public void addComponent(SComponent component, Object constraint)(Code) | | Adds a component and constraint to the manager. -- TO DO
|
getColumns | public int getColumns()(Code) | | Get the columns.
|
getGap | public int getGap()(Code) | | Get the gap.
|
getRows | public int getRows()(Code) | | Get the rows.
|
getUIClass | public Class getUIClass()(Code) | | Returns the name of the L&F class that renders this layout.
|
removeComponent | public void removeComponent(SComponent component)(Code) | | Remove a component.
|
setColumns | public void setColumns(int columns)(Code) | | Set the columns.
|
setGap | public void setGap(int gap)(Code) | | Set the gap.
|
setRows | public void setRows(int rows)(Code) | | Get the rows.
|
|
|