- java.lang.Object
-
- javafx.scene.control.SplitPane.Divider
-
-
Property Summary
Properties Type Property Description DoubleProperty
position
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).
-
Constructor Summary
Constructors Constructor Description Divider()
Creates a default Divider instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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). 0.0 represents the left- or top-most point, and 1.0 represents the right- or bottom-most point (depending on the horizontal property).void
setPosition(double value)
Sets the value of the property position.
-
-
-
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)
-
-
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)
-
-