com.threerings.micasa.simulator.client
Class SimulatorController
java.lang.Object
com.samskivert.swing.Controller
com.threerings.micasa.simulator.client.SimulatorController
- All Implemented Interfaces:
- com.threerings.presents.client.SessionObserver, ActionListener, EventListener
public class SimulatorController
- extends Controller
- implements com.threerings.presents.client.SessionObserver
Responsible for top-level control of the simulator client user interface.
|
Field Summary |
static String |
LOGOFF
Command constant used to logoff the client. |
| Methods inherited from class com.samskivert.swing.Controller |
actionPerformed, configureAction, createActionButton, handleAction, handleAction, handleAction, postAction, postAction, postAction, setControlledPanel, wasAdded, wasRemoved |
LOGOFF
public static final String LOGOFF
- Command constant used to logoff the client.
- See Also:
- Constant Field Values
SimulatorController
public SimulatorController(ParlorContext ctx,
SimulatorFrame frame,
SimulatorInfo info)
- Creates a new simulator controller. The controller will set
everything up in preparation for logging on.
handleAction
public boolean handleAction(ActionEvent action)
- Overrides:
handleAction in class Controller
clientWillLogon
public void clientWillLogon(com.threerings.presents.client.Client client)
- Specified by:
clientWillLogon in interface com.threerings.presents.client.SessionObserver
clientDidLogon
public void clientDidLogon(com.threerings.presents.client.Client client)
- Specified by:
clientDidLogon in interface com.threerings.presents.client.SessionObserver
createGame
public void createGame(com.threerings.presents.client.Client client)
clientObjectDidChange
public void clientObjectDidChange(com.threerings.presents.client.Client client)
- Specified by:
clientObjectDidChange in interface com.threerings.presents.client.SessionObserver
clientDidLogoff
public void clientDidLogoff(com.threerings.presents.client.Client client)
- Specified by:
clientDidLogoff in interface com.threerings.presents.client.SessionObserver
Copyright © 2011. All Rights Reserved.