com.vaadin.flow.component.charts.model.

Class DragHandle

All Implemented Interfaces:

Serializable

public class DragHandle extends AbstractConfigurationObject

See Also:

  • Constructor Details

    • DragHandle

      public DragHandle()
  • Method Details

    • getClassName

      public String getClassName()

      See Also:

    • setClassName

      public void setClassName(String className)

      The class name of the drag handles. Defaults to highcharts-drag-handle. Defaults to highcharts-drag-handle.

      Parameters:

      className -

    • getColor

      public Color getColor()

      See Also:

    • setColor

      public void setColor(Color color)

      The fill color of the drag handles. Defaults to #fff.

      Parameters:

      color -

    • getCursor

      public String getCursor()

      See Also:

    • setCursor

      public void setCursor(String cursor)

      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.

      Parameters:

      cursor -

    • getLineColor

      public Color getLineColor()

      See Also:

    • setLineColor

      public void setLineColor(Color lineColor)

      The line color of the drag handles. Defaults to rgba(0, 0, 0, 0.6).

      Parameters:

      lineColor -

    • getLineWidth

      public Number getLineWidth()

      See Also:

    • setLineWidth

      public void setLineWidth(Number lineWidth)

      The line width for the drag handles. Defaults to 1.

      Parameters:

      lineWidth -

    • getzIndex

      public Number getzIndex()

      See Also:

    • setzIndex

      public void setzIndex(Number zIndex)

      The z index for the drag handles. Defaults to 901.

      Parameters:

      zIndex -

    • getPathFormatter

      public String getPathFormatter()

      See Also:

    • setPathFormatter

      public void setPathFormatter(String _fn_pathFormatter)

      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.

      Parameters:

      _fn_pathFormatter -