borland Packages  Class Hierarchy  jbcl.layout Package  Index 

BoxLayout2 component

java.lang.Object
   +----borland.jbcl.layout.BoxLayout2

About the BoxLayout2 component

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


BoxLayout2 constructors

BoxLayout2 properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

BoxLayout2 methods

Methods implemented in this class

Methods implemented in java.lang.Object


BoxLayout2 constructors

BoxLayout2()

  public BoxLayout2()
Constructs a BoxLayout2 component.

BoxLayout2(java.awt.Container, int)

  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.

BoxLayout2 properties

axis

 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.