All Packages Class Hierarchy This Package Previous Next Index
Class cynosurex.awt.TicTacToeLayout
java.lang.Object
|
+----cynosurex.awt.TicTacToeLayout
- public class TicTacToeLayout
- extends Object
- implements CommonInterface, LayoutManager
TicTacToeLayout will layout a container using members named
"Northwest", "North", "Northeast",
"West", "Center", "East",
"Southwest", "South", "Southeast".
The "Northeast", "Northwest", "Southeast" and "Southwest" components
get sized relative to the adjacent corner's components and
the constraints of the container's size.
-
TicTacToeLayout()
- Constructs a new layout.
-
TicTacToeLayout(int, int)
- Constructs a new TicTacToeLayout with specified gaps.
-
addLayoutComponent(String, Component)
-
-
layoutContainer(Container)
-
-
minimumLayoutSize(Container)
-
-
preferredLayoutSize(Container)
-
-
removeLayoutComponent(Component)
-
-
toString()
-
TicTacToeLayout
public TicTacToeLayout()
- Constructs a new layout.
TicTacToeLayout
public TicTacToeLayout(int hgap,
int vgap)
- Constructs a new TicTacToeLayout with specified gaps.
- Parameters:
- hgap - horizontal gap
- vgap - vertical gap
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
removeLayoutComponent
public void removeLayoutComponent(Component comp)
minimumLayoutSize
public Dimension minimumLayoutSize(Container target)
preferredLayoutSize
public Dimension preferredLayoutSize(Container target)
layoutContainer
public void layoutContainer(Container target)
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index