|
CIDER Toolkit Version 0.1.0-beta |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
This interface must be implemented by all classes that represent
drawable tokens that are to be used by the TokenCanvas.
| Method Summary | |
boolean |
contains(double x,
double y)
Determine if the specifies co-ordinates lie with the token. |
void |
draw(java.awt.Graphics2D g2)
Draws the token. |
| Method Detail |
public void draw(java.awt.Graphics2D g2)
g2 - The graphics context to be drawn to.
public boolean contains(double x,
double y)
x - The x co-ordinate.y - The y co-ordinate.
true if and only if the co-ordinates lie with the token.
|
CIDER Toolkit Version 0.1.0-beta |
|||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||