org.cytoscape.view.model.events
Class UpdateNetworkPresentationEvent
java.lang.Object
org.cytoscape.event.AbstractCyEvent<CyNetworkView>
org.cytoscape.view.model.events.UpdateNetworkPresentationEvent
- All Implemented Interfaces:
- CyEvent<CyNetworkView>
public final class UpdateNetworkPresentationEvent
- extends AbstractCyEvent<CyNetworkView>
If something has been changed in the view model, presentation layer should
catch the event and update its visualization. This event will be used in such
objects, mainly rendering engines, in the presentation layer. This means by
firing this event, Cytoscape will invoke "redraw" method in the rendering
engine.
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.updateView()
method.
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateNetworkPresentationEvent
public UpdateNetworkPresentationEvent(CyNetworkView source)
- Event for updating (redrawing) presentation.
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.updateView()
method.
- Parameters:
source
- source network view-model. Presentations
associated with this view-model use this event.
Copyright 2011 Cytoscape Consortium. All rights reserved.