|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TestbedPanel
A TestbedPanel encapsulates the graphical panel displayed to the user. Also it is responsible for populating panel-specific data in the model (like panel width).
Method Summary | |
---|---|
void |
addKeyListener(java.awt.event.KeyListener argListener)
Adds a key listener |
void |
addMouseListener(java.awt.event.MouseListener argListener)
Adds a mouse listener |
void |
addMouseMotionListener(java.awt.event.MouseMotionListener argListener)
Adds a mouse motion listener |
org.jbox2d.callbacks.DebugDraw |
getDebugDraw()
Gets the display-specific debug draw |
void |
grabFocus()
|
void |
paintScreen()
Paints the rendered world to the screen |
boolean |
render()
Renders the world |
Method Detail |
---|
void addKeyListener(java.awt.event.KeyListener argListener)
argListener
- void addMouseListener(java.awt.event.MouseListener argListener)
argListener
- void addMouseMotionListener(java.awt.event.MouseMotionListener argListener)
argListener
- void grabFocus()
org.jbox2d.callbacks.DebugDraw getDebugDraw()
boolean render()
void paintScreen()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |