Uses of Enum Class
org.refcodes.textual.FontStyle
-
Uses of FontStyle in org.refcodes.textual
Modifier and TypeMethodDescriptionstatic FontStyle
FontStyle.fromFontStyleCode
(int aStyleCode) Retrieves the enumeration element representing the given font style code (ignoring the case) or null if none was found.static FontStyle
FontStyle.fromFontStyleName
(String aStyleName) Retrieves the enumeration element representing the given font name (ignoring the case) or null if none was found.AsciiArtBuilder.getFontStyle()
Retrieves the font style from the font style property.FontStyleAccessor.getFontStyle()
Retrieves the font style from the font style property.Font.getStyle()
default FontStyle
FontStyleAccessor.FontStyleProperty.letFontStyle
(FontStyle aFontStyle) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenFontStyle
(setter) as ofFontStyleAccessor.FontStyleMutator.setFontStyle(FontStyle)
and returns the very same value (getter).static FontStyle
Returns the enum constant of this class with the specified name.static FontStyle[]
FontStyle.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptiondefault FontStyle
FontStyleAccessor.FontStyleProperty.letFontStyle
(FontStyle aFontStyle) This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenFontStyle
(setter) as ofFontStyleAccessor.FontStyleMutator.setFontStyle(FontStyle)
and returns the very same value (getter).void
AsciiArtBuilder.setFontStyle
(FontStyle aFontStyle) Sets the font style for the font style property.void
FontStyleAccessor.FontStyleMutator.setFontStyle
(FontStyle aFontStyle) Sets the font style for the font style property.void
AsciiArtBuilder.withFontStyle
(FontStyle aFontStyle) Sets the font style for the font style property.FontStyleAccessor.FontStyleBuilder.withFontStyle
(FontStyle aFontStyle) Sets the font style for the font style property.ModifierConstructorDescriptionInstantiates a new font impl.Instantiates a new font impl.Font
(FontFamily aFontType, FontStyle aFontStyle) Instantiates a new font impl.Font
(FontFamily aFontType, FontStyle aFontStyle, int aFontSize) Instantiates a new font impl.