From 8189116ea4b5db4675e31dfd04a5687d55e29262 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 6 May 2014 14:29:37 +0100 Subject: Added javadocs, made minor changes to the comments --- doc/jcgp/gui/dragresize/HorizontalDragResize.html | 253 ++++++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 doc/jcgp/gui/dragresize/HorizontalDragResize.html (limited to 'doc/jcgp/gui/dragresize/HorizontalDragResize.html') diff --git a/doc/jcgp/gui/dragresize/HorizontalDragResize.html b/doc/jcgp/gui/dragresize/HorizontalDragResize.html new file mode 100644 index 0000000..4d47043 --- /dev/null +++ b/doc/jcgp/gui/dragresize/HorizontalDragResize.html @@ -0,0 +1,253 @@ + + + + + +HorizontalDragResize + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.gui.dragresize
+

Class HorizontalDragResize

+
+
+ +
+
    +
  • +
    +
    +
    public class HorizontalDragResize
    +extends java.lang.Object
    +
    This class adds horizontal drag resize functionality to any + arbitrary region provided. This is done by using the static + method makeDragResizable(). +

    + This is based on a class by Andrew Till found on: + http://andrewtill.blogspot.co.uk/2012/12/dragging-to-resize-javafx-region.html
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmakeDragResizable(javafx.scene.layout.Region region) +
      Makes the specified region drag resizable.
      +
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        makeDragResizable

        +
        public static void makeDragResizable(javafx.scene.layout.Region region)
        +
        Makes the specified region drag resizable. + This particular implementation only creates a resize + click-and-drag area on the left side of the region. + The resize area is defined by GUI.RESIZE_MARGIN.
        +
        +
        Parameters:
        +
        region - the region to make resizable.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3