public final class FontVisualProperty extends AbstractVisualProperty<Font>
Font values.shouldIgnoreDefault| Constructor and Description |
|---|
FontVisualProperty(Font def,
String id,
String displayName,
Class<? extends CyIdentifiable> modelDataType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Font |
parseSerializableString(String text)
Returns an object of type T given a string serialized from the getSerializableString(T value)
method.
|
String |
toSerializableString(Font value)
Returns a string of the specified value suitable for serializing to XML
other text output.
|
getDefault, getDisplayName, getIdString, getRange, getTargetDataType, shouldIgnoreDefault, toStringpublic FontVisualProperty(Font def, String id, String displayName, Class<? extends CyIdentifiable> modelDataType)
def - The default font value.id - A machine readable string identifying this visual property used for XML serialization.displayName - A human readable string used for displays and user interfaces.modelDataType - The model data type associated with this visual property, e.g. CyNode, CyEdge, or CyNetwork.public String toSerializableString(Font value)
VisualPropertyvalue - the specified value.public Font parseSerializableString(String text)
VisualPropertytext - a string serialized from the getSerializableString(T value) method.Copyright 2011 Cytoscape Consortium. All rights reserved.