public class CompoundHoverListener extends java.lang.Object implements HoverListener
Constructor and Description |
---|
CompoundHoverListener(HoverListener firstListener,
HoverListener secondListener)
Creates a CompoundHoverListener
|
Modifier and Type | Method and Description |
---|---|
HoverListener |
getFirstListener()
Gets the first hover listener
|
HoverListener |
getSecondListener()
Gets the second hover listener
|
void |
mouseEntered(HoverEvent event)
Called when the mouse enters the hoverable component
|
void |
mouseExited(HoverEvent event)
Called when the mouse exits the hoverable component
|
public CompoundHoverListener(HoverListener firstListener, HoverListener secondListener)
firstListener
- the first hover listenersecondListener
- the second hover listenerpublic HoverListener getFirstListener()
public HoverListener getSecondListener()
public void mouseEntered(HoverEvent event)
HoverListener
mouseEntered
in interface HoverListener
event
- the hover eventpublic void mouseExited(HoverEvent event)
HoverListener
mouseExited
in interface HoverListener
event
- the hover event