jbcl.layout Package
java.lang.Object +----com.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 access and use it in the JBuilder design tools.
For more information on the BoxLayout
, see
javax.swing.BoxLayout and
java.swing.Box
public BoxLayout2()Constructs a
BoxLayout2
component.
public BoxLayout2(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
.