public final class VisualStyleSetEvent extends AbstractCyEvent<VisualMappingManager>
VisualStyle is set to a network view through
VisualMappingManager.setVisualStyle(VisualStyle, org.cytoscape.view.model.CyNetworkView).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 and Description |
|---|
VisualStyleSetEvent(VisualMappingManager source,
VisualStyle style,
CyNetworkView view)
Creates the event.
|
| Modifier and Type | Method and Description |
|---|---|
CyNetworkView |
getNetworkView()
Get the The target network view model.
|
VisualStyle |
getVisualStyle()
Get the VisualStyle that was set to the network view.
|
getListenerClass, getSourcepublic VisualStyleSetEvent(VisualMappingManager source, VisualStyle style, CyNetworkView view)
source - Source of this event. This is always VisualMappingManager.style - The VisualStyle that was set to the network view.view - The target CyNetworkView.public VisualStyle getVisualStyle()
public CyNetworkView getNetworkView()
Copyright 2011 Cytoscape Consortium. All rights reserved.