public interface Interactor extends LayerListener, LayerMotionListener
Modifier and Type | Method and Description |
---|---|
boolean |
accept(LayerEvent event)
Test is the interactor is prepared to accept this event.
|
MouseFilter |
getMouseFilter()
Get the mouse filter used by this interactor to
decide whether to accept an event.
|
boolean |
isConsuming()
Test the consuming flag of this interactor.
|
boolean |
isEnabled()
Test the enabled flag of this interactor.
|
boolean |
isMotionEnabled()
Test the motion enabled flag of this interactor.
|
void |
setEnabled(boolean flag)
Set the enabled flag of this interactor.
|
void |
setMouseFilter(MouseFilter filter)
Set the mouse filter of this interactor.
|
mouseClicked, mouseDragged, mousePressed, mouseReleased
mouseEntered, mouseExited, mouseMoved
boolean accept(LayerEvent event)
MouseFilter getMouseFilter()
boolean isConsuming()
boolean isEnabled()
boolean isMotionEnabled()
void setEnabled(boolean flag)
void setMouseFilter(MouseFilter filter)