Class InteractionEvent
java.lang.Object
org.highlife.api.input.event.AbstractEvent
org.highlife.api.input.event.impl.mouse.type.AbstractMouseEvent
org.highlife.api.input.event.impl.mouse.MouseEvent<AbstractMouseDestination>
org.highlife.api.input.event.impl.InteractionEvent
- All Implemented Interfaces:
Runnable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfailed()static intbooleaninteract()booleanbooleanbooleaninteract(String action, InteractionSetting... settings) booleaninteractForceLeft(String action) booleaninteractForceRight(String action) booleanvoidsetHoverOnly(boolean hoverOnly) voidstatic voidsetMaxRetryAttempts(int maxRetryAttempts) voidstop()Methods inherited from class org.highlife.api.input.event.impl.mouse.MouseEvent
completed, equals, getDestination, getMouseButton, getMouseMode, getTimeout, getWheelCondition, getWheelMode, hashCode, isCompleted, isFailed, run, setCompleted, setDestination, setFailed, setMouseButton, setMouseMode, setTimeout, setWheelCondition, setWheelMode, toString
-
Constructor Details
-
InteractionEvent
-
-
Method Details
-
getInterrupt
-
setInterrupt
-
interactForceLeft
-
interactForceRight
-
interact
-
interact
public boolean interact() -
interact
-
interact
-
failed
- Overrides:
failedin classMouseEvent<AbstractMouseDestination>
-
stop
public void stop() -
isHoverOnly
public boolean isHoverOnly() -
setHoverOnly
public void setHoverOnly(boolean hoverOnly) -
getMaxRetryAttempts
public static int getMaxRetryAttempts() -
setMaxRetryAttempts
public static void setMaxRetryAttempts(int maxRetryAttempts)
-