com.threerings.stage.client
Class StageSceneController
java.lang.Object
com.samskivert.swing.Controller
com.threerings.crowd.client.PlaceController
com.threerings.whirled.client.SceneController
com.threerings.whirled.spot.client.SpotSceneController
com.threerings.stage.client.StageSceneController
- All Implemented Interfaces:
- ActionListener, EventListener
public class StageSceneController
- extends SpotSceneController
Extends the SpotSceneController with functionality specific to
displaying Stage scenes.
| 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 |
StageSceneController
public StageSceneController()
handleLocationClicked
public void handleLocationClicked(Object source,
StageLocation loc)
- Called when the user clicks on a location within the scene.
handleClusterClicked
public void handleClusterClicked(Object source,
Tuple<Cluster,Point> tuple)
- Handles a cluster clicked event.
- Parameters:
tuple - the cluster that was clicked and the screen coords of the click.
createPlaceView
protected PlaceView createPlaceView(CrowdContext ctx)
- Overrides:
createPlaceView in class PlaceController
sceneUpdated
protected void sceneUpdated(SceneUpdate update)
- Description copied from class:
SceneController
- This method is called if a scene update is recorded while we
currently occupy a scene. The default implementation will update
our local scene and scene model, but derived classes will likely
want to ensure that the update is properly displayed.
- Overrides:
sceneUpdated in class SceneController