|
||||||||||
| 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(KeyListener argListener)
Adds a key listener |
void |
addMouseListener(MouseListener argListener)
Adds a mouse listener |
void |
addMouseMotionListener(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(KeyListener argListener)
argListener - void addMouseListener(MouseListener argListener)
argListener - void addMouseMotionListener(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 | |||||||||