Enum Class BorderStyle
- All Implemented Interfaces:
Serializable
,Comparable<BorderStyle>
,Constable
The style of border.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA dashed dotted border.A dashed dot dotted border.A dashed border.A dotted border.A etched border.A line border.A lowered border.No border.A raised border.A ridged border. -
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
toString()
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
No border. -
LINE
A line border. -
RAISED
A raised border. -
LOWERED
A lowered border. -
ETCHED
A etched border. -
RIDGED
A ridged border. -
BUTTON_RAISED
-
BUTTON_PRESSED
-
DOTTED
A dotted border. -
DASHED
A dashed border. -
DASH_DOT
A dashed dotted border. -
DASH_DOT_DOT
A dashed dot dotted border. -
TITLE_BAR
-
GROUP_BOX
-
ROUND_RECTANGLE_BACKGROUND
-
EMPTY
-
-
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
-
toString
- Overrides:
toString
in classEnum<BorderStyle>
-
stringValues
-