Class AbstractVisualPropertyValue
java.lang.Object
org.cytoscape.view.presentation.property.values.AbstractVisualPropertyValue
- All Implemented Interfaces:
VisualPropertyValue
Base class for all
VisualPropertyValue
.Cytoscape Backwards Compatibility (Abstract Class): This class is abstract and meant to be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.
Module: presentation-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>presentation-api</artifactId> </dependency>
-
Constructor Summary
ConstructorDescriptionAbstractVisualPropertyValue(String displayName, String serializableString)
Constructs an AbstractVisualPropertyValue. -
Method Summary
Modifier and TypeMethodDescriptionName of this value type.Returns serializable representation of this value.toString()
-
Constructor Details
-
AbstractVisualPropertyValue
Constructs an AbstractVisualPropertyValue.- Parameters:
displayName
- the display name of the visual property value.serializableString
- the serialiable string of the visual property value
-
-
Method Details
-
getDisplayName
Description copied from interface:VisualPropertyValue
Name of this value type. For example, Arrow Shape or Node Shape.- Specified by:
getDisplayName
in interfaceVisualPropertyValue
- Returns:
- human readable name of this object type.
-
getSerializableString
Description copied from interface:VisualPropertyValue
Returns serializable representation of this value.- Specified by:
getSerializableString
in interfaceVisualPropertyValue
- Returns:
- Value in serializable string form.
-
toString
-