Class DragDrop.DragHandle

    • Constructor Detail

      • DragHandle

        public DragHandle()
    • Method Detail

      • getClassName

        public String getClassName()
        Returns the class name of the drag handles.

        Default: "highcharts-drag-handle"

      • setClassName

        public void setClassName​(String className)
        Sets the class name of the drag handles.
      • getColor

        public Color getColor()
        Returns the fill color of the drag handles.

        Default: "#fff"

      • setColor

        public void setColor​(Color color)
        Sets the fill color of the drag handles.
      • setColor

        public void setColor​(String color)
        Sets the fill color of the drag handles.
      • getCursor

        public String getCursor()
        Returns the mouse cursor to use for the drag handles. By default this is intelligently switching between ew-resize and ns-resize depending on the direction the point is being dragged.

        Default: null

      • setCursor

        public void setCursor​(String cursor)
        Sets the mouse cursor to use for the drag handles. By default this is intelligently switching between ew-resize and ns-resize depending on the direction the point is being dragged.
      • getLineColor

        public Color getLineColor()
        Returns the line color of the drag handles.

        Default: "rgba(0, 0, 0, 0.6)"

      • setLineColor

        public void setLineColor​(Color color)
        Sets the line color of the drag handles.
      • setLineColor

        public void setLineColor​(String color)
        Sets the line color of the drag handles.
      • getLineWidth

        public Number getLineWidth()
        Returns the line width for the drag handles.

        Default: 1.

      • setLineWidth

        public void setLineWidth​(Number lineWidth)
        Sets the line width for the drag handles.
      • getPathFormatter

        public org.zkoss.json.JavaScriptValue getPathFormatter()
        Returns the function to define the SVG path to use for the drag handles. Takes the point as argument. Should return an SVG path in array format. The SVG path is automatically positioned on the point.

        Default: null

      • setPathFormatter

        public void setPathFormatter​(org.zkoss.json.JavaScriptValue pathFormatter)
        Sets the function to define the SVG path to use for the drag handles. Takes the point as argument. Should return an SVG path in array format. The SVG path is automatically positioned on the point.
      • getZIndex

        public int getZIndex()
        Returns the z index for the drag handles.

        Default: 901

      • setZIndex

        public void setZIndex​(int zIndex)
        Sets the z index for the drag handles.