java.lang.Object
javafx.scene.layout.ConstraintsBase
- Direct Known Subclasses:
- ColumnConstraints,- RowConstraints
public abstract class ConstraintsBase extends Object
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 SummaryFields Modifier and Type Field Description static doubleCONSTRAIN_TO_PREFIf set as max value indicates that the pref value should be used as the max.
- 
Method SummaryModifier and Type Method Description protected voidrequestLayout()Calls requestLayout on layout parent associated with this constraint object.
- 
Field Details- 
CONSTRAIN_TO_PREFpublic static final double CONSTRAIN_TO_PREFIf 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.- See Also:
- Constant Field Values
 
 
- 
- 
Method Details- 
requestLayoutprotected void requestLayout()Calls requestLayout on layout parent associated with this constraint object.
 
-