Class LexiconStateChangedEvent
- java.lang.Object
-
- org.cytoscape.event.AbstractCyEvent<Object>
-
- org.cytoscape.view.vizmap.gui.event.LexiconStateChangedEvent
-
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 Summary
Constructors Constructor Description LexiconStateChangedEvent(Object source, Set<VisualProperty<?>> enabled, Set<VisualProperty<?>> disabled)
Constructor of the event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<VisualProperty<?>>
getDisabled()
Get set of Visual Properties to be disabled in the lexicon.Set<VisualProperty<?>>
getEnabled()
Get set of Visual Properties to be enabled in the lexicon.-
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
-
-
-
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.
-
-