|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject mavis.SessionEvent
public class SessionEvent
SessionEvent is used to notify others about the state change of the session. Derived from ProjectEvent.
Nested Class Summary | |
---|---|
static class |
SessionEvent.Type
The type of a project event. |
Field Summary | |
---|---|
private Session |
session
The session that sent this event. |
private SessionEvent.Type |
type
The type of event this is. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
SessionEvent(Session s,
SessionEvent.Type type)
Creates a session event. |
Method Summary | |
---|---|
Session |
getSession()
Returns the table model that sent this event. |
SessionEvent.Type |
getType()
Returns the type of this event. |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Session session
private SessionEvent.Type type
Constructor Detail |
---|
public SessionEvent(Session s, SessionEvent.Type type)
s
- the table model that sends this event.type
- the type of the event.
java.lang.NullPointerException
- if any of the arguments is null.Method Detail |
---|
public Session getSession()
public SessionEvent.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |