Interface CyCustomGraphics2<T extends CustomGraphicLayer>
- All Superinterfaces:
CyCustomGraphics<T>
,VisualPropertyValue
public interface CyCustomGraphics2<T extends CustomGraphicLayer>
extends CyCustomGraphics<T>, VisualPropertyValue
Just an extension of
CyCustomGraphics
which provides a way for the custom graphics instance
to define itself as a set of properties.Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified 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>
-
Method Summary
Modifier and TypeMethodDescriptionProvides an optional map of key/value properties which define the custom graphics instance.Methods inherited from interface org.cytoscape.view.presentation.customgraphics.CyCustomGraphics
getDisplayName, getFitRatio, getHeight, getIdentifier, getLayers, getLayers, getRenderedImage, getWidth, setDisplayName, setFitRatio, setHeight, setIdentifier, setWidth, toSerializableString
Methods inherited from interface org.cytoscape.view.presentation.property.values.VisualPropertyValue
getDisplayName, getSerializableString
-
Method Details
-
getProperties
Provides an optional map of key/value properties which define the custom graphics instance.- Returns:
- A map of key/value properties.
-