public interface Hoverable
UiElement
sModifier and Type | Method and Description |
---|---|
void |
addHoverListener(HoverListener listener)
Adds a
HoverListener to listen for hover events |
java.lang.String |
getId()
Returns the unique id
|
void |
notifyHoverListenersOnBeginHover()
Notifies all
HoverListener s of a begin hover event |
void |
notifyHoverListenersOnEndHover()
Notifies all
HoverListener s of an end hover event |
void |
removeHoverListener(HoverListener listener)
Removes a
HoverListener from this Hoverable |
java.lang.String getId()
void addHoverListener(HoverListener listener)
HoverListener
to listen for hover eventslistener
- The HoverListener
to addvoid removeHoverListener(HoverListener listener)
HoverListener
from this Hoverable
listener
- The HoverListener
to removevoid notifyHoverListenersOnBeginHover()
HoverListener
s of a begin hover eventvoid notifyHoverListenersOnEndHover()
HoverListener
s of an end hover event