Class LexiconStateChangedEvent

  • All Implemented Interfaces:
    CyEvent<Object>

    public final class LexiconStateChangedEvent
    extends AbstractCyEvent<Object>
    Tell listeners a enabled/disabled visual properties.

    Module: vizmap-gui-api

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

    <dependency>
        <groupId>org.cytoscape</groupId>
        <artifactId>vizmap-gui-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

      • LexiconStateChangedEvent

        public LexiconStateChangedEvent​(Object source,
                                        Set<VisualProperty<?>> enabled,
                                        Set<VisualProperty<?>> disabled)
        Constructor of the event.
        Parameters:
        source - Source of this event.
        enabled - set of Visual Properties to be enabled in the lexicon.
        disabled - set of Visual Properties to be disabled in the lexicon.
    • Method Detail

      • getDisabled

        public Set<VisualProperty<?>> getDisabled()
        Get set of Visual Properties to be disabled in the lexicon.
        Returns:
        set of lexicon to be disabled
      • getEnabled

        public Set<VisualProperty<?>> getEnabled()
        Get set of Visual Properties to be enabled in the lexicon.
        Returns:
        set of VP to be enabled.