koui.events

..
CheckboxEvent

CheckboxEventState

Event

An event represents an action or state change on which the application can react. Each event has a state which further characterizes the event and – depending on its type – it can hold further information about the action.

EventHandler

Responsible for the event handling of elements.

EventMacro

FocusEvent

A Focus event is fired when the mouse clicks on a element that was not focused before. The previously focused element (might be null as well) is no longer focused then.

FocusEventState

KeyCharPressEvent

A KeyCharPress event is fired on the first frame a key is pressed and after that on a certain time interval to simulate a OS-like input behaviour. That interval can be controlled by EventHandler.KEY_REPEAT_DELAY and EventHandler.KEY_REPEAT_PERIOD.

KeyCharPressEventState

KeyCodeEvent

KeyCodePressEvent

A KeyCodePress event is fired on the first frame a key is pressed and after that on a certain time interval to simulate a OS-like input behaviour. That interval can be controlled by EventHandler.KEY_REPEAT_DELAY and EventHandler.KEY_REPEAT_PERIOD.

KeyCodePressEventState

KeyCodeStatusEvent

A KeyCodeStatus event is fired on the first frame a key was pressed down or was released, so everytime the key's status was changed.

KeyCodeStatusEventState

KeyEvent

MouseButton

Represents a mouse button.

MouseButtonEvent

MouseClickEvent

A MouseClickEvent is fired if any mouse button is clicked. Only hovered or focused elements can receive such events.

MouseClickEventState

MouseEvent

MouseHoverEvent

A MouseHoverEvent is fired if the mouse cursor is above an element.

MouseHoverEventState

MouseScrollEvent

A MouseScrollEvent is fired when the mouse wheel is rotated. Is it sent to the currently hovered element.

MouseScrollEventState

ValueChangeEvent