Enum Class PlotStroke

java.lang.Object
java.lang.Enum<PlotStroke>
com.iizix.prop.ui.chart.plot2d.PlotStroke
All Implemented Interfaces:
IPropCnrStroke, Serializable, Comparable<PlotStroke>, Constable

public enum PlotStroke extends Enum<PlotStroke> implements IPropCnrStroke
The Plot2D stroke settings for axis and various ticks the can be set or retrieved for the axis.
Author:
Christopher Mindus
  • Enum Constant Details

    • STROKE

      public static final PlotStroke STROKE
      Stroke to use for any series on the plot.
    • OUTLINE

      public static final PlotStroke OUTLINE
      Stroke used to outline any series on the plot.
    • SHADOW

      public static final PlotStroke SHADOW
      Stroke to use to draw any shadows for a series on a plot.
    • MARKER_STROKE

      public static final PlotStroke MARKER_STROKE
      Stroke to use for any markers on the plot.
    • MARKER_OUTLINE

      public static final PlotStroke MARKER_OUTLINE
      Stroke for outline to use for any markers on the plot.
    • MARKER_SHADOW

      public static final PlotStroke MARKER_SHADOW
      Stroke for shadow to use for any markers on the plot.
    • MAJOR_H_LINE

      public static final PlotStroke MAJOR_H_LINE
      Grid stroke for a major horizontal line.

      By default major lines use major tick stroke.

    • MINOR_H_LINE

      public static final PlotStroke MINOR_H_LINE
      Grid stroke for a minor horizontal line.

      By default minor lines use minor tick stroke.

    • MAJOR_V_LINE

      public static final PlotStroke MAJOR_V_LINE
      Grid stroke for a major vertical line.

      By default major lines use major tick stroke.

    • MINOR_V_LINE

      public static final PlotStroke MINOR_V_LINE
      Grid stroke for a minor vertical line.

      By default minor lines use minor tick stroke.

  • Method Details

    • values

      public static PlotStroke[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PlotStroke valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getDefaultValue

      public GStroke getDefaultValue()
      Gets the default value when the property is not set.
      Specified by:
      getDefaultValue in interface IPropCnrStroke
    • getPropName

      public String getPropName()
      Returns the name of the property, usually starting with '$'.
      Specified by:
      getPropName in interface IPropCnrStroke