Interface VisualPropertyValue
- All Known Subinterfaces:
ArrowShape
,CyCustomGraphics2<T>
,EdgeStacking
,LabelBackgroundShape
,LineType
,MappableVisualPropertyValue
,NodeShape
,TableMode
- All Known Implementing Classes:
AbstractVisualPropertyValue
public interface VisualPropertyValue
Object used as a Visual Property value.
In most cases, Visual Property uses basic objects such as Number or Color.
If developers want to use custom objects as a Visual Property value, they should implement this.
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>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
-
Method Summary
Modifier and TypeMethodDescriptionName of this value type.Returns serializable representation of this value.
-
Method Details
-
getDisplayName
String getDisplayName()Name of this value type. For example, Arrow Shape or Node Shape.- Returns:
- human readable name of this object type.
-
getSerializableString
String getSerializableString()Returns serializable representation of this value.- Returns:
- Value in serializable string form.
-