jazz.widget
Class VerticalFlowLayout

java.lang.Object
  |
  +--java.awt.FlowLayout
        |
        +--jazz.widget.VerticalFlowLayout
All Implemented Interfaces:
java.awt.LayoutManager, java.io.Serializable

public class VerticalFlowLayout
extends java.awt.FlowLayout

See Also:
Serialized Form

Field Summary
static int BOTTOM
           
static int MIDDLE
           
static int TOP
          Description of the Field
 
Fields inherited from class java.awt.FlowLayout
CENTER, LEADING, LEFT, RIGHT, TRAILING
 
Constructor Summary
VerticalFlowLayout()
          Construct a new VerticalFlowLayout with a middle alignemnt, and the fill to edge flag set.
VerticalFlowLayout(boolean hfill, boolean vfill)
          Construct a new VerticalFlowLayout with a middle alignemnt.
VerticalFlowLayout(int align)
          Construct a new VerticalFlowLayout with a middle alignemnt.
VerticalFlowLayout(int align, boolean hfill, boolean vfill)
          Construct a new VerticalFlowLayout.
VerticalFlowLayout(int align, int hgap, int vgap, boolean hfill, boolean vfill)
          Construct a new VerticalFlowLayout.
 
Method Summary
 int getHgap()
          Gets the horizontal gap between components.
 boolean getHorizontalFill()
          Gets the HorizontalFill attribute of the VerticalLayout object
 boolean getVerticalFill()
          Gets the VerticalFill attribute of the VerticalLayout object
 int getVgap()
          Gets the vertical gap between components.
 void layoutContainer(java.awt.Container target)
          Lays out the container.
 java.awt.Dimension minimumLayoutSize(java.awt.Container target)
          Returns the minimum size needed to layout the target container
 java.awt.Dimension preferredLayoutSize(java.awt.Container target)
          Returns the preferred dimensions given the components in the target container.
 void setHgap(int hgap)
          Sets the horizontal gap between components.
 void setHorizontalFill(boolean hfill)
          Sets the HorizontalFill attribute of the VerticalLayout object
 void setVerticalFill(boolean vfill)
          Sets the VerticalFill attribute of the VerticalLayout object
 void setVgap(int vgap)
          Sets the vertical gap between components.
 
Methods inherited from class java.awt.FlowLayout
addLayoutComponent, getAlignment, removeLayoutComponent, setAlignment, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TOP

public static final int TOP
Description of the Field

MIDDLE

public static final int MIDDLE

BOTTOM

public static final int BOTTOM
Constructor Detail

VerticalFlowLayout

public VerticalFlowLayout()
Construct a new VerticalFlowLayout with a middle alignemnt, and the fill to edge flag set.

VerticalFlowLayout

public VerticalFlowLayout(boolean hfill,
                          boolean vfill)
Construct a new VerticalFlowLayout with a middle alignemnt.
Parameters:
hfill - Description of Parameter
vfill - Description of Parameter

VerticalFlowLayout

public VerticalFlowLayout(int align)
Construct a new VerticalFlowLayout with a middle alignemnt.
Parameters:
align - the alignment value

VerticalFlowLayout

public VerticalFlowLayout(int align,
                          boolean hfill,
                          boolean vfill)
Construct a new VerticalFlowLayout.
Parameters:
align - the alignment value
hfill - Description of Parameter
vfill - Description of Parameter

VerticalFlowLayout

public VerticalFlowLayout(int align,
                          int hgap,
                          int vgap,
                          boolean hfill,
                          boolean vfill)
Construct a new VerticalFlowLayout.
Parameters:
align - the alignment value
hgap - the horizontal gap variable
vgap - the vertical gap variable
hfill - Description of Parameter
vfill - Description of Parameter
Method Detail

setHgap

public void setHgap(int hgap)
Sets the horizontal gap between components.
Overrides:
setHgap in class java.awt.FlowLayout
Parameters:
hgap - The new Hgap value

setVgap

public void setVgap(int vgap)
Sets the vertical gap between components.
Overrides:
setVgap in class java.awt.FlowLayout
Parameters:
vgap - The new Vgap value

setVerticalFill

public void setVerticalFill(boolean vfill)
Sets the VerticalFill attribute of the VerticalLayout object
Parameters:
vfill - The new VerticalFill value

setHorizontalFill

public void setHorizontalFill(boolean hfill)
Sets the HorizontalFill attribute of the VerticalLayout object
Parameters:
hfill - The new HorizontalFill value

getHgap

public int getHgap()
Gets the horizontal gap between components.
Overrides:
getHgap in class java.awt.FlowLayout

getVgap

public int getVgap()
Gets the vertical gap between components.
Overrides:
getVgap in class java.awt.FlowLayout

getVerticalFill

public boolean getVerticalFill()
Gets the VerticalFill attribute of the VerticalLayout object

getHorizontalFill

public boolean getHorizontalFill()
Gets the HorizontalFill attribute of the VerticalLayout object

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
Returns the preferred dimensions given the components in the target container.
Overrides:
preferredLayoutSize in class java.awt.FlowLayout
Parameters:
target - the component to lay out

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
Returns the minimum size needed to layout the target container
Overrides:
minimumLayoutSize in class java.awt.FlowLayout
Parameters:
target - the component to lay out

layoutContainer

public void layoutContainer(java.awt.Container target)
Lays out the container.
Overrides:
layoutContainer in class java.awt.FlowLayout
Parameters:
target - the container to lay out.