public static enum SoFontStyle.Styles extends java.lang.Enum<SoFontStyle.Styles> implements IntegerValuedEnum
Enum Constant and Description |
---|
BOLD
Embolden Family.
|
ITALIC
Italicize or slant Family.
|
NONE
No modification to Family.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoFontStyle.Styles |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoFontStyle.Styles |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoFontStyle.Styles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoFontStyle.Styles NONE
public static final SoFontStyle.Styles BOLD
public static final SoFontStyle.Styles ITALIC
public static SoFontStyle.Styles[] values()
for (SoFontStyle.Styles c : SoFontStyle.Styles.values()) System.out.println(c);
public static SoFontStyle.Styles 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 static SoFontStyle.Styles valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com