Package com.iizix.prop.ui.chart.series
Enum SeriesStroke
- java.lang.Object
- java.lang.Enum<SeriesStroke>
- com.iizix.prop.ui.chart.series.SeriesStroke
- All Implemented Interfaces:
IPropCnrStroke
,java.io.Serializable
,java.lang.Comparable<SeriesStroke>
public enum SeriesStroke extends java.lang.Enum<SeriesStroke> implements IPropCnrStroke
The Series stroke settings to override the default for the plot for this series (and theme).- Author:
- Christopher Mindus
Enum Constant Summary
Enum Constants Enum Constant Description MARKER_OUTLINE
Stroke for outline to use for any markers on the series.MARKER_SHADOW
Stroke for shadow to use for any markers on the series.MARKER_STROKE
Stroke to use for any markers on the series.OUTLINE
Stroke used to outline any series on the series.SHADOW
Stroke to use to draw any shadows for a series on a series.STROKE
Stroke to use for any series on the series.
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GStroke
getDefaultValue()
Gets the default value when the property is not set.java.lang.String
getPropName()
Returns the name of the property, usually starting with '$'.static SeriesStroke
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SeriesStroke[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
Enum Constant Detail
STROKE
public static final SeriesStroke STROKE
Stroke to use for any series on the series.
OUTLINE
public static final SeriesStroke OUTLINE
Stroke used to outline any series on the series.
SHADOW
public static final SeriesStroke SHADOW
Stroke to use to draw any shadows for a series on a series.
MARKER_STROKE
public static final SeriesStroke MARKER_STROKE
Stroke to use for any markers on the series.
MARKER_OUTLINE
public static final SeriesStroke MARKER_OUTLINE
Stroke for outline to use for any markers on the series.
MARKER_SHADOW
public static final SeriesStroke MARKER_SHADOW
Stroke for shadow to use for any markers on the series.
Method Detail
values
public static SeriesStroke[] 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 (SeriesStroke c : SeriesStroke.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
valueOf
public static SeriesStroke 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
getDefaultValue
public GStroke getDefaultValue()
Gets the default value when the property is not set.- Specified by:
getDefaultValue
in interfaceIPropCnrStroke
getPropName
public java.lang.String getPropName()
Returns the name of the property, usually starting with '$'.- Specified by:
getPropName
in interfaceIPropCnrStroke