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 LayoutManager2
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.


Variable Index

 o FULL_HEIGHT
 o FULL_WIDTH
 o NORMAL

Constructor Index

 o CornerLayout()
Constructs a new CornerLayout.
 o CornerLayout(int)
 o CornerLayout(int, int)
 o CornerLayout(int, int, int)

Method Index

 o addLayoutComponent(Component, Object)
 o addLayoutComponent(String, Component)
 o getLayoutAlignmentX(Container)
 o getLayoutAlignmentY(Container)
 o invalidateLayout(Container)
 o layoutContainer(Container)
 o maximumLayoutSize(Container)
 o minimumLayoutSize(Container)
 o preferredLayoutSize(Container)
 o removeLayoutComponent(Component)
 o toString()

Variables

 o NORMAL
 public static final int NORMAL
 o FULL_WIDTH
 public static final int FULL_WIDTH
 o FULL_HEIGHT
 public static final int FULL_HEIGHT

Constructors

 o CornerLayout
 public CornerLayout()
Constructs a new CornerLayout.

 o CornerLayout
 public CornerLayout(int mode)
 o CornerLayout
 public CornerLayout(int hgap,
                     int vgap)
 o CornerLayout
 public CornerLayout(int hgap,
                     int vgap,
                     int mode)

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
 o addLayoutComponent
 public void addLayoutComponent(Component comp,
                                Object constraints)
 o maximumLayoutSize
 public Dimension maximumLayoutSize(Container target)
 o getLayoutAlignmentX
 public float getLayoutAlignmentX(Container parent)
 o getLayoutAlignmentY
 public float getLayoutAlignmentY(Container parent)
 o invalidateLayout
 public void invalidateLayout(Container target)

All Packages  Class Hierarchy  This Package  Previous  Next  Index