public interface InteractiveImageRenderer extends ImageRenderer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTooltip(java.lang.String tooltip)
Get a custom tooltip for this image renderer.
|
boolean |
onMouseClick(int mouseX,
int mouseY)
Called when the mouse is clicked while over this image renderer.
|
getHeight, getWidth, render
java.lang.String getTooltip(java.lang.String tooltip)
tooltip
- the original tooltip of the element.boolean onMouseClick(int mouseX, int mouseY)
mouseX
- the X coordinate of the mouse, relative to the element.mouseY
- the Y coordinate of the mouse, relative to the element.