com.threerings.micasa.simulator.client
Class SimulatorController
java.lang.Object
com.samskivert.swing.Controller
com.threerings.micasa.simulator.client.SimulatorController
- All Implemented Interfaces:
- SessionObserver, ActionListener, EventListener
public class SimulatorController
- extends Controller
- implements SessionObserver
Responsible for top-level control of the simulator client user interface.
| Methods inherited from class com.samskivert.swing.Controller |
actionPerformed, configureAction, createActionButton, generateArguments, handleAction, handleAction, handleAction, postAction, postAction, postAction, setControlledPanel, wasAdded, wasRemoved |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGOFF
public static final String LOGOFF
- Command constant used to logoff the client.
- See Also:
- Constant Field Values
_ctx
protected ParlorContext _ctx
_frame
protected SimulatorFrame _frame
_info
protected SimulatorInfo _info
_body
protected BodyObject _body
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(Client client)
- Specified by:
clientWillLogon in interface SessionObserver
clientDidLogon
public void clientDidLogon(Client client)
- Specified by:
clientDidLogon in interface SessionObserver
createGame
public void createGame(Client client)
clientObjectDidChange
public void clientObjectDidChange(Client client)
- Specified by:
clientObjectDidChange in interface SessionObserver
clientDidLogoff
public void clientDidLogoff(Client client)
- Specified by:
clientDidLogoff in interface SessionObserver