public abstract class AbstractInteractiveImageRenderer extends java.lang.Object implements InteractiveImageRenderer
InteractiveImageRenderer.| Constructor and Description |
|---|
AbstractInteractiveImageRenderer() |
| 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeight, getWidth, renderpublic java.lang.String getTooltip(java.lang.String tooltip)
InteractiveImageRenderergetTooltip in interface InteractiveImageRenderertooltip - the original tooltip of the element.public boolean onMouseClick(int mouseX,
int mouseY)
InteractiveImageRendereronMouseClick in interface InteractiveImageRenderermouseX - the X coordinate of the mouse, relative to the element.mouseY - the Y coordinate of the mouse, relative to the element.