public class ZoneDemo extends java.lang.Object implements BuildPaintInstructor, PickListener
Modifier and Type | Field and Description |
---|---|
(package private) PickablePoint[] |
points |
Constructor and Description |
---|
ZoneDemo() |
Modifier and Type | Method and Description |
---|---|
boolean |
antialias() |
void |
backgroundPressed(int i,
int x,
int y) |
Box |
getLimitBox() |
Box |
getLimitBox(Painter p) |
void |
init() |
void |
instruct(Painter p,
Builder b) |
static void |
main(java.lang.String[] argv) |
void |
pickDragged(Pickable pbl,
Position pos,
int button,
int ix,
int iy) |
void |
pickEnteredTrash(Pickable pbl) |
void |
pickHovered(Pickable hoverItem) |
void |
pickLeftTrash(Pickable pbl) |
void |
pickPressed(Pickable pbl,
int button,
int ix,
int iy) |
void |
pickReleased(Pickable pbl,
int button) |
void |
pickTrashed(Pickable pbl) |
void |
trashPressed() |
PickablePoint[] points
public void init()
public static void main(java.lang.String[] argv)
public boolean antialias()
antialias
in interface BuildPaintInstructor
public void instruct(Painter p, Builder b)
instruct
in interface BuildPaintInstructor
public void backgroundPressed(int i, int x, int y)
backgroundPressed
in interface PickListener
public void pickPressed(Pickable pbl, int button, int ix, int iy)
pickPressed
in interface PickListener
public void pickReleased(Pickable pbl, int button)
pickReleased
in interface PickListener
public void pickDragged(Pickable pbl, Position pos, int button, int ix, int iy)
pickDragged
in interface PickListener
public void pickEnteredTrash(Pickable pbl)
pickEnteredTrash
in interface PickListener
public void pickLeftTrash(Pickable pbl)
pickLeftTrash
in interface PickListener
public void pickTrashed(Pickable pbl)
pickTrashed
in interface PickListener
public void trashPressed()
trashPressed
in interface PickListener
public void pickHovered(Pickable hoverItem)
pickHovered
in interface PickListener
public Box getLimitBox()
public Box getLimitBox(Painter p)
getLimitBox
in interface BuildPaintInstructor
Copyright © 2013. All Rights Reserved.