All Packages Class Hierarchy This Package Previous Next Index
Class cynosurex.awt.CornerLayout
java.lang.Object
|
+----cynosurex.awt.CornerLayout
- public class CornerLayout
- extends Object
- implements LayoutManager
CornerLayout will layout a container
using members named "Northeast", "Northwest", "Southeast",
"Southwest", and "Center".
The "Northeast", "Northwest", "Southeast" and "Southwest" components
get sized relative to the adjacent corner's components and
the constraints of the container's size. The "Center" component will
get any space left over.
-
FULL_HEIGHT
-
-
FULL_WIDTH
-
-
NORMAL
-
-
CornerLayout()
- Constructs a new CornerLayout.
-
CornerLayout(int)
-
-
CornerLayout(int, int)
-
-
CornerLayout(int, int, int)
-
-
addLayoutComponent(String, Component)
-
-
layoutContainer(Container)
-
-
minimumLayoutSize(Container)
-
-
preferredLayoutSize(Container)
-
-
removeLayoutComponent(Component)
-
-
toString()
-
NORMAL
public static final int NORMAL
FULL_WIDTH
public static final int FULL_WIDTH
FULL_HEIGHT
public static final int FULL_HEIGHT
CornerLayout
public CornerLayout()
- Constructs a new CornerLayout.
CornerLayout
public CornerLayout(int mode)
CornerLayout
public CornerLayout(int hgap,
int vgap)
CornerLayout
public CornerLayout(int hgap,
int vgap,
int mode)
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