Class DragResizer

java.lang.Object
pamViewFX.fxNodes.internalNode.DragResizer

public class DragResizer extends Object
DragResizer can be used to add mouse listeners to a Region and make it resizable by the user by clicking and dragging the border in the same way as a window.

Only height resizing is currently implemented. Usage:

DragResizer.makeResizable(myAnchorPane);
Author:
atill - (https://gist.github.com/andytill/4369729 10/03/2015)
  • Method Details

    • makeResizable

      public static void makeResizable(javafx.scene.layout.Region region)