Enum Aloha2DChart.RendererType
- java.lang.Object
-
- java.lang.Enum<Aloha2DChart.RendererType>
-
- cern.accsoft.steering.util.gui.dv.ds.Aloha2DChart.RendererType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Aloha2DChart.RendererType>
- Enclosing class:
- Aloha2DChart
public static enum Aloha2DChart.RendererType extends java.lang.Enum<Aloha2DChart.RendererType>
this enum encapsulates the int-constants used in dataViewer into an enum
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Aloha2DChart.RendererType
fromDvIntValue(int value)
determines the RendererType - value out of a given integer used by the dataviewerint
getDvIntValue()
static Aloha2DChart.RendererType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Aloha2DChart.RendererType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POLYLINE
public static final Aloha2DChart.RendererType POLYLINE
-
POLYLINE_WITH_MARKERS
public static final Aloha2DChart.RendererType POLYLINE_WITH_MARKERS
-
SCATTER
public static final Aloha2DChart.RendererType SCATTER
-
BAR
public static final Aloha2DChart.RendererType BAR
-
IMPULSES
public static final Aloha2DChart.RendererType IMPULSES
-
AREA
public static final Aloha2DChart.RendererType AREA
-
DIFF_AREA
public static final Aloha2DChart.RendererType DIFF_AREA
-
STAIRS
public static final Aloha2DChart.RendererType STAIRS
-
CONTOUR
public static final Aloha2DChart.RendererType CONTOUR
-
BOOLEAN
public static final Aloha2DChart.RendererType BOOLEAN
-
HI_LO
public static final Aloha2DChart.RendererType HI_LO
-
-
Method Detail
-
values
public static Aloha2DChart.RendererType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Aloha2DChart.RendererType c : Aloha2DChart.RendererType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Aloha2DChart.RendererType 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 namejava.lang.NullPointerException
- if the argument is null
-
fromDvIntValue
public static final Aloha2DChart.RendererType fromDvIntValue(int value)
determines the RendererType - value out of a given integer used by the dataviewer- Parameters:
value
- the value for which to find the enum- Returns:
- the type of the renderer as enum
-
getDvIntValue
public int getDvIntValue()
- Returns:
- the dvIntValue
-
-