Cytoscape 3.0.1 API
Class VisualStyleSetEvent

  extended by org.cytoscape.event.AbstractCyEvent<VisualMappingManager>
      extended by
All Implemented Interfaces:

public final class VisualStyleSetEvent
extends AbstractCyEvent<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.

Constructor Summary
VisualStyleSetEvent(VisualMappingManager source, VisualStyle style, CyNetworkView view)
          Creates the event.
Method Summary
 CyNetworkView getNetworkView()
          Get the The target network view model.
 VisualStyle getVisualStyle()
          Get the VisualStyle that was set to the network view.
Methods inherited from class org.cytoscape.event.AbstractCyEvent
getListenerClass, getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public VisualStyleSetEvent(VisualMappingManager source,
                           VisualStyle style,
                           CyNetworkView view)
Creates the event.

source - Source of this event. This is always VisualMappingManager.
style - The VisualStyle that was set to the network view.
view - The target CyNetworkView.
Method Detail


public VisualStyle getVisualStyle()
Get the VisualStyle that was set to the network view.

The VisualStyle that was set to the network view.


public CyNetworkView getNetworkView()
Get the The target network view model.

The target CyNetworkView.

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.