| |
|
| java.lang.Object org.wings.SAbstractLayoutManager org.wings.SGridLayout
border | protected int border(Code) | | |
hgap | protected int hgap(Code) | | The horizontal gap (in pixels) specifiying the space
between columns. They can be changed at any time.
This should be a non-negative integer.
|
renderFirstLineAsHeader | protected boolean renderFirstLineAsHeader(Code) | | |
vgap | protected int vgap(Code) | | The vertical gap (in pixels) which specifiying the space
between rows. They can be changed at any time.
This should be a non negative integer.
|
SGridLayout | public SGridLayout()(Code) | | creates a new grid layout with 1 row and 1 column extent
|
SGridLayout | public SGridLayout(int cols)(Code) | | creats a new grid layout with the given number of columns
Parameters: cols - number of columns |
SGridLayout | public SGridLayout(int rows, int cols)(Code) | | creats a new grid layout with the given number of columns and rows
Parameters: rows - number of rows Parameters: cols - number of columns |
SGridLayout | public SGridLayout(int rows, int cols, int hgap, int vgap)(Code) | | creats a new grid layout with the given number of columns and rows and the given gaps
Parameters: rows - number of rows Parameters: cols - number of columns Parameters: hgap - horizontal gap Parameters: vgap - vertical gap |
getBorder | public int getBorder()(Code) | | Typical PLAFs will render this layout as invisible table (border = 0). Use this property to make it visible
The rendered border with in pixel |
getColumns | public int getColumns()(Code) | | returns the number of columns
number of columns |
getComponents | public List getComponents()(Code) | | returns a list of all components
all components |
getHgap | public int getHgap()(Code) | | Gets the horizontal gap between components in pixel. Rendered half as margin left and margin right
Some PLAFs might ignore this property.
the horizontal gap between components |
getRows | public int getRows()(Code) | | returns the number of rows
number of rows |
getVgap | public int getVgap()(Code) | | Gets the vertical gap between components in pixel. Rendered half as margin top and margin bottom
Some PLAFs might ignore this property.
the vertical gap between components |
setBorder | public void setBorder(int borderWidth)(Code) | | Typical PLAFs will render this layout as invisible table (border = 0). Use this property to make it visible
Parameters: borderWidth - The rendered border with in pixel |
setColumns | public void setColumns(int c)(Code) | | sets the number of columns
Parameters: c - number of columns |
setHgap | public void setHgap(int hgap)(Code) | | Sets the horizontal gap between components to the specified value in pixe. Rendered half as margin left and margin right
Some PLAFs might ignore this property.
Parameters: hgap - the horizontal gap between components |
setRenderFirstLineAsHeader | public void setRenderFirstLineAsHeader(boolean renderAsTH)(Code) | | Renders the first line as HTML <th> instead regular <tr> .
Parameters: renderAsTH - true if first line should be rendered as header |
setRows | public void setRows(int r)(Code) | | sets the number of rows
Parameters: r - number of rows |
setVgap | public void setVgap(int vgap)(Code) | | Sets the vertical gap between components to the specified value in pixel.
Rendered half as margin top and margin bottom. Some PLAFs might ignore this property.
Parameters: vgap - the vertical gap between components |
|
|
|