Interface MappableVisualPropertyValue
-
- All Superinterfaces:
VisualPropertyValue
public interface MappableVisualPropertyValue extends VisualPropertyValue
This is a specialVisualPropertyValuethat allows aVisualPropertyvalue to be specified as depending on one or moreCyColumns. That way, if the columns or column values change, Cytoscape can also update theViews that have the corresponding visual property values.Module:
presentation-apiTo 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 Set<CyColumnIdentifier>getMappedColumns()voidupdate()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 Detail
-
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.
-
-