|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.expr.DynamicScope
com.threerings.opengl.GlApp
com.threerings.opengl.GlCanvasApp
com.threerings.opengl.GlCanvasTool
com.threerings.tudey.tools.TudeyTool
public abstract class TudeyTool
Base class for Tudey tools.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.opengl.GlCanvasTool |
|---|
GlCanvasTool.CanvasToolPrefs |
| Field Summary | |
|---|---|
protected ChatDirector |
_chatdir
Handles chat requests. |
protected Client |
_client
The Presents client. |
protected Config |
_config
The tool configuration. |
protected LocationDirector |
_locdir
Handles requests to change location. |
protected OccupantDirector |
_occdir
Provides access to occupant lists. |
protected Root |
_root
The user interface root. |
protected SceneDirector |
_scenedir
Handles scene access. |
protected ToolServer |
_server
The tool server. |
protected GlView |
_view
The current view, if any. |
| Fields inherited from class com.threerings.opengl.GlCanvasTool |
|---|
_bounds, _compass, _eprefs, _grid, _msgs, _pdialog, _showBounds, _showCompass, _showGrid, _showStats, _stats |
| Fields inherited from class com.threerings.opengl.GlCanvasApp |
|---|
_canvas, _canvasRoot, _frame, _keymgr |
| Fields inherited from class com.threerings.opengl.GlApp |
|---|
_at, _billboardRotation, _camhand, _cfgmgr, _clipprov, _colorpos, _compatibilityMode, _compositor, _epoch, _imgcache, _msgmgr, _now, _renderEffects, _renderer, _renderScheme, _rsrcmgr, _shadcache, _soundmgr, _streamGain, _up, _viewTransform, _viewTransformState, _worldTransform, PIXEL_FORMATS |
| Fields inherited from class com.threerings.expr.DynamicScope |
|---|
_compoundDepth, _listeners, _owner, _parentScope, _scopeName, _symbols, INVALID_SCOPE |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
TudeyTool(String msgs)
Creates a new tool. |
|
| Method Summary | |
|---|---|
void |
clearPlaceView(PlaceView view)
|
protected void |
compositeView()
Gives the application a chance to composite anything it might want rendered. |
protected void |
didInit()
Override to perform custom initialization after the render context is valid. |
ChatDirector |
getChatDirector()
|
Client |
getClient()
|
Config |
getConfig()
|
DObjectManager |
getDObjectManager()
|
LocationDirector |
getLocationDirector()
|
OccupantDirector |
getOccupantDirector()
|
Root |
getRoot()
Returns a reference to the UI root. |
SceneDirector |
getSceneDirector()
|
protected void |
initSharedManagers()
Initializes the references to the resource manager, config manager, and color pository. |
void |
setPlaceView(PlaceView view)
|
protected void |
setView(GlView view)
Sets the current view. |
protected void |
updateView(float elapsed)
Performs any updates that are necessary even when not rendering. |
protected void |
willShutdown()
Override to perform cleanup before the application exits. |
| Methods inherited from class com.threerings.opengl.GlCanvasTool |
|---|
actionPerformed, createAction, createAction, createBounds, createButton, createButton, createCameraHandler, createCheckBoxMenuItem, createCheckBoxMenuItem, createEditablePrefs, createGrid, createMenu, createMenuItem, createMenuItem, shouldCheckTimestamps |
| Methods inherited from class com.threerings.opengl.GlCanvasApp |
|---|
createCanvas, createCanvasContainer, createRoot, getCanvas, getFrame, getMouseRay, getPickRay, getRunQueue, initRenderer, makeCurrent, shutdown, startup |
| Methods inherited from class com.threerings.opengl.GlApp |
|---|
createSnapshot, enqueue, getApp, getCameraHandler, getClipProvider, getColorPository, getCompatibilityMode, getCompositor, getConfigManager, getImageCache, getMessageManager, getRenderEffects, getRenderer, getRenderScheme, getResourceManager, getScope, getShaderCache, getSoundManager, getStreamGain, init, renderView, setCameraHandler, setCompatibilityMode, setRenderEffects, setRenderer, setRenderScheme, updateView, xlate |
| Methods inherited from class com.threerings.expr.DynamicScope |
|---|
addListener, dispose, endCompoundUpdate, get, getParentScope, getScopeName, put, remove, removeListener, scopeUpdated, setParentScope, startCompoundUpdate, wasUpdated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.threerings.opengl.util.GlContext |
|---|
getApp, getCameraHandler, getColorPository, getCompositor, getConfigManager, getImageCache, getMessageManager, getRenderer, getResourceManager, getScope, getShaderCache, makeCurrent, setCameraHandler, setRenderer |
| Methods inherited from interface com.threerings.openal.util.AlContext |
|---|
getClipProvider, getSoundManager |
| Methods inherited from interface com.threerings.crowd.util.CrowdContext |
|---|
getMessageManager |
| Field Detail |
|---|
protected Config _config
protected Client _client
protected ToolServer _server
protected LocationDirector _locdir
protected OccupantDirector _occdir
protected ChatDirector _chatdir
protected SceneDirector _scenedir
protected Root _root
protected GlView _view
| Constructor Detail |
|---|
public TudeyTool(String msgs)
| Method Detail |
|---|
public Config getConfig()
getConfig in interface PresentsContextpublic Client getClient()
getClient in interface PresentsContextpublic DObjectManager getDObjectManager()
getDObjectManager in interface PresentsContextpublic LocationDirector getLocationDirector()
getLocationDirector in interface CrowdContextpublic OccupantDirector getOccupantDirector()
getOccupantDirector in interface CrowdContextpublic ChatDirector getChatDirector()
getChatDirector in interface CrowdContextpublic void setPlaceView(PlaceView view)
setPlaceView in interface CrowdContextpublic void clearPlaceView(PlaceView view)
clearPlaceView in interface CrowdContextpublic SceneDirector getSceneDirector()
getSceneDirector in interface WhirledContextpublic Root getRoot()
TudeyContext
getRoot in interface TudeyContextprotected void initSharedManagers()
GlApp
initSharedManagers in class GlAppprotected void didInit()
GlApp
didInit in class GlCanvasToolprotected void willShutdown()
GlApp
willShutdown in class GlCanvasAppprotected void updateView(float elapsed)
GlApp
updateView in class GlAppelapsed - the elapsed time since the last update, in seconds.protected void compositeView()
GlApp
compositeView in class GlCanvasToolprotected void setView(GlView view)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||