public abstract class InputEvent
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | consumed | 
| protected long | time | 
| Constructor and Description | 
|---|
| InputEvent() | 
| Modifier and Type | Method and Description | 
|---|---|
| long | getTime()The time when the event occurred. | 
| boolean | isConsumed()Returns true if the input event has been consumed, meaning it is no longer valid
 and should not be forwarded to input listeners. | 
| void | setConsumed()Call to mark this input event as consumed, meaning it is no longer valid
 and should not be forwarded to input listeners. | 
| void | setTime(long time)Set the time when the event occurred. | 
public long getTime()
Input.getInputTimeNanos().public void setTime(long time)
time - time when the event occurred.public boolean isConsumed()
public void setConsumed()