Skip to main content

UITouchTrigger

Complete API reference for UITouchTrigger, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: UI

Component: yes


public class UITouchTrigger extends Component

Constructors

SignatureDescription
UITouchTrigger(UITouchTrigger)Executes UITouchTrigger and returns after the underlying engine call finishes.
UITouchTrigger(Engine)Executes UITouchTrigger and returns after the underlying engine call finishes.
UITouchTrigger()Creates a new instance of UITouchTrigger.

Attributes

NameTypeDescription
instanceUITouchTriggerRepresents the instance value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
selectedTouchTouchgetVirtual attribute exposed by getSelectedTouch. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
isDown()booleanReturns whether down is true.
isPressed()booleanReturns whether pressed is true.
isUp()booleanReturns whether up is true.