public enum CustomStyle extends Enum<CustomStyle>
WebStyledLabel
text.WebStyledLabel
,
StyleRange
Enum Constant and Description |
---|
doubleStrikeThrough
Double strike-through text.
|
strikeThrough
Single strike-through text.
|
subscript
Subscript text.
|
superscript
Superscript text.
|
underlined
Underlined text.
|
waved
Underlined with wave text.
|
Modifier and Type | Method and Description |
---|---|
static CustomStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomStyle underlined
public static final CustomStyle waved
public static final CustomStyle strikeThrough
public static final CustomStyle doubleStrikeThrough
public static final CustomStyle superscript
public static final CustomStyle subscript
public static CustomStyle[] values()
for (CustomStyle c : CustomStyle.values()) System.out.println(c);
public static CustomStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2020. All rights reserved.