Spec-Zone.ru › OpenJavaFX 11
Module javafx.graphics
Package javafx.scene.layout

Class ConstraintsBase

  • 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 Summary

    Fields
    Modifier and Type Field Description
    static double CONSTRAIN_TO_PREF
    If set as max value indicates that the pref value should be used as the max.
  • Method Summary

    All MethodsInstance MethodsConcrete Methods
    Modifier and Type Method Description
    protected void requestLayout()
    Calls requestLayout on layout parent associated with this constraint object.
    • Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Detail

    • CONSTRAIN_TO_PREF

      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.
      See Also:
      Constant Field Values
  • Method Detail

    • requestLayout

      protected void requestLayout()
      Calls requestLayout on layout parent associated with this constraint object.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API