Modifier and Type | Method | Description |
---|---|---|
static FontFamily |
FontFamily.fromName(String aCategoryName) |
Retrieves the enumeration element representing the given font name
(ignoring the case) or null if none was found.
|
FontFamily |
FontImpl.getFamily() |
|
FontFamily |
AsciiArtBuilder.getFontFamily() |
Retrieves the font family from the font family property.
|
FontFamily |
FontFamilyAccessor.getFontFamily() |
Retrieves the font family from the font family property.
|
default FontFamily |
FontFamilyAccessor.FontFamilyProperty.letFontFamily(FontFamily aFontType) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
FontFamily
(setter) as of FontFamilyAccessor.FontFamilyMutator.setFontFamily(FontFamily) and returns the
very same value (getter). |
static FontFamily |
FontFamily.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FontFamily[] |
FontFamily.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
default FontFamily |
FontFamilyAccessor.FontFamilyProperty.letFontFamily(FontFamily aFontType) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given
FontFamily
(setter) as of FontFamilyAccessor.FontFamilyMutator.setFontFamily(FontFamily) and returns the
very same value (getter). |
void |
FontImpl.setFamily(FontFamily aFontCategory) |
|
void |
AsciiArtBuilder.setFontFamily(FontFamily aFontName) |
Sets the font family for the font family property.
|
void |
FontFamilyAccessor.FontFamilyMutator.setFontFamily(FontFamily aFontType) |
Sets the font family for the font family property.
|
Font |
FontImpl.withFamily(FontFamily aFontName) |
|
AsciiArtBuilder |
AsciiArtBuilder.withFontFamily(FontFamily aFontName) |
Sets the font family for the font family property.
|
B |
FontFamilyAccessor.FontFamilyBuilder.withFontFamily(FontFamily aFontType) |
Sets the font family for the font family property.
|
Constructor | Description |
---|---|
FontImpl(FontFamily aFontType,
FontStyle aFontStyle) |
Instantiates a new font impl.
|
FontImpl(FontFamily aFontType,
FontStyle aFontStyle,
int aFontSize) |
Instantiates a new font impl.
|
Copyright © 2021. All rights reserved.