public interface SceneObjectIndicator
| Modifier and Type | Method and Description |
|---|---|
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.
|
Rectangle getBounds()
void layout(Graphics2D gfx, SceneObject key, Rectangle viewBounds)
keyboolean isLaidOut()
void removed()
void paint(Graphics2D gfx)
layout(Graphics2D, SceneObject, Rectangle)Copyright © 2015. All rights reserved.