|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FontStyle>
com.softwarefx.FontStyle
public enum FontStyle
Specifies style information applied to text.
Enum Constant Summary | |
---|---|
BOLD
Bold text. |
|
ITALIC
Italic text. |
|
REGULAR
Regular text. |
|
STRIKEOUT
Text with a line through the middle. |
|
UNDERLINE
Underline text. |
Method Summary | |
---|---|
static EnumSet<FontStyle> |
getEnumSetValue(int value)
Returns a EnumSet that represents the given numeric value. |
static FontStyle |
getEnumValue(int value)
Returns a Enum Item that represents the given numeric value. |
static int |
getUnderlyingValue(EnumSet<FontStyle> value)
Returns a numeric value that represents the given EnumSet or Enum item. |
static int |
getUnderlyingValue(FontStyle value)
Returns a numeric value that represents the given EnumSet or Enum item. |
static FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FontStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FontStyle REGULAR
public static final FontStyle STRIKEOUT
public static final FontStyle ITALIC
public static final FontStyle BOLD
public static final FontStyle UNDERLINE
Method Detail |
---|
public static FontStyle[] values()
for (FontStyle c : FontStyle.values()) System.out.println(c);
public static FontStyle valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static EnumSet<FontStyle> getEnumSetValue(int value)
Returns a EnumSet that represents the given numeric value.
value
- numeric representation of the Enumset.public static FontStyle getEnumValue(int value)
Returns a Enum Item that represents the given numeric value.
value
- numeric representation of the Enum item.public static int getUnderlyingValue(FontStyle value)
Returns a numeric value that represents the given EnumSet or Enum item.
value
- A Enum Item or EnumSet.public static int getUnderlyingValue(EnumSet<FontStyle> value)
Returns a numeric value that represents the given EnumSet or Enum item.
value
- A Enum Item or EnumSet.
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |