Package jexer.event
Class TInputEvent
- java.lang.Object
-
- jexer.event.TInputEvent
-
- Direct Known Subclasses:
TCommandEvent,TKeypressEvent,TMenuEvent,TMouseEvent,TResizeEvent
public abstract class TInputEvent extends java.lang.ObjectThis is the parent class of all events dispatched to the UI.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTInputEvent(Backend backend)Protected contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackendgetBackend()Get the backend that generated this event.java.util.DategetTime()Get time.
-
-
-
Constructor Detail
-
TInputEvent
protected TInputEvent(Backend backend)
Protected contructor.- Parameters:
backend- the backend that generated this event
-
-
Method Detail
-
getTime
public final java.util.Date getTime()
Get time.- Returns:
- the time that this event was generated
-
getBackend
public final Backend getBackend()
Get the backend that generated this event.- Returns:
- the backend that generated this event, or null if this event was generated internally
-
-