public static enum SoFontStyle.Families extends java.lang.Enum<SoFontStyle.Families> implements IntegerValuedEnum
Enum Constant and Description |
---|
SANS
Use Sans Serif style (such as Helvetica)
|
SERIF
Use Serif style (such as Times-Roman)
|
TYPEWRITER
Use fixed pitch style (such as Courier)
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoFontStyle.Families |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoFontStyle.Families |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoFontStyle.Families[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoFontStyle.Families SERIF
public static final SoFontStyle.Families SANS
public static final SoFontStyle.Families TYPEWRITER
public static SoFontStyle.Families[] values()
for (SoFontStyle.Families c : SoFontStyle.Families.values()) System.out.println(c);
public static SoFontStyle.Families 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.Families 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