APIdia Launch Partner
Top Description Fields Constructors Methods
javafx.scene.layout

public abstract Class ConstraintsBase

extends Object
Class Inheritance
Known Direct Subclasses
javafx.scene.layout.RowConstraints, javafx.scene.layout.ColumnConstraints
Imports
java.util.Iterator, javafx.scene.Parent, com.sun.javafx.util.WeakReferenceQueue

The base class for defining node-specific layout constraints. Region classes may create extensions of this class if they need to define their own set of layout constraints.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final double
CONSTRAIN_TO_PREF

If set as max value indicates that the pref value should be used as the max.

private WeakReferenceQueue<E>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv void
add(Parent node)

pack-priv void
remove(Parent node)

protected void
requestLayout()

Calls requestLayout on layout parent associated with this constraint object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CONSTRAIN_TO_PREFback to summary
public static final double CONSTRAIN_TO_PREF

If set as max value indicates that the pref value should be used as the max. This allows an application to constrain a resizable node's size, which normally has an unlimited max value, to its preferred size.

nodesback to summary
private WeakReferenceQueue<E> nodes

Constructor Detail

ConstraintsBaseback to summary
pack-priv ConstraintsBase()

Method Detail

addback to summary
pack-priv void add(Parent node)
removeback to summary
pack-priv void remove(Parent node)
requestLayoutback to summary
protected void requestLayout()

Calls requestLayout on layout parent associated with this constraint object.