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.
|
nameProperty, sizeProperty| Modifier and Type | Field and Description |
|---|---|
private StringProperty |
familyProperty
the family name.
|
private ObjectProperty<FontPosture> |
postureProperty
the font posture.
|
private ObjectProperty<FontWeight> |
weightProperty
the font weight.
|
PARAMETER_SEPARATOR| Constructor and Description |
|---|
FamilyFont(String family,
double size)
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.
|
name, nameProperty, size, sizePropertyactivateAutoRefresh, getKey, hasChanged, hasChanged, readBoolean, readDouble, readInteger, setKey, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivateAutoRefresh, getKey, hasChanged, hasChanged, setKeyprivate final StringProperty familyProperty
private final ObjectProperty<FontPosture> postureProperty
private final ObjectProperty<FontWeight> weightProperty
public FamilyFont(String family, double size)
family - the font familysize - the font sizepublic FamilyFont(String family, double size, FontWeight weight)
family - the font familysize - the font sizeweight - the font weight FontWeightpublic FamilyFont(String family, double size, FontPosture posture)
family - the font familysize - the font sizeposture - the font posture FontPosturepublic FamilyFont(String family, double size, FontWeight weight, FontPosture posture)
family - the font familysize - the font sizeweight - the font weight FontWeightposture - the font posture FontPosturepublic String family()
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 AbstractBaseParamsCopyright © 2011–2014 JRebirth OSS. All rights reserved.