Class VisualStyleAddedEvent

All Implemented Interfaces:

public final class VisualStyleAddedEvent extends AbstractCyEvent<VisualMappingManager>
When new VisualStyle is added to the VisualMappingManager, it fires this event.

Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Module: vizmap-api

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

  • Constructor Details

    • VisualStyleAddedEvent

      public VisualStyleAddedEvent(VisualMappingManager source, VisualStyle created)
      Creates an event for the newly created style.
      source - Source of this event. This is always VisualMappingManager.
      created - New VisualStyle
  • Method Details

    • getVisualStyleAdded

      public VisualStyle getVisualStyleAdded()
      Get the newly created VisualStyle.
      new VisualStyle