public static enum FontStyle.Attribute extends Enum<FontStyle.Attribute> implements INumberEnum<Byte>
Enum Constant and Description |
---|
BOLD |
EFFECT |
EMBOSS |
EXTRUDE |
ITALIC |
SHADOW |
STRIKEOUT |
SUB |
SUPER |
UNDERLINE |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static FontStyle.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontStyle.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontStyle.Attribute BOLD
public static final FontStyle.Attribute ITALIC
public static final FontStyle.Attribute UNDERLINE
public static final FontStyle.Attribute STRIKEOUT
public static final FontStyle.Attribute SUPER
public static final FontStyle.Attribute SUB
public static final FontStyle.Attribute EFFECT
public static final FontStyle.Attribute SHADOW
public static final FontStyle.Attribute EMBOSS
public static final FontStyle.Attribute EXTRUDE
public static FontStyle.Attribute[] values()
for (FontStyle.Attribute c : FontStyle.Attribute.values()) System.out.println(c);
public static FontStyle.Attribute 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 nullpublic long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
public Byte getValue()
getValue
in interface INumberEnum<Byte>
Copyright © 2019–2021 HCL. All rights reserved.