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.


Constructor Index

 o TicTacToeLayout()
Constructs a new layout.
 o TicTacToeLayout(int, int)
Constructs a new TicTacToeLayout with specified gaps.

Method Index

 o addLayoutComponent(String, Component)
 o layoutContainer(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)
 o toString()

Constructors

 o TicTacToeLayout
 public TicTacToeLayout()
Constructs a new layout.

 o TicTacToeLayout
 public TicTacToeLayout(int hgap,
                        int vgap)
Constructs a new TicTacToeLayout with specified gaps.

Parameters:
hgap - horizontal gap
vgap - vertical gap

Methods

 o addLayoutComponent
 public void addLayoutComponent(String name,
                                Component comp)
 o removeLayoutComponent
 public void removeLayoutComponent(Component comp)
 o minimumLayoutSize
 public Dimension minimumLayoutSize(Container target)
 o preferredLayoutSize
 public Dimension preferredLayoutSize(Container target)
 o layoutContainer
 public void layoutContainer(Container target)
 o toString
 public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index