public enum HighlightType extends java.lang.Enum<HighlightType> implements Identity
Enum Constant and Description |
---|
BACKGROUND |
BOLD |
FOREGROUND |
ITALIC |
OUTLINED |
UNDERLINED |
COMPARATOR
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
static HighlightType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HighlightType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HighlightType BACKGROUND
public static final HighlightType FOREGROUND
public static final HighlightType UNDERLINED
public static final HighlightType OUTLINED
public static final HighlightType ITALIC
public static final HighlightType BOLD
public static HighlightType[] values()
for (HighlightType c : HighlightType.values()) System.out.println(c);
public static HighlightType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
getId
in interface Identity
Identity.getId()
public java.lang.String getName()
getName
in interface Identity
Identity.getName()
public java.lang.String getDescription()
getDescription
in interface Identity
Identity.getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface Identity
Identity.getOwner()