Interface MappableVisualPropertyValue

All Superinterfaces:

public interface MappableVisualPropertyValue extends 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:

  • Method Details

    • getMappedColumns

      Set<CyColumnIdentifier> getMappedColumns()
      A set of CyColumnIdentifier objects that contain the information about all the CyColumns this visual property value depends on.
    • update

      void update()
      Cytoscape will call this method every time the columns corresponding to the CyColumnIdentifiers returned by getMappedColumns() change.