Package org.knowm.xchart
Enum CategorySeries.CategorySeriesRenderStyle
- java.lang.Object
-
- java.lang.Enum<CategorySeries.CategorySeriesRenderStyle>
-
- org.knowm.xchart.CategorySeries.CategorySeriesRenderStyle
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CategorySeries.CategorySeriesRenderStyle>,RenderableSeries
- Enclosing class:
- CategorySeries
public static enum CategorySeries.CategorySeriesRenderStyle extends java.lang.Enum<CategorySeries.CategorySeriesRenderStyle> implements RenderableSeries
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.knowm.xchart.internal.chartpart.RenderableSeries
RenderableSeries.LegendRenderType
-
-
Field Summary
Fields Modifier and Type Field Description private RenderableSeries.LegendRenderTypelegendRenderType
-
Constructor Summary
Constructors Modifier Constructor Description privateCategorySeriesRenderStyle(RenderableSeries.LegendRenderType legendRenderType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderableSeries.LegendRenderTypegetLegendRenderType()static CategorySeries.CategorySeriesRenderStylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CategorySeries.CategorySeriesRenderStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Line
public static final CategorySeries.CategorySeriesRenderStyle Line
-
Area
public static final CategorySeries.CategorySeriesRenderStyle Area
-
Scatter
public static final CategorySeries.CategorySeriesRenderStyle Scatter
-
SteppedBar
public static final CategorySeries.CategorySeriesRenderStyle SteppedBar
-
Bar
public static final CategorySeries.CategorySeriesRenderStyle Bar
-
Stick
public static final CategorySeries.CategorySeriesRenderStyle Stick
-
-
Field Detail
-
legendRenderType
private final RenderableSeries.LegendRenderType legendRenderType
-
-
Constructor Detail
-
CategorySeriesRenderStyle
private CategorySeriesRenderStyle(RenderableSeries.LegendRenderType legendRenderType)
-
-
Method Detail
-
values
public static CategorySeries.CategorySeriesRenderStyle[] 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 (CategorySeries.CategorySeriesRenderStyle c : CategorySeries.CategorySeriesRenderStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CategorySeries.CategorySeriesRenderStyle 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
-
getLegendRenderType
public RenderableSeries.LegendRenderType getLegendRenderType()
- Specified by:
getLegendRenderTypein interfaceRenderableSeries
-
-