Spec-Zone.ru › OpenJavaFX 8
javafx.scene.control

Class SplitPane.Divider

java.lang.Object
  • javafx.scene.control.SplitPane.Divider

Enclosing class:

SplitPane



public static class SplitPane.Divider
extends Object
Represents a single divider in the SplitPane.

Since:

JavaFX 2.0

  • Property Summary

    All MethodsInstance MethodsConcrete Methods
    Type Property and Description
    DoubleProperty position
    Represents the location where the divider should ideally be positioned, between 0.0 and 1.0 (inclusive).
  • Constructor Summary

    Constructors
    Constructor and Description
    Divider()
    Creates a default Divider instance.
  • Method Summary

    All MethodsInstance MethodsConcrete Methods
    Modifier and Type Method and Description
    double getPosition()
    Gets the value of the property position.
    DoubleProperty positionProperty()
    Represents the location where the divider should ideally be positioned, between 0.0 and 1.0 (inclusive).
    void setPosition(double value)
    Sets the value of the property position.
    • Methods inherited from class java.lang.Object

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

    • position

      public final DoubleProperty positionProperty

      Represents the location where the divider should ideally be positioned, between 0.0 and 1.0 (inclusive). 0.0 represents the left- or top-most point, and 1.0 represents the right- or bottom-most point (depending on the horizontal property). The SplitPane will attempt to get the divider to the point requested, but it must take into account the minimum width/height of the nodes contained within it.

      As the user drags the SplitPane divider around this property will be updated to always represent its current location.

      Default value:

      0.5

      See Also:

      getPosition(), setPosition(double)

  • Constructor Detail

    • Divider

      public Divider()
      Creates a default Divider instance.
  • Method Detail

    • setPosition

      public final void setPosition(double value)
      Sets the value of the property position.

      Property description:

      Represents the location where the divider should ideally be positioned, between 0.0 and 1.0 (inclusive). 0.0 represents the left- or top-most point, and 1.0 represents the right- or bottom-most point (depending on the horizontal property). The SplitPane will attempt to get the divider to the point requested, but it must take into account the minimum width/height of the nodes contained within it.

      As the user drags the SplitPane divider around this property will be updated to always represent its current location.

      Default value:

      0.5

    • getPosition

      public final double getPosition()
      Gets the value of the property position.

      Property description:

      Represents the location where the divider should ideally be positioned, between 0.0 and 1.0 (inclusive). 0.0 represents the left- or top-most point, and 1.0 represents the right- or bottom-most point (depending on the horizontal property). The SplitPane will attempt to get the divider to the point requested, but it must take into account the minimum width/height of the nodes contained within it.

      As the user drags the SplitPane divider around this property will be updated to always represent its current location.

      Default value:

      0.5

    • positionProperty

      public final DoubleProperty positionProperty()

      Represents the location where the divider should ideally be positioned, between 0.0 and 1.0 (inclusive). 0.0 represents the left- or top-most point, and 1.0 represents the right- or bottom-most point (depending on the horizontal property). The SplitPane will attempt to get the divider to the point requested, but it must take into account the minimum width/height of the nodes contained within it.

      As the user drags the SplitPane divider around this property will be updated to always represent its current location.

      Default value:

      0.5

      See Also:

      getPosition(), setPosition(double)

© 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