Home » jakarta-jmeter-2.3.4_src » org.apache.jorphan.gui.layout » [javadoc | source]
org.apache.jorphan.gui.layout
public class: VerticalLayout [javadoc | source]
java.lang.Object
   org.apache.jorphan.gui.layout.VerticalLayout

All Implemented Interfaces:
    LayoutManager, Serializable

A vertical layout manager similar to java.awt.FlowLayout. Like FlowLayout components do not expand to fill available space except when the horizontal alignment is BOTH in which case components are stretched horizontally. Unlike FlowLayout, components will not wrap to form another column if there isn't enough space vertically. VerticalLayout can optionally anchor components to the top or bottom of the display area or center them between the top and bottom. Revision date 04 April 1999
Field Summary
public static final  int CENTER    The horizontal alignment constant that designates centering. Also used to designate center anchoring. 
public static final  int RIGHT    The horizontal alignment constant that designates right justification. 
public static final  int LEFT    The horizontal alignment constant that designates left justification. 
public static final  int BOTH    The horizontal alignment constant that designates stretching the component horizontally. 
public static final  int TOP    The anchoring constant that designates anchoring to the top of the display area. 
public static final  int BOTTOM    The anchoring constant that designates anchoring to the bottom of the display area. 
Constructor:
 public VerticalLayout() 
 public VerticalLayout(int vgap) 
 public VerticalLayout(int vgap,
    int alignment) 
 public VerticalLayout(int vgap,
    int alignment,
    int anchor) 
Method from org.apache.jorphan.gui.layout.VerticalLayout Summary:
addLayoutComponent,   layoutContainer,   minimumLayoutSize,   preferredLayoutSize,   removeLayoutComponent,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jorphan.gui.layout.VerticalLayout Detail:
 public  void addLayoutComponent(String name,
    Component comp) 
    Not used by this class.
 public  void layoutContainer(Container parent) 
    Lays out the container.
 public Dimension minimumLayoutSize(Container parent) 
 public Dimension preferredLayoutSize(Container parent) 
 public  void removeLayoutComponent(Component comp) 
    Not used by this class.
 public String toString()