Package com.brightcove.player.model
Enum StyledElement.TextDecoration
- java.lang.Object
-
- java.lang.Enum<StyledElement.TextDecoration>
-
- com.brightcove.player.model.StyledElement.TextDecoration
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StyledElement.TextDecoration>
- Enclosing class:
- StyledElement
public static enum StyledElement.TextDecoration extends java.lang.Enum<StyledElement.TextDecoration>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINETHROUGH
NOLINETHROUGH
NONE
NOOVERLINE
NOUNDERLINE
OVERLINE
UNDERLINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StyledElement.TextDecoration
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StyledElement.TextDecoration[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final StyledElement.TextDecoration NONE
-
UNDERLINE
public static final StyledElement.TextDecoration UNDERLINE
-
NOUNDERLINE
public static final StyledElement.TextDecoration NOUNDERLINE
-
LINETHROUGH
public static final StyledElement.TextDecoration LINETHROUGH
-
NOLINETHROUGH
public static final StyledElement.TextDecoration NOLINETHROUGH
-
OVERLINE
public static final StyledElement.TextDecoration OVERLINE
-
NOOVERLINE
public static final StyledElement.TextDecoration NOOVERLINE
-
-
Method Detail
-
values
public static StyledElement.TextDecoration[] 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 (StyledElement.TextDecoration c : StyledElement.TextDecoration.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StyledElement.TextDecoration 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
-
-