borland Packages  Class Hierarchy  dbswing Package 

ToolBarLayout component

java.lang.Object
   +----java.awt.FlowLayout
           +----com.borland.dbswing.ToolBarLayout

About the ToolBarLayout component

Variables  Constructors  Properties  Methods  

Implements LayoutManager, Serializable

Note: This is a feature of JBuilder Professional and Enterprise.

ToolBarLayout is a hybrid layout manager that combines the behaviors of the AWT FlowLayout and GridLayout layout managers. When the managed container is made smaller (either vertically or horizontally) than the total preferred size of all its subcomponents, the manager switches from FlowLayout to GridLayout behavior, reducing the size of each subcomponent proportionally.

Unlike GridLayout, ToolBarLayout takes into account the visibility state of each component, removing non-visible components from the layout.

ToolBarLayout is used by JdbNavToolBar as its default layout manager.


ToolBarLayout variables

Variables implemented in java.awt.FlowLayout

ToolBarLayout constructors

ToolBarLayout properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.awt.FlowLayout

Properties implemented in java.lang.Object

ToolBarLayout methods

Methods implemented in this class

Methods implemented in java.awt.FlowLayout

Methods implemented in java.lang.Object


ToolBarLayout constructors

ToolBarLayout()

  public ToolBarLayout()
Creates a ToolBarLayout with horizontal orientation.

ToolBarLayout(int)

  public ToolBarLayout(int orientation)
Constructs a ToolBarLayout component with the specified orientation.

Parameters:

orientation
The orientation. Valid values are HORIZONTAL or VERTICAL.

ToolBarLayout properties

orientation

 public void setOrientation(int orientation)
Sets the orientation. Possible values are HORIZONTAL and VERTICAL.