Class VisualStyleAboutToBeRemovedEvent

  • All Implemented Interfaces:
    CyEvent<VisualMappingManager>

    public final class VisualStyleAboutToBeRemovedEvent
    extends AbstractCyEvent<VisualMappingManager>
    This event will be fired when VisualStyle object is removed from VisualMappingManager.

    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 (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.
    • Constructor Detail

      • VisualStyleAboutToBeRemovedEvent

        public VisualStyleAboutToBeRemovedEvent​(VisualMappingManager source,
                                                VisualStyle style)
        Create an event for the removed VisualStyle.
        Parameters:
        source - Source of event. This is always a VisualMappingManager.
        style - VisualStyle to be deleted.
    • Method Detail

      • getVisualStyleToBeRemoved

        public VisualStyle getVisualStyleToBeRemoved()
        Returns target VisualStyle to be removed from manager.
        Returns:
        VisualStyle to be removed from manager.