Package org.dashbuilder.displayer
Enum DisplayerType
- java.lang.Object
-
- java.lang.Enum<DisplayerType>
-
- org.dashbuilder.displayer.DisplayerType
-
- All Implemented Interfaces:
Serializable,Comparable<DisplayerType>
public enum DisplayerType extends Enum<DisplayerType>
An enumeration for the different types of displayers.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AREACHARTArea ChartBARCHARTBar ChartBUBBLECHARTBubble ChartEXTERNAL_COMPONENTExternal Component DisplayerLINECHARTLine ChartMAPMapMETERCHARTMeter ChartMETRICMetricPIECHARTPie ChartSELECTORSelectorTABLETable reports
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisplayerTypegetByName(String str)List<DisplayerSubType>getSubTypes()static DisplayerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DisplayerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BARCHART
public static final DisplayerType BARCHART
Bar Chart
-
PIECHART
public static final DisplayerType PIECHART
Pie Chart
-
AREACHART
public static final DisplayerType AREACHART
Area Chart
-
LINECHART
public static final DisplayerType LINECHART
Line Chart
-
BUBBLECHART
public static final DisplayerType BUBBLECHART
Bubble Chart
-
METERCHART
public static final DisplayerType METERCHART
Meter Chart
-
TABLE
public static final DisplayerType TABLE
Table reports
-
MAP
public static final DisplayerType MAP
Map
-
SELECTOR
public static final DisplayerType SELECTOR
Selector
-
METRIC
public static final DisplayerType METRIC
Metric
-
EXTERNAL_COMPONENT
public static final DisplayerType EXTERNAL_COMPONENT
External Component Displayer
-
-
Method Detail
-
values
public static DisplayerType[] 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 (DisplayerType c : DisplayerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DisplayerType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getByName
public static DisplayerType getByName(String str)
-
getSubTypes
public List<DisplayerSubType> getSubTypes()
-
-