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
| Signature | Description |
|---|---|
UITouchTrigger() | Creates a new instance of UITouchTrigger. |
Virtual Attributes
| Name | Type | Access | Description |
|---|---|---|---|
selectedTouch | Touch | get | Virtual attribute exposed by getSelectedTouch. Access it like a field to read or write the underlying value. |
Methods
| Signature | Returns | Description |
|---|---|---|
getSelectedTouch() | Touch | Returns the current selectedTouch value. |
isDown() | boolean | Returns whether down is true. |
isPressed() | boolean | Returns whether pressed is true. |
isUp() | boolean | Returns whether up is true. |