jbcl.layout Package
java.lang.Object +----com.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 PaneLayout topic
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(String name, String splitComponentName, String position, float proportion)Constructs a
PaneConstraints
object according to the following parameters:
Parameters:
name
splitComponentName
position
proportion
public String toString()Returns a string that displays the constant values:
name + ": " + splitComponentName + "," + position + "proportion:" + proportionwhere:
name
splitComponentName
position
proportion
Overrides: java.lang.Object.toString()