public class FamilyFont extends AbstractBaseFont
Type | Property and Description |
---|---|
StringProperty |
family
Return the family name property.
|
ObjectProperty<FontPosture> |
posture
Return the font posture property.
|
ObjectProperty<FontWeight> |
weight
Return the font weight property.
|
extensionProperty, nameProperty, sizeProperty
PARAMETER_SEPARATOR
Constructor and Description |
---|
FamilyFont(String family,
double size)
Default Constructor.
|
FamilyFont(String family,
double size,
FontExtension extension)
Default Constructor.
|
FamilyFont(String family,
double size,
FontExtension extension,
FontPosture posture)
Default Constructor.
|
FamilyFont(String family,
double size,
FontExtension extension,
FontWeight weight)
Default Constructor.
|
FamilyFont(String family,
double size,
FontExtension extension,
FontWeight weight,
FontPosture posture)
Default Constructor.
|
FamilyFont(String family,
double size,
FontPosture posture)
Default Constructor.
|
FamilyFont(String family,
double size,
FontWeight weight)
Default Constructor.
|
FamilyFont(String family,
double size,
FontWeight weight,
FontPosture posture)
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
family()
Return the family name.
|
StringProperty |
familyProperty()
Return the family name property.
|
protected List<? extends Object> |
getFieldValues()
Return all values of
ParameterEntry object. |
void |
parse(String... parameters)
Parse a string to initialize fields.
|
FontPosture |
posture()
Return the font posture.
|
ObjectProperty<FontPosture> |
postureProperty()
Return the font posture property.
|
FontWeight |
weight()
Return the font weight.
|
ObjectProperty<FontWeight> |
weightProperty()
Return the font weight property.
|
extension, extensionProperty, name, nameProperty, size, sizeProperty
activateAutoRefresh, equals, getKey, hasChanged, hasChanged, hashCode, readBoolean, readDouble, readInteger, setKey, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
activateAutoRefresh, getKey, hasChanged, hasChanged, setKey
public StringProperty familyProperty
public ObjectProperty<FontPosture> postureProperty
public ObjectProperty<FontWeight> weightProperty
public FamilyFont(String family, double size, FontExtension extension)
family
- the font familysize
- the font sizeextension
- the font extensionpublic FamilyFont(String family, double size)
family
- the font familysize
- the font sizepublic FamilyFont(String family, double size, FontExtension extension, FontWeight weight)
family
- the font familysize
- the font sizeextension
- the font extensionweight
- the font weight FontWeight
public FamilyFont(String family, double size, FontWeight weight)
family
- the font familysize
- the font sizeweight
- the font weight FontWeight
public FamilyFont(String family, double size, FontExtension extension, FontPosture posture)
family
- the font familysize
- the font sizeextension
- the font extensionposture
- the font posture FontPosture
public FamilyFont(String family, double size, FontPosture posture)
family
- the font familysize
- the font sizeposture
- the font posture FontPosture
public FamilyFont(String family, double size, FontExtension extension, FontWeight weight, FontPosture posture)
family
- the font familysize
- the font sizeextension
- the font extensionweight
- the font weight FontWeight
posture
- the font posture FontPosture
public FamilyFont(String family, double size, FontWeight weight, FontPosture posture)
family
- the font familysize
- the font sizeweight
- the font weight FontWeight
posture
- the font posture FontPosture
public StringProperty familyProperty()
public FontPosture posture()
public ObjectProperty<FontPosture> postureProperty()
public FontWeight weight()
public ObjectProperty<FontWeight> weightProperty()
public void parse(String... parameters)
parameters
- split from resource properties fileprotected List<? extends Object> getFieldValues()
ParameterEntry
object.getFieldValues
in class AbstractBaseParams
Copyright © 2011–2016 JRebirth OSS. All rights reserved.