|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cytoscape.event.AbstractCyEvent<CyNetworkView>
org.cytoscape.view.model.events.UpdateNetworkPresentationEvent
public final class UpdateNetworkPresentationEvent
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.
Module: viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
Constructor Summary | |
---|---|
UpdateNetworkPresentationEvent(CyNetworkView source)
Event for updating (redrawing) presentation. |
Method Summary |
---|
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 UpdateNetworkPresentationEvent(CyNetworkView source)
This event should
be created and fired by the view being updated and not anyone else,
instead call the CyNetworkView.updateView()
method.
source
- source network view-model. Presentations
associated with this view-model use this event.
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |