swingwtx.custom.layout
Class TableLayout
java.lang.Object
swingwtx.custom.layout.TableLayout
- All Implemented Interfaces:
- LayoutManager, java.io.Serializable
- public class TableLayout
- extends java.lang.Object
- implements LayoutManager, java.io.Serializable
Well here's a shocker - I didn't expect to be implementing
an SWT layout in AWT!
- See Also:
- Serialized Form
|
Constructor Summary |
TableLayout()
|
TableLayout(int rows,
int cols)
|
TableLayout(int rows,
int cols,
boolean leftToRight)
|
TableLayout(int rows,
int cols,
int hgap,
int vgap)
|
TableLayout(int rows,
int cols,
int hgap,
int vgap,
boolean leftToRight)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableLayout
public TableLayout()
TableLayout
public TableLayout(int rows,
int cols)
TableLayout
public TableLayout(int rows,
int cols,
boolean leftToRight)
TableLayout
public TableLayout(int rows,
int cols,
int hgap,
int vgap)
TableLayout
public TableLayout(int rows,
int cols,
int hgap,
int vgap,
boolean leftToRight)
getRows
public int getRows()
setRows
public void setRows(int rows)
getColumns
public int getColumns()
setColumns
public void setColumns(int cols)
getHgap
public int getHgap()
setHgap
public void setHgap(int hgap)
getVgap
public int getVgap()
setVgap
public void setVgap(int vgap)
addLayoutComponent
public void addLayoutComponent(java.lang.String name,
Component comp)
- Specified by:
addLayoutComponent in interface LayoutManager
removeLayoutComponent
public void removeLayoutComponent(Component comp)
- Specified by:
removeLayoutComponent in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize in interface LayoutManager
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer in interface LayoutManager