com.hdcookbook.grinxlet
Class XletDirector
java.lang.Object
com.hdcookbook.grin.Director
com.hdcookbook.grinxlet.XletDirector
public class XletDirector
- extends Director
The director for the small xlet UI that manages test state using the
popup menu.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xlet
public GrinXlet xlet
XletDirector
public XletDirector(GrinXlet xlet)
notifyDestroyed
public void notifyDestroyed()
- Notifies the director that the underlying show has been destroyed.
This is called from the animation thread with the show lock held.
If the director has acquired any resources, it should release them
here.
- Overrides:
notifyDestroyed
in class Director
initialize
public void initialize()
setUIState
public void setUIState()
- Sets the UI state to match the model.
setFramerate
public void setFramerate()
framerateUp
public void framerateUp()
- Increases the framerate
framerateDown
public void framerateDown()
- Decreases the framerate
getDebugDraw
public boolean getDebugDraw()
setDebugDraw
public void setDebugDraw(boolean value)
debugLogHeartbeat
public void debugLogHeartbeat()
skipDebugLogTo
public void skipDebugLogTo(int pos)
moveDebugLogLeft
public void moveDebugLogLeft()
moveDebugLogRight
public void moveDebugLogRight()
moveDebugLogUp
public void moveDebugLogUp()
moveDebugLogDown
public void moveDebugLogDown()