|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SceneObjectIndicator
Draws something to indicate a fascinating, clickable object in a scene.
| Method Summary | |
|---|---|
Rectangle |
getBounds()
Returns the bounds of the indicator when drawn. |
boolean |
isLaidOut()
Returns whether the indicator has already been laid out (and thus doesn't need to be again) |
void |
layout(Graphics2D gfx,
SceneObject key,
Rectangle viewBounds)
Positions the indicator in the scene in relation to key |
void |
paint(Graphics2D gfx)
Paints the indicator in the scene. |
void |
removed()
Called when the indicator is removed from the scene. |
void |
update(Icon icon,
String tiptext)
Updates the Icon and text for the indicator. |
| Method Detail |
|---|
Rectangle getBounds()
void layout(Graphics2D gfx,
SceneObject key,
Rectangle viewBounds)
key
boolean isLaidOut()
void removed()
void paint(Graphics2D gfx)
layout(Graphics2D, SceneObject, Rectangle)
void update(Icon icon,
String tiptext)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||