Package com.iizix.prop.ui.chart.plot2d
Enum Class PlotStroke
- All Implemented Interfaces:
IPropCnrStroke
,Serializable
,Comparable<PlotStroke>
,Constable
The Plot2D stroke settings for axis and various ticks the can be set or retrieved for the axis.
- Author:
- Christopher Mindus
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Enum Constant Summary
Enum ConstantDescriptionGrid stroke for a major horizontal line.Grid stroke for a major vertical line.Stroke for outline to use for any markers on the plot.Stroke for shadow to use for any markers on the plot.Stroke to use for any markers on the plot.Grid stroke for a minor horizontal line.Grid stroke for a minor vertical line.Stroke used to outline any series on the plot.Stroke to use to draw any shadows for a series on a plot.Stroke to use for any series on the plot.Method Summary
Modifier and TypeMethodDescriptionGets the default value when the property is not set.Returns the name of the property, usually starting with '$'.static PlotStroke
Returns the enum constant of this class with the specified name.static PlotStroke[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
STROKE
Stroke to use for any series on the plot.OUTLINE
Stroke used to outline any series on the plot.SHADOW
Stroke to use to draw any shadows for a series on a plot.MARKER_STROKE
Stroke to use for any markers on the plot.MARKER_OUTLINE
Stroke for outline to use for any markers on the plot.MARKER_SHADOW
Stroke for shadow to use for any markers on the plot.MAJOR_H_LINE
Grid stroke for a major horizontal line.By default major lines use major tick stroke.
MINOR_H_LINE
Grid stroke for a minor horizontal line.By default minor lines use minor tick stroke.
MAJOR_V_LINE
Grid stroke for a major vertical line.By default major lines use major tick stroke.
MINOR_V_LINE
Grid stroke for a minor vertical line.By default minor lines use minor tick stroke.
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
getDefaultValue
Gets the default value when the property is not set.- Specified by:
getDefaultValue
in interfaceIPropCnrStroke
getPropName
Returns the name of the property, usually starting with '$'.- Specified by:
getPropName
in interfaceIPropCnrStroke