borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.layout
java.lang.Object +----borland.jbcl.layout.PaneLayout
Constructors Properties Methods
Implements LayoutManager, LayoutManager2
The PaneLayout class is designed for use with the SplitPanel component and has limited general use.
public PaneLayout()
public Rectangle getDividerBounds()Read-only property that returns the rectangle that the divider can be moved in. This method is specific to a SplitPanel.
public int getGap() public void setGap(int gap)Stores the gap size. The gap is the number of pixels that surrounds each component. The actual size of a divider is twice this number. The default is 0.
The SplitPanel uses this area to allow the user to change the relative sizes of the components by clicking and dragging on this area.
public void dragDivider(int x, int y)Moves the divider the amount specified. One paramter must be zero.
This method is specific to a SplitPanel.
public String[] getAddOrder(java.awt.Container parent)Returns an array of the components in an order that will work. This method is called by the UI Designer after components have been moved or deleted.
public PaneConstraints getConstraints(java.awt.Component comp)Returns the PaneConstraints for the specified component.
public Rectangle getDividerRect(int x, int y)Determines which divider contains the supplied point and returns that divider's rectangle.
This method is specific to a SplitPanel.
public void setConstraints(java.awt.Component child, borland.jbcl.layout.PaneConstraints constraints)Sets the PaneConstraints for the specified component. The components are not redrawn until layoutContainer is called.
public String toString()
Overrides: java.lang.Object.toString()