Enum Class LineDashStyle
- All Implemented Interfaces:
Serializable,Comparable<LineDashStyle>,Constable
Specifies the dash style for a line.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpecifies the line consists of only dashes.Specifies the line is a dash-dot pattern.Specifies the line is a dash-dot-dot pattern.Specifies the line consists of long dashes.Specifies the line is a long dash-dot pattern.Specifies the line is a long dash-dot-dot pattern.For special shapes use only.Specifies the line is made up of round dots.Specifies the line is solid.Specifies the line is made up of square dots.Specifies the line is a long system-dash pattern.Specifies the line is a long system-dash-dot pattern.Specifies the line is a long system-dot pattern. -
Method Summary
Modifier and TypeMethodDescriptionstatic LineDashStyleReturns the enum constant of this class with the specified name.static LineDashStyle[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Solid
Specifies the line is solid. -
SquareDot
Specifies the line is made up of square dots. -
RoundDot
Specifies the line is made up of round dots. -
Dash
Specifies the line consists of only dashes. -
DashDot
Specifies the line is a dash-dot pattern. -
DashDotDot
Specifies the line is a dash-dot-dot pattern. -
LongDash
Specifies the line consists of long dashes. -
LongDashDot
Specifies the line is a long dash-dot pattern. -
LongDashDotDot
Specifies the line is a long dash-dot-dot pattern. -
SysDash
Specifies the line is a long system-dash pattern. -
SysDot
Specifies the line is a long system-dot pattern. -
SysDashDot
Specifies the line is a long system-dash-dot pattern. -
Mixed
For special shapes use only.
-
-
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
-