Package arc.scene.event
Class HandCursorListener
java.lang.Object
arc.scene.event.InputListener
arc.scene.event.ClickListener
arc.scene.event.HandCursorListener
- All Implemented Interfaces:
EventListener
-
Field Summary
Fields inherited from class arc.scene.event.ClickListener
button, cancelled, clicked, lastTapTime, over, overAny, pressed, pressedButton, pressedPointer, stop, tapCount, tapCountInterval, tapSquareSize, touchDownX, touchDownY, visualPressedDuration, visualPressedTime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enter
(InputEvent event, float x, float y, int pointer, Element fromActor) Called any time the mouse cursor or a finger touch is moved over an element.void
exit
(InputEvent event, float x, float y, int pointer, Element toActor) Called any time the mouse cursor or a finger touch is moved out of an element.Methods inherited from class arc.scene.event.ClickListener
cancel, clicked, getButton, getPressedButton, getPressedPointer, getTapCount, getTapSquareSize, getTouchDownX, getTouchDownY, inTapSquare, inTapSquare, invalidateTapSquare, isOver, isOver, isPressed, isVisualPressed, setButton, setTapCount, setTapCountInterval, setTapSquareSize, touchDown, touchDragged, touchUp
Methods inherited from class arc.scene.event.InputListener
handle, keyDown, keyTyped, keyUp, mouseMoved, scrolled
-
Field Details
-
enabled
-
checkEnabled
public boolean checkEnabled
-
-
Constructor Details
-
HandCursorListener
-
HandCursorListener
public HandCursorListener()
-
-
Method Details
-
enter
Description copied from class:InputListener
Called any time the mouse cursor or a finger touch is moved over an element. On the desktop, this event occurs even when no mouse buttons are pressed (pointer will be -1).- Overrides:
enter
in classClickListener
fromActor
- May be null.- See Also:
-
exit
Description copied from class:InputListener
Called any time the mouse cursor or a finger touch is moved out of an element. On the desktop, this event occurs even when no mouse buttons are pressed (pointer will be -1).- Overrides:
exit
in classClickListener
toActor
- May be null.- See Also:
-