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.Object
This is the parent class of all events dispatched to the UI.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TInputEvent(Backend backend)
Protected contructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Backend
getBackend()
Get the backend that generated this event.java.util.Date
getTime()
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
-
-