Interface TableVisualMappingManager


public interface TableVisualMappingManager
Manager for VisualStyles. This object manages mapping from column view models to VisualStyle.

Add/Remove operations will be done through events. For more information, read JavaDoc for VisualStyleAddedEvent and VisualStyleAboutToBeRemovedEvent.

Since:
3.9

Module: vizmap-api

To use this in your app, include the following dependency in your POM:

<dependency>
    <groupId>org.cytoscape</groupId>
    <artifactId>vizmap-api</artifactId>
</dependency>

Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
  • Method Details

    • setVisualStyle

      void setVisualStyle(View<CyColumn> viewModel, VisualStyle visualStyle)
      Set a VisualStyle to the target column view model.
      Parameters:
      visualStyle - Visual Style to be set. May be null.
      viewModel - The target column view model.
    • getVisualStyle

      VisualStyle getVisualStyle(View<CyColumn> viewModel)
      Returns the VisualStyle associated with the target column view model.
      Returns:
      VisualStyle associated with the column view model. May return null if the column does not have a style.
    • getAllVisualStyles

      Set<VisualStyle> getAllVisualStyles()
      Returns all available VisualStyles managed by this object.
      Returns:
      Set of all registered VisualStyles.
    • getAllVisualLexicon

      Set<VisualLexicon> getAllVisualLexicon()
      Returns a Set of all VisualLexicons.
      Returns:
      a Set of all VisualLexicons.