@OpenApiAll public class FontProperty extends Property
java.awt.Font value.FontDEFAULT_PROPERTY_RESOURCE_PROVIDER, EDITABLE, mAdditionalProperties, mDescriptionID, mEditable, mGroupName, mID, mResourceProvider, mSources, mSupport, mUndefinedState, mValue, NULL, NULL_ID_PROPERTY_RESOURCE_PROVIDER, UNDEFINED, VALUE| Constructor and Description |
|---|
FontProperty()
Default constructor.
|
FontProperty(java.lang.String id,
java.awt.Font value)
The property constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(PropertyVisitor v)
Accepts the given visitor.
|
FontProperty |
clone()
Clones the property.
|
java.lang.String |
getClassType()
Returns property class type.
|
java.awt.Font |
getFont()
Returns value as file.
|
static java.lang.String |
getStringRepresentation(java.awt.Font f) |
java.lang.String |
getValueStringRepresentation()
Returns value's string representation.
|
_isFrozen, _setFrozen, addPropertyChangeListener, addSource, addSources, areValuesEqual, createCellEditor, createTableCellRenderer, equals, firePropertyChange, generateDefaultDescriptionID, getAdditionalProperties, getAdditionalProperty, getDescription, getDescriptionID, getGroup, getID, getIntroductoryVersion, getName, getNonEditableReason, getProjectFromSourcesOrActive, getPureDescription, getResourceProvider, getResourceProviderID, getSources, getUndefinedString, getUndefinedString, getValue, hashCode, isEditable, isUndefinedState, removePropertyChangeListener, setAdditionalProperties, setAdditionalProperty, setDescription, setDescriptionID, setEditable, setGroup, setID, setIntroductoryVersion, setNonEditableReason, setResourceProvider, setResourceProviderID, setSources, setUndefinedState, setValue, toStringpublic FontProperty()
public FontProperty(java.lang.String id,
java.awt.Font value)
id - the ID of property.value - the font value of the property.public java.lang.String getValueStringRepresentation()
getValueStringRepresentation in class Propertypublic static java.lang.String getStringRepresentation(java.awt.Font f)
public void accept(PropertyVisitor v) throws java.lang.Exception
accept in interface PropertyVisitorAcceptoraccept in class Propertyv - the PropertyVisitor.java.lang.Exceptionpublic java.awt.Font getFont()
public java.lang.String getClassType()
getClassType in interface PropertyVisitorAcceptorgetClassType in class PropertyPropertyID.FONT_PROPERTYpublic FontProperty clone()
Property