Package com.openinventor.inventor.nodes
Enum SoTextProperty.Styles
- java.lang.Object
-
- java.lang.Enum<SoTextProperty.Styles>
-
- com.openinventor.inventor.nodes.SoTextProperty.Styles
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoTextProperty.Styles>
- Enclosing class:
- SoTextProperty
public static enum SoTextProperty.Styles extends java.lang.Enum<SoTextProperty.Styles> implements IntegerValuedEnum
TextProperty style values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BACK_FRAME
BACK_FRAME.BACK_FRAME_LINE
BACK_FRAME_LINE.DOUBLE_STRIKETHROUGH
DOUBLE_STRIKETHROUGH.NONE
No effects.OVERLINE
OVERLINE.STRIKETHROUGH
STRIKETHROUGH.UNDERLINE
UNDERLINE.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoTextProperty.Styles
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoTextProperty.Styles
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoTextProperty.Styles[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SoTextProperty.Styles NONE
No effects.
-
UNDERLINE
public static final SoTextProperty.Styles UNDERLINE
UNDERLINE.
-
STRIKETHROUGH
public static final SoTextProperty.Styles STRIKETHROUGH
STRIKETHROUGH.
-
DOUBLE_STRIKETHROUGH
public static final SoTextProperty.Styles DOUBLE_STRIKETHROUGH
DOUBLE_STRIKETHROUGH.
-
BACK_FRAME
public static final SoTextProperty.Styles BACK_FRAME
BACK_FRAME.
-
BACK_FRAME_LINE
public static final SoTextProperty.Styles BACK_FRAME_LINE
BACK_FRAME_LINE.
-
OVERLINE
public static final SoTextProperty.Styles OVERLINE
OVERLINE.
-
-
Method Detail
-
values
public static SoTextProperty.Styles[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoTextProperty.Styles c : SoTextProperty.Styles.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoTextProperty.Styles valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoTextProperty.Styles valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-