|
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<CySessionManager>
org.cytoscape.session.events.SessionLoadedEvent
public final class SessionLoadedEvent
This event is fired after a new session has been set in the
CySessionManager.setCurrentSession(CySession, String)
method and is used to notify interested parties in the change
of state.
Module: session-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>session-api</artifactId> </dependency>
Constructor Summary | |
---|---|
SessionLoadedEvent(CySessionManager source,
CySession session,
String fileName)
Constructor. |
Method Summary | |
---|---|
String |
getLoadedFileName()
Returns the file name of the session just loaded. |
CySession |
getLoadedSession()
Returns the session that was just loaded. |
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 SessionLoadedEvent(CySessionManager source, CySession session, String fileName)
source
- The CySessionManager
that is the source of this event.session
- The CySession
object that was just loaded.fileName
- the name of the file representing the session.Method Detail |
---|
public CySession getLoadedSession()
public String getLoadedFileName()
|
Cytoscape 3.1.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |