Package org.knowm.xchart.style
Enum Styler.ChartTheme
- java.lang.Object
-
- java.lang.Enum<Styler.ChartTheme>
-
- org.knowm.xchart.style.Styler.ChartTheme
-
- All Implemented Interfaces:
Serializable
,Comparable<Styler.ChartTheme>
- Enclosing class:
- Styler
public static enum Styler.ChartTheme extends Enum<Styler.ChartTheme>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Theme
newInstance(Styler.ChartTheme chartTheme)
static Styler.ChartTheme
valueOf(String name)
Returns the enum constant of this type with the specified name.static Styler.ChartTheme[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XChart
public static final Styler.ChartTheme XChart
-
GGPlot2
public static final Styler.ChartTheme GGPlot2
-
Matlab
public static final Styler.ChartTheme Matlab
-
-
Method Detail
-
values
public static Styler.ChartTheme[] 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 (Styler.ChartTheme c : Styler.ChartTheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Styler.ChartTheme 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
-
newInstance
public Theme newInstance(Styler.ChartTheme chartTheme)
-
-