Package io.guise.framework.style
Enum FontStyle
- All Implemented Interfaces:
com.globalmentor.lex.Identifier
,com.globalmentor.lex.Token
,Serializable
,Comparable<FontStyle>
The style of a font.
- Author:
- Garret Wilson
- See Also:
-
Enum Constant Summary
Enum ConstantDescriptionA font that is classified as "italic" in the font database, such as many fonts with names including the word "Italic", "Cursive", or "Kursiv".A font that is classified as "normal" in the font database.A font that is classified as "oblique" in the font database, such as many fonts with names including the word "Oblique", "Slanted", or "Incline". -
Method Summary
-
Enum Constant Details
-
NORMAL
A font that is classified as "normal" in the font database. -
OBLIQUE
A font that is classified as "oblique" in the font database, such as many fonts with names including the word "Oblique", "Slanted", or "Incline". -
ITALIC
A font that is classified as "italic" in the font database, such as many fonts with names including the word "Italic", "Cursive", or "Kursiv".
-
-
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
-