Class ScrollBarUtil

java.lang.Object
com.iamsoft.util.ui.javafx.ScrollBarUtil

public final class ScrollBarUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static Object
    adjustHScroll(javafx.scene.control.Control pControl)
     
    static Object
    adjustScroll(javafx.beans.property.ReadOnlyProperty<javafx.scene.control.ScrollBar> pScrollBar)
     
    static Object
    adjustScroll(javafx.scene.control.Control pControl)
     
    static Object
    adjustVScroll(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.ScrollBar
    getScrollBar(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation)
     
    static javafx.scene.control.ScrollBar
    getScrollBar(javafx.scene.control.Control pControl, javafx.geometry.Orientation pOrientation, String pSelector)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public static Object adjustHScroll(javafx.scene.control.Control pControl)
      Returns:
      Weak reference that mustn't be garbage collected.
    • adjustVScroll

      public static Object adjustVScroll(javafx.scene.control.Control pControl)
      Returns:
      Weak reference that mustn't be garbage collected.
    • adjustScroll

      public static Object adjustScroll(javafx.scene.control.Control pControl)
      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.