|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectForm
client.framework.views.SessionWindow
public class SessionWindow
A Form
extension that lists the currently active
on the server when the client has connected to the server. The
user may select to join one of the listed sessions, or to
create a new session.
Constructor Summary | |
---|---|
SessionWindow(AbstractGame model)
Creates the session window. |
Method Summary | |
---|---|
void |
commandAction(Command command,
Displayable displayable)
Called when the user selects one of the available commands. |
void |
fireSessionsUpdated()
Called when a new list of sessions is received. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionWindow(AbstractGame model)
model
- The main model for the client application.Method Detail |
---|
public void commandAction(Command command, Displayable displayable)
command
- The command the user selected.displayable
- Not used.public void fireSessionsUpdated()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |