| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectworld.VoidWorld
world.test.MousePointsVoidWorld
public class MousePointsVoidWorld
| Field Summary | 
|---|
| Fields inherited from class world.VoidWorld | 
|---|
| DEFAULT_TICK_RATE, KEY_ARROW_DOWN, KEY_ARROW_LEFT, KEY_ARROW_RIGHT, KEY_ARROW_UP, MOUSE_DOWN, MOUSE_DRAG, MOUSE_ENTER, MOUSE_LEAVE, MOUSE_MOVE, MOUSE_UP | 
| Method Summary | |
|---|---|
| static void | main(java.lang.String[] args) | 
|  Scene | onDraw()Return a visualization of this VoidWorld as a Scene. | 
|  void | onMouse(int x,
        int y,
        java.lang.String me)Change this VoidWorld when a mouse event is triggered. | 
| Methods inherited from class world.VoidWorld | 
|---|
| bigBang, equals, lastScene, onKey, onRelease, onTick, stopWhen, tickRate | 
| Methods inherited from class java.lang.Object | 
|---|
| getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static void main(java.lang.String[] args)
public Scene onDraw()
VoidWorldScene.
    See EmptyScene, Scene.placeImage(Image, int, int), and
    Scene.addLine(int, int, int, int, String) for documentation on
    constructing Scenes
onDraw in class VoidWorld
public void onMouse(int x,
                    int y,
                    java.lang.String me)
VoidWorldPossible Mouse Events
| "button-down" : | The user presses a mouse button in the VoidWorld window | 
| "button-up" : | The user releases a mouse button in the VoidWorld window | 
| "move" : | The user moves the mouse in the VoidWorld window | 
| "drag" : | The user holds a mouse button and moves the mouse in the VoidWorld window | 
| "enter" : | The user moves the mouse in-to the VoidWorld window | 
| "leave" : | The user moves the mouse out-of the VoidWorld window | 
onMouse in class VoidWorld| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||