Package com.illumon.iris.db.plot
Enum Font.FontStyle
- All Implemented Interfaces:
Serializable
,Comparable<Font.FontStyle>
,java.lang.constant.Constable
- Enclosing class:
- Font
public static enum Font.FontStyle extends Enum<Font.FontStyle>
Style of font.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description BOLD
Bold textBOLD_ITALIC
Bold and italic textITALIC
Italic textPLAIN
Plain text. -
Method Summary
Modifier and Type Method Description int
mask()
Gets the mask of this Style.static Font.FontStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static Font.FontStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLAIN
Plain text. -
BOLD
Bold text -
ITALIC
Italic text -
BOLD_ITALIC
Bold and italic text
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
mask
public int mask()Gets the mask of this Style.- Returns:
- int mask representing this Style
-