Interface MappableVisualPropertyValue
- All Superinterfaces:
VisualPropertyValue
This is a special
VisualPropertyValue that allows a VisualProperty value
to be specified as depending on one or more CyColumns.
That way, if the columns or column values change, Cytoscape can also update the Views
that have the corresponding visual property values.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 TypeMethodDescriptionvoidupdate()Cytoscape will call this method every time the columns corresponding to the CyColumnIdentifiers returned bygetMappedColumns()change.Methods inherited from interface org.cytoscape.view.presentation.property.values.VisualPropertyValue
getDisplayName, getSerializableString
-
Method Details
-
getMappedColumns
Set<CyColumnIdentifier> getMappedColumns()- Returns:
- A set of
CyColumnIdentifierobjects that contain the information about all theCyColumns this visual property value depends on.
-
update
void update()Cytoscape will call this method every time the columns corresponding to the CyColumnIdentifiers returned bygetMappedColumns()change.
-