Class VirtualFlowUtil

java.lang.Object
com.dlsc.gemsfx.util.VirtualFlowUtil

public class VirtualFlowUtil extends Object
A utility class for binding two virtual flows to each other so that they perform vertical scrolling in sync.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    bindVirtualFlows(javafx.scene.control.Control control1, javafx.scene.control.Control control2)
    Bind the virtual flows found somewhere inside the two given controls to each other so that vertical scrolling will be performed in sync.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VirtualFlowUtil

      public VirtualFlowUtil()
  • Method Details

    • bindVirtualFlows

      public static void bindVirtualFlows(javafx.scene.control.Control control1, javafx.scene.control.Control control2)
      Bind the virtual flows found somewhere inside the two given controls to each other so that vertical scrolling will be performed in sync.
      Parameters:
      control1 - the first control
      control2 - the second control