Interface CyCustomGraphics2<T extends CustomGraphicLayer>
-
- All Superinterfaces:
CyCustomGraphics<T>
,VisualPropertyValue
public interface CyCustomGraphics2<T extends CustomGraphicLayer> extends CyCustomGraphics<T>, VisualPropertyValue
Just an extension ofCyCustomGraphics
which provides a way for the custom graphics instance to define itself as a set of properties.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 (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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
getProperties()
Provides 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, getRenderedImage, getWidth, setDisplayName, setFitRatio, setHeight, setIdentifier, setWidth, toSerializableString
-
Methods inherited from interface org.cytoscape.view.presentation.property.values.VisualPropertyValue
getDisplayName, getSerializableString
-
-