Package org.knowm.xchart
Enum XYSeries.XYSeriesRenderStyle
- java.lang.Object
-
- java.lang.Enum<XYSeries.XYSeriesRenderStyle>
-
- org.knowm.xchart.XYSeries.XYSeriesRenderStyle
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<XYSeries.XYSeriesRenderStyle>,RenderableSeries
- Enclosing class:
- XYSeries
public static enum XYSeries.XYSeriesRenderStyle extends java.lang.Enum<XYSeries.XYSeriesRenderStyle> 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 privateXYSeriesRenderStyle(RenderableSeries.LegendRenderType legendRenderType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderableSeries.LegendRenderTypegetLegendRenderType()static XYSeries.XYSeriesRenderStylevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static XYSeries.XYSeriesRenderStyle[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Line
public static final XYSeries.XYSeriesRenderStyle Line
-
Area
public static final XYSeries.XYSeriesRenderStyle Area
-
Step
public static final XYSeries.XYSeriesRenderStyle Step
-
StepArea
public static final XYSeries.XYSeriesRenderStyle StepArea
-
PolygonArea
public static final XYSeries.XYSeriesRenderStyle PolygonArea
-
Scatter
public static final XYSeries.XYSeriesRenderStyle Scatter
-
-
Field Detail
-
legendRenderType
private final RenderableSeries.LegendRenderType legendRenderType
-
-
Constructor Detail
-
XYSeriesRenderStyle
private XYSeriesRenderStyle(RenderableSeries.LegendRenderType legendRenderType)
-
-
Method Detail
-
values
public static XYSeries.XYSeriesRenderStyle[] 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 (XYSeries.XYSeriesRenderStyle c : XYSeries.XYSeriesRenderStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static XYSeries.XYSeriesRenderStyle 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
-
-