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