Cytoscape 3.0.1 API

org.cytoscape.view.vizmap.events
Class VisualStyleAddedEvent

java.lang.Object
  extended by org.cytoscape.event.AbstractCyEvent<VisualMappingManager>
      extended by org.cytoscape.view.vizmap.events.VisualStyleAddedEvent
All Implemented Interfaces:
CyEvent<VisualMappingManager>

public final class VisualStyleAddedEvent
extends AbstractCyEvent<VisualMappingManager>

When new VisualStyle is added to the VisualMappingManager, it fires this event.


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
VisualStyleAddedEvent(VisualMappingManager source, VisualStyle created)
          Creates an event for the newly created style.
 
Method Summary
 VisualStyle getVisualStyleAdded()
          Get the newly created VisualStyle.
 
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

VisualStyleAddedEvent

public VisualStyleAddedEvent(VisualMappingManager source,
                             VisualStyle created)
Creates an event for the newly created style.

Parameters:
source - Source of this event. This is always VisualMappingManager.
created - New VisualStyle
Method Detail

getVisualStyleAdded

public VisualStyle getVisualStyleAdded()
Get the newly created VisualStyle.

Returns:
new VisualStyle

Cytoscape 3.0.1 API

Copyright 2011 Cytoscape Consortium. All rights reserved.