FeathersEventType

public class
feathers.events.FeathersEventType

Description

Event type constants for Feathers controls. This class is not a subclass of loom2d.events.Event because these constants are meant to be used with dispatchEventWith() and take advantage of the Starling's event object pooling. The object passed to an event listener will be of type loom2d.events.Event.

API overview

Constructor

FeathersEventType ()

Constants

Constants

BEGIN_INTERACTION: String static

The FeathersEventType.BEGIN_INTERACTION event type is used by many UI controls where a drag or other interaction happens over time

CLEAR: String static

The FeathersEventType.CLEAR event type is a generic event type for when something is "cleared"

END_INTERACTION: String static

The FeathersEventType.END_INTERACTION event type is used by many UI controls where a drag or other interaction happens over time

ENTER: String static

The FeathersEventType.ENTER event type is meant to be used when the enter key has been pressed in an input control

ERROR: String static

The FeathersEventType.ERROR event type is used by Feathers controls when an error occurs that can be caught and safely ignored

FOCUS_IN: String static

The FeathersEventType.FOCUS_IN event type is used by Feathers components to indicate when they have received focus

FOCUS_OUT: String static

The FeathersEventType.FOCUS_OUT event type is used by Feathers components to indicate when they have lost focus

INITIALIZE: String static

The FeathersEventType.INITIALIZE event type is meant to be used when an IFeathersControl has finished running its initialize() function

LAYOUT_DATA_CHANGE: String static

The FeathersEventType.LAYOUT_DATA_CHANGE event type is used by Feathers controls when their layout data has changed

RENDERER_ADD: String static

The FeathersEventType.RENDERER_ADD event type is used by Feathers components with item renderers to indicate when a new renderer has been added

RENDERER_REMOVE: String static

The FeathersEventType.RENDERER_REMOVE event type is used by Feathers controls with item renderers to indicate when a renderer is removed

RESIZE: String static

The FeathersEventType.RESIZE event type is meant to be used when an IFeathersControl has resized

SCROLL_COMPLETE: String static

The FeathersEventType.SCROLL_COMPLETE event type is used when a control finishes scrolling in either direction as a result of either user interaction or animation

SCROLL_START: String static

The FeathersEventType.SCROLL_START event type is used when a control starts scrolling in either direction as a result of either user interaction or animation

TRANSITION_COMPLETE: String static

The FeathersEventType.TRANSITION_COMPLETE event type is used by the ScreenNavigator to indicate when a transition between screens ends

TRANSITION_START: String static

The FeathersEventType.TRANSITION_START event type is used by the ScreenNavigator to indicate when a transition between screens begins

Functions

Public functions

Constructor

FeathersEventType ()

Constants

BEGIN_INTERACTION: String

static

The FeathersEventType.BEGIN_INTERACTION event type is used by many UI controls where a drag or other interaction happens over time. An example is a Slider control where the user touches the thumb to begin dragging.

CLEAR: String

static

The FeathersEventType.CLEAR event type is a generic event type for when something is "cleared".

END_INTERACTION: String

static

The FeathersEventType.END_INTERACTION event type is used by many UI controls where a drag or other interaction happens over time. An example is a Slider control where the user stops touching the thumb after dragging.

Depending on the control, the result of the interaction may continue after the interaction ends. For instance, a Scroller may be "thrown", and the scrolling will continue animating after the user has finished interacting with it.

ENTER: String

static

The FeathersEventType.ENTER event type is meant to be used when the enter key has been pressed in an input control.

ERROR: String

static

The FeathersEventType.ERROR event type is used by Feathers controls when an error occurs that can be caught and safely ignored.

FOCUS_IN: String

static

The FeathersEventType.FOCUS_IN event type is used by Feathers components to indicate when they have received focus.

FOCUS_OUT: String

static

The FeathersEventType.FOCUS_OUT event type is used by Feathers components to indicate when they have lost focus.

INITIALIZE: String

static

The FeathersEventType.INITIALIZE event type is meant to be used when an IFeathersControl has finished running its initialize() function.

LAYOUT_DATA_CHANGE: String

static

The FeathersEventType.LAYOUT_DATA_CHANGE event type is used by Feathers controls when their layout data has changed.

RENDERER_ADD: String

static

The FeathersEventType.RENDERER_ADD event type is used by Feathers components with item renderers to indicate when a new renderer has been added. This event type is meant to be used with virtualized layouts where only a limited set of renderers will be created for a data provider that may include a larger number of items.

RENDERER_REMOVE: String

static

The FeathersEventType.RENDERER_REMOVE event type is used by Feathers controls with item renderers to indicate when a renderer is removed. This event type is meant to be used with virtualized layouts where only a limited set of renderers will be created for a data provider that may include a larger number items.

RESIZE: String

static

The FeathersEventType.RESIZE event type is meant to be used when an IFeathersControl has resized.

SCROLL_COMPLETE: String

static

The FeathersEventType.SCROLL_COMPLETE event type is used when a control finishes scrolling in either direction as a result of either user interaction or animation.

SCROLL_START: String

static

The FeathersEventType.SCROLL_START event type is used when a control starts scrolling in either direction as a result of either user interaction or animation.

TRANSITION_COMPLETE: String

static

The FeathersEventType.TRANSITION_COMPLETE event type is used by the ScreenNavigator to indicate when a transition between screens ends.

TRANSITION_START: String

static

The FeathersEventType.TRANSITION_START event type is used by the ScreenNavigator to indicate when a transition between screens begins.

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: