| java.lang.Object jacareto.cleverphl.session.SessionListEvent
SessionListEvent | public class SessionListEvent (Code) | | This event will be delivered to session list listeners when the session list changes.
author: Christian Spannagel version: 0.9 |
Field Summary | |
final public static int | NEW_ACTUAL_SESSION Another session has become the actual session. | final public static int | SESSION_ADDED A session has been added to the list. | final public static int | SESSION_REMOVED A session has been removed from the list. |
Method Summary | |
public int | getID() Returns the type of the event. | public int | getIndex() Returns the index of the session in the session list. | public Session | getSession() Returns the session this event belongs to. |
NEW_ACTUAL_SESSION | final public static int NEW_ACTUAL_SESSION(Code) | | Another session has become the actual session.
|
SESSION_ADDED | final public static int SESSION_ADDED(Code) | | A session has been added to the list.
|
SESSION_REMOVED | final public static int SESSION_REMOVED(Code) | | A session has been removed from the list.
|
SessionListEvent | public SessionListEvent(Environment env, int ID, Session session, int index)(Code) | | Creates a session list event with the specified values.
Parameters: env - the environment Parameters: ID - the ID of the event Parameters: session - the session this event belongs to Parameters: index - the index of the session in the session list |
getID | public int getID()(Code) | | Returns the type of the event.
the type |
getIndex | public int getIndex()(Code) | | Returns the index of the session in the session list. If the session has been removed, the
returned value is the index of the session before it has been removed.
DOCUMENT ME! |
getSession | public Session getSession()(Code) | | Returns the session this event belongs to.
DOCUMENT ME! |
|
|