Package dk.gtz.graphedit.util
Class HeightDragResizer
java.lang.Object
dk.gtz.graphedit.util.HeightDragResizer
javafx utility for adding vertical drag-to-resize functionality to a
Region
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
makeResizableDown
(javafx.scene.layout.Region region) Make the provided region height-resizable with a handle on the bottom of the regionstatic void
makeResizableUp
(javafx.scene.layout.Region region) Make the provided region height-resizable with a handle on the top of the 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
-