Package com.jbstrap.jbmap.enums
Enum Class BorderStyle
- All Implemented Interfaces:
Serializable
,Comparable<BorderStyle>
,Constable
Border Styles used for maps.
- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BorderStyle
Determines a BorderStyle by its specified name.static BorderStyle
Determines the border style based on the font weight value.getValue()
Gets the border style text.static BorderStyle
Returns the enum constant of this class with the specified name.static BorderStyle[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
The border is not displayed. -
DOTTED
The border is dotted. -
DASHED
The border is dashed. -
SOLID
The border is solid. -
DOUBLE
The border is double solid.
-
-
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
-
getValue
Gets the border style text.- Returns:
- The border style text
-
fromName
Determines a BorderStyle by its specified name.- Parameters:
name
- BorderStyle name- Returns:
- BorderStyle for the specified name or
null
if there is no BorderStyle for the specified name
-
fromValue
Determines the border style based on the font weight value.- Parameters:
value
- Border style value- Returns:
- Border style for the specified value or
null
if there is no border style for the specified value
-