|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
com.iisc.jwc.jsheet.SessionEvent
The SessionEvent contains information about the events in this session.
| Field Summary | |
static int |
BOOK_CLOSED
Book closed event type. |
static int |
BOOK_OPENED
Book opened event type. |
static int |
KILL_CLIENT
Kill client event type. |
static int |
MESSAGE_RECEIVED
Message received event type. |
| Constructor Summary | |
SessionEvent(java.lang.Object source,
int id,
boolean flag)
Constructs a SessionEvent. |
|
SessionEvent(java.lang.Object source,
int id,
java.lang.String name)
Constructs a SessionEvent. |
|
SessionEvent(java.lang.Object source,
int id,
java.lang.String sender,
java.lang.String msg)
Constructs a SessionEvent. |
|
| Method Summary | |
boolean |
getFlag()
Returns the flag setting. |
int |
getID()
Returns the event ID for this object. |
java.lang.String |
getMsg()
Returns the message sent by a user. |
java.lang.String |
getName()
Returns the name of the book. |
java.lang.String |
getSender()
Returns the user name of the sender. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int BOOK_CLOSED
public static final int BOOK_OPENED
public static final int KILL_CLIENT
public static final int MESSAGE_RECEIVED
| Constructor Detail |
public SessionEvent(java.lang.Object source,
int id,
boolean flag)
source - the object where the event originated.id - the event type.flag - the setting.
public SessionEvent(java.lang.Object source,
int id,
java.lang.String name)
source - the object where the event originated.id - the event type.name - the name of the book.
public SessionEvent(java.lang.Object source,
int id,
java.lang.String sender,
java.lang.String msg)
source - the object where the event originated.id - the event type.sender - the sender of a message.msg - the message.| Method Detail |
public boolean getFlag()
public int getID()
public java.lang.String getMsg()
public java.lang.String getName()
public java.lang.String getSender()
|
Email JSheet Support | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||