Enum Trace.TraceType

java.lang.Object
java.lang.Enum<Trace.TraceType>
org.eclipse.nebula.visualization.xygraph.figures.Trace.TraceType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Trace.TraceType>, java.lang.constant.Constable
Enclosing class:
Trace

public static enum Trace.TraceType
extends java.lang.Enum<Trace.TraceType>
The way how the trace will be drawn.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    AREA
    Fill the area under the trace.
    BAR
    Draw each data point as a bar whose width is defined by lineWidth.
    DASH_LINE
    Dash Line
    DASHDOT_LINE
    Dashdot Line
    DASHDOTDOT_LINE
    Dashdotdot Line
    DOT_LINE
    Dot Line
    LINE_AREA
    It also has a solid line in addition to the area.
    POINT
    Only draw point whose style is defined by pointStyle.
    SOLID_LINE
    Solid Line
    STEP_HORIZONTALLY
    Solid line in step.
    STEP_VERTICALLY
    Solid line in step.
  • Method Summary

    Modifier and Type Method Description
    static java.lang.String[] stringValues()  
    java.lang.String toString()  
    static Trace.TraceType valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static Trace.TraceType[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • SOLID_LINE

      public static final Trace.TraceType SOLID_LINE
      Solid Line
    • DASH_LINE

      public static final Trace.TraceType DASH_LINE
      Dash Line
    • POINT

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

      public static final Trace.TraceType BAR
      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 Trace.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.
    • LINE_AREA

      public static final Trace.TraceType LINE_AREA
      It also has a solid line in addition to the area.
    • STEP_VERTICALLY

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

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

      public static final Trace.TraceType DASHDOT_LINE
      Dashdot Line
    • DASHDOTDOT_LINE

      public static final Trace.TraceType DASHDOTDOT_LINE
      Dashdotdot Line
    • DOT_LINE

      public static final Trace.TraceType DOT_LINE
      Dot Line
  • Method Details

    • values

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

      public static Trace.TraceType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Enum<Trace.TraceType>
    • stringValues

      public static java.lang.String[] stringValues()