Class LexiconStateChangedEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<Object>
org.cytoscape.view.vizmap.gui.event.LexiconStateChangedEvent
Tell listeners a enabled/disabled visual properties.
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-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>
-
Constructor Summary
ConstructorDescriptionLexiconStateChangedEvent
(Object source, Set<VisualProperty<?>> enabled, Set<VisualProperty<?>> disabled) Constructor of the event. -
Method Summary
Modifier and TypeMethodDescriptionSet<VisualProperty<?>>
Get set of Visual Properties to be disabled in the lexicon.Set<VisualProperty<?>>
Get set of Visual Properties to be enabled in the lexicon.Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
Constructor Details
-
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 Details
-
getDisabled
Get set of Visual Properties to be disabled in the lexicon.- Returns:
- set of lexicon to be disabled
-
getEnabled
Get set of Visual Properties to be enabled in the lexicon.- Returns:
- set of VP to be enabled.
-