Enum DividerStyle
- java.lang.Object
-
- java.lang.Enum<DividerStyle>
-
- com.github.weisj.darklaf.ui.splitpane.DividerStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<DividerStyle>
,java.lang.constant.Constable
public enum DividerStyle extends Enum<DividerStyle>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GRIP
GRIP_BORDERLESS
INVISIBLE
LINE
-
Method Summary
Modifier and Type Method Description static DividerStyle
get(Object style)
static DividerStyle
get(Object style, DividerStyle fallback)
String
getName()
boolean
isPaintBorder()
boolean
isThin()
String
toString()
static DividerStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static DividerStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GRIP
public static final DividerStyle GRIP
-
GRIP_BORDERLESS
public static final DividerStyle GRIP_BORDERLESS
-
LINE
public static final DividerStyle LINE
-
INVISIBLE
public static final DividerStyle INVISIBLE
-
-
Method Detail
-
values
public static DividerStyle[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DividerStyle valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
public static DividerStyle get(Object style)
-
get
public static DividerStyle get(Object style, DividerStyle fallback)
-
isPaintBorder
public boolean isPaintBorder()
-
isThin
public boolean isThin()
-
getName
public String getName()
-
toString
public String toString()
- Overrides:
toString
in classEnum<DividerStyle>
-
-