Enum Class ILineTrace.TraceType

java.lang.Object
java.lang.Enum<ILineTrace.TraceType>
org.eclipse.dawnsci.plotting.api.trace.ILineTrace.TraceType
All Implemented Interfaces:
Serializable, Comparable<ILineTrace.TraceType>, Constable
Enclosing interface:
ILineTrace

public static enum ILineTrace.TraceType extends Enum<ILineTrace.TraceType>
  • Enum Constant Details

    • SOLID_LINE

      public static final ILineTrace.TraceType SOLID_LINE
      Solid Line
    • DASH_LINE

      public static final ILineTrace.TraceType DASH_LINE
      Dash Line
    • DOT_LINE

      public static final ILineTrace.TraceType DOT_LINE
      Dot Line
    • POINT

      public static final ILineTrace.TraceType POINT
      Only draw point whose style is defined by pointStyle. Its size is defined by pointSize.
    • HISTO

      public static final ILineTrace.TraceType HISTO
      Draw each data point as a bar whose width is defined by lineWidth. The data point is in the middle of the bar on X direction. The bottom of the bar depends on the baseline. The alpha of the bar is defined by areaAlpha.
    • AREA

      public static final ILineTrace.TraceType AREA
      Fill the area under the trace. The bottom of the filled area depends on the baseline. The alpha of the filled area is defined by areaAlpha.
    • STEP_VERTICALLY

      public static final ILineTrace.TraceType STEP_VERTICALLY
      Solid line in step. It looks like the y value(on vertical direction) changed firstly.
    • STEP_HORIZONTALLY

      public static final ILineTrace.TraceType STEP_HORIZONTALLY
      Solid line in step. It looks like the x value(on horizontal direction) changed firstly.
  • Method Details

    • values

      public static ILineTrace.TraceType[] 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 ILineTrace.TraceType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ILineTrace.TraceType>
    • is1D

      public boolean is1D()
      defines if the TraceType is applicable to 1D only
      Returns:
    • stringValues

      public static String[] stringValues()