Class: EventManager

EventManager

An event manager handles the states related to certain events and can augment widget interaction. For example, the click manager will hide clicks when the object is dragging.

Event managers are lifecycle objects - they can start/stop. Their constructor will always accept one argument - the widget. Other settings can be applied before startEvent.

Ideally, you should access event managers after your widget has initialized. This is because it may depend on the widget's stage being assigned.

new EventManager (target) abstract

Name Type Description
target Widget

Methods

getTarget ()Widget

Returns:
Type Description
Widget