Package org.cytoscape.view.vizmap.events
Class VisualStyleSetEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<VisualMappingManager>
org.cytoscape.view.vizmap.events.VisualStyleSetEvent
- All Implemented Interfaces:
CyEvent<VisualMappingManager>
Event fired when a
VisualStyle
is set to a network view through
VisualMappingManager.setVisualStyle(VisualStyle, org.cytoscape.view.model.CyNetworkView).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:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>vizmap-api</artifactId> </dependency>
-
Constructor Summary
ConstructorDescriptionVisualStyleSetEvent(VisualMappingManager source, VisualStyle style, CyNetworkView view)
Creates the event. -
Method Summary
Modifier and TypeMethodDescriptionGet the The target network view model.Get the VisualStyle that was set to the network view.Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
-
Constructor Details
-
VisualStyleSetEvent
Creates the event.- Parameters:
source
- Source of this event. This is alwaysVisualMappingManager
.style
- The VisualStyle that was set to the network view.view
- The target CyNetworkView.
-
-
Method Details
-
getVisualStyle
Get the VisualStyle that was set to the network view.- Returns:
- The VisualStyle that was set to the network view.
-
getNetworkView
Get the The target network view model.- Returns:
- The target CyNetworkView.
-