Class HeightDragResizer

java.lang.Object
dk.gtz.graphedit.util.HeightDragResizer

public class HeightDragResizer extends Object
javafx utility for adding vertical drag-to-resize functionality to a Region
  • Method Details

    • makeResizableDown

      public static void makeResizableDown(javafx.scene.layout.Region region)
      Make the provided region height-resizable with a handle on the bottom of the region
      Parameters:
      region - the region to add the handle to
    • makeResizableUp

      public static void makeResizableUp(javafx.scene.layout.Region region)
      Make the provided region height-resizable with a handle on the top of the region
      Parameters:
      region - the region to add the handle to