borland Packages Class Hierarchy jbcl.layout Package Index
java.lang.Object +----borland.jbcl.layout.BoxLayout2
Constructors Properties Methods
Implements LayoutManager, LayoutManager2, Serializable
The BoxLayout2 component is a bean wrapper class for com.sun.java.swing.BoxLayout. This component simply makes the swing.BoxLayout class into a component so that you can use access it using the JBuilder design tools.
For more information on the BoxLayout, see java.swing.BoxLayout and java.swing.Box
public BoxLayout2()Constructs a BoxLayout2 component.
public BoxLayout2(java.awt.Container parent, int axis)Constructs a BoxLayout2 component by calling the com.sun.java.swing.BoxLayout constructor that takes a container and axis values as parameters.
public int getAxis() public void setAxis(int axis)Stores whether the major axis is the X or Y axis. Valid values of X_AXIS or Y_AXIS are defined in java.swing.BoxLayout.