java.lang.Object
com.iamsoft.util.ui.javafx.ScrollBarUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectadjustHScroll(javafx.scene.control.Control pControl) static ObjectadjustScroll(javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar> pScrollBar) static ObjectadjustScroll(javafx.scene.control.Control pControl) static ObjectadjustVScroll(javafx.scene.control.Control pControl) static javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar>createHScrollBarProperty(javafx.scene.control.Control pControl) Creates a read-only property providing the horizontal scroll bar of the specified control.static javafx.beans.value.ObservableValue<javafx.scene.layout.Region>createNodeProperty(javafx.beans.value.ObservableValue<javafx.scene.control.ScrollBar> pScrollBar, String pSelector) Creates an observable value providing the thumb node of the specified scroll bar.static javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar>createScrollBarProperty(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation) Creates a read-only property providing the horizontal/vertical scroll bar of the specified table.static javafx.beans.property.ReadOnlyProperty<Double>createThumbLengthProperty(javafx.beans.value.ObservableValue<javafx.scene.control.ScrollBar> pScrollBar) Creates an observable value providing the thumb node of the specified scroll bar.static javafx.beans.property.ReadOnlyProperty<Double>createTrackLengthProperty(javafx.beans.value.ObservableValue<javafx.scene.control.ScrollBar> pScrollBar) Creates an observable value providing the track node of the specified scroll bar.static javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar>createVScrollBarProperty(javafx.scene.control.Control pControl) Creates a read-only property providing the vertical scroll bar of the specified control.static javafx.scene.control.ScrollBargetScrollBar(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation) static javafx.scene.control.ScrollBargetScrollBar(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation, String pSelector)
-
Method Details
-
createHScrollBarProperty
public static javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar> createHScrollBarProperty(javafx.scene.control.Control pControl) Creates a read-only property providing the horizontal scroll bar of the specified control. -
createVScrollBarProperty
public static javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar> createVScrollBarProperty(javafx.scene.control.Control pControl) Creates a read-only property providing the vertical scroll bar of the specified control. -
createScrollBarProperty
public static javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar> createScrollBarProperty(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation) Creates a read-only property providing the horizontal/vertical scroll bar of the specified table.- Parameters:
pOrientation- Specifies whether to return horizontal or vertical scroll bar property.
-
getScrollBar
public static javafx.scene.control.ScrollBar getScrollBar(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation) -
getScrollBar
public static javafx.scene.control.ScrollBar getScrollBar(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation, String pSelector) -
createNodeProperty
public static javafx.beans.value.ObservableValue<javafx.scene.layout.Region> createNodeProperty(javafx.beans.value.ObservableValue<javafx.scene.control.ScrollBar> pScrollBar, String pSelector) Creates an observable value providing the thumb node of the specified scroll bar. -
createThumbLengthProperty
public static javafx.beans.property.ReadOnlyProperty<Double> createThumbLengthProperty(javafx.beans.value.ObservableValue<javafx.scene.control.ScrollBar> pScrollBar) Creates an observable value providing the thumb node of the specified scroll bar. -
createTrackLengthProperty
public static javafx.beans.property.ReadOnlyProperty<Double> createTrackLengthProperty(javafx.beans.value.ObservableValue<javafx.scene.control.ScrollBar> pScrollBar) Creates an observable value providing the track node of the specified scroll bar. -
adjustHScroll
- Returns:
- Weak reference that mustn't be garbage collected.
-
adjustVScroll
- Returns:
- Weak reference that mustn't be garbage collected.
-
adjustScroll
- Returns:
- Weak reference that mustn't be garbage collected.
-
adjustScroll
public static Object adjustScroll(javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar> pScrollBar) - Returns:
- Weak reference that mustn't be garbage collected.
-