Class ButtonClickHelper

A CompoundClickHelper specialised for Button-like widgets. Handles pointer clicks and enter key-presses if the widget has a keyboard focus.

GenericClickHelper methods are still available, however, calls to the new methods provided by this class are preferrable; mostly they implement Widget methods.

Hierarchy (view full)

Constructors

Properties

clickHelpers: BaseClickHelper[]

The BaseClickHelper instances being mixed

keyboardClickHelper: GenericClickHelper

The helper for handling enter key presses

pointerClickHelper: ClickHelper

The helper for handling pointer clicks

pointerFocused: boolean = false
refs: number = 0
widget: Widget

The widget that will be auto-scrolled when keyboard focused

Accessors

Methods