borland Packages Class Hierarchy jbcl.layout Package Index
java.lang.Object +----borland.jbcl.layout.PaneConstraints
Variables Constructors Properties Methods
Implements Serializable
The constraint object for adding a component to a container using PaneLayout. Each component specifies a PaneConstraints object that tells the layout manager from which component to take space, and how much of its existing space to take. You use the PaneLayout constraints property editor to modify this information for each component.
For more detailed information on using PaneLayout and the PaneConstraints object, see the topics PaneLayout in the online Building Applications with JBuilder and PaneLayout constraints property editor in the online F1 Help topics.
public static final String BOTTOM = "Bottom"
public static final String LEFT = "Left"
public String name
public String position
public float proportionMust be between 0 and 1.
public static final String RIGHT = "Right"
public static final String ROOT = "Root"
public String splitComponentName
public static final String TOP = "Top"
public PaneConstraints()Constructs a PaneConstraints object.
public PaneConstraints(java.lang.String name, java.lang.String splitComponentName, java.lang.String position, float proportion)Constructs a PaneConstraints object according to the following parameters:
Parameters:
public String toString()Returns a string that displays the constant values:
name + ": " + splitComponentName + "," + position + "proportion:" + proportionwhere:
Overrides: java.lang.Object.toString()