Packagefeathers.events
Classpublic class FeathersEventType
InheritanceFeathersEventType Inheritance Object

Product Version : Feathers 1.0.0

Event type constants for Feathers controls. This class is not a subclass of starling.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 starling.events.Event.
function listener( event:Event ):void
{
    trace( "creation complete" );
}
component.addEventListener( FeathersEventType.CREATION_COMPLETE, listener );



Public Constants
 ConstantDefined By
  BEGIN_INTERACTION : String = "beginInteraction"
[static] The FeathersEventType.BEGIN_INTERACTION event type is used by many UI controls where a drag or other interaction happens over time.
FeathersEventType
  CLEAR : String = "clear"
[static] The FeathersEventType.CLEAR event type is a generic event type for when something is "cleared".
FeathersEventType
  CREATION_COMPLETE : String = "creationComplete"
[static] The FeathersEventType.CREATION_COMPLETE event type is meant to be used when an IFeathersControl has finished validating for the first time.
FeathersEventType
  END_INTERACTION : String = "endInteraction"
[static] The FeathersEventType.END_INTERACTION event type is used by many UI controls where a drag or other interaction happens over time.
FeathersEventType
  ENTER : String = "enter"
[static] The FeathersEventType.ENTER event type is meant to be used when the enter key has been pressed in an input control.
FeathersEventType
  ERROR : String = "error"
[static] The FeathersEventType.ERROR event type is used by Feathers controls when an error occurs that can be caught and safely ignored.
FeathersEventType
  FOCUS_IN : String = "focusIn"
[static] The FeathersEventType.FOCUS_IN event type is used by Feathers components to indicate when they have received focus.
FeathersEventType
  FOCUS_OUT : String = "focusOut"
[static] The FeathersEventType.FOCUS_OUT event type is used by Feathers components to indicate when they have lost focus.
FeathersEventType
  INITIALIZE : String = "initialize"
[static] The FeathersEventType.INITIALIZE event type is meant to be used when an IFeathersControl has finished running its initialize() function.
FeathersEventType
  LAYOUT_DATA_CHANGE : String = "layoutDataChange"
[static] The FeathersEventType.LAYOUT_DATA_CHANGE event type is used by Feathers controls when their layout data has changed.
FeathersEventType
  LOCATION_CHANGE : String = "locationChange"
[static] The FeathersEventType.LOCATION_CHANGE event type is used by the Feathers WebView component to indicate that its location has changed.
FeathersEventType
  LOCATION_CHANGING : String = "locationChanging"
[static] The FeathersEventType.LOCATION_CHANGING event type is used by the Feathers WebView component to indicate that its location is about to change.
FeathersEventType
  LONG_PRESS : String = "longPress"
[static] The FeathersEventType.LONG_PRESS event type is used by the Feathers Button when it is pressed for a long time.
FeathersEventType
  PROGRESS : String = "progress"
[static] The FeathersEventType.PROGRESS event type is used by Feathers classes with long-running tasks to indicate that progress has been made, but the task is incomplete.
FeathersEventType
  PULLING : String = "pulling"
[static] The FeathersEventType.PULLING event type is used by Feathers scrolling containers to notify pull views of changes.
FeathersEventType
  RENDERER_ADD : String = "rendererAdd"
[static] The FeathersEventType.RENDERER_ADD event type is used by Feathers components with item renderers to indicate when a new renderer has been added.
FeathersEventType
  RENDERER_REMOVE : String = "rendererRemove"
[static] The FeathersEventType.RENDERER_REMOVE event type is used by Feathers controls with item renderers to indicate when a renderer is removed.
FeathersEventType
  RESIZE : String = "resize"
[static] The FeathersEventType.RESIZE event type is meant to be used when an IFeathersControl has resized.
FeathersEventType
  SCROLL_COMPLETE : String = "scrollComplete"
[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.
FeathersEventType
  SCROLL_START : String = "scrollStart"
[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.
FeathersEventType
  SOFT_KEYBOARD_ACTIVATE : String = "softKeyboardActivate"
[static] The FeathersEventType.SOFT_KEYBOARD_ACTIVATE event type is used by Feathers text editors when they activate a device's soft keyboard.
FeathersEventType
  SOFT_KEYBOARD_ACTIVATING : String = "softKeyboardActivating"
[static] The FeathersEventType.SOFT_KEYBOARD_ACTIVATING event type is used by Feathers text editors when they are about to activate a device's soft keyboard.
FeathersEventType
  SOFT_KEYBOARD_DEACTIVATE : String = "softKeyboardDeactivate"
[static] The FeathersEventType.SOFT_KEYBOARD_DEACTIVATE event type is used by Feathers text editors when they deactivate a device's soft keyboard.
FeathersEventType
  STATE_CHANGE : String = "stateChange"
[static] The FeathersEventType.STATE_CHANGE event type is used by Feathers classes that implement the IStateContext interface.
FeathersEventType
  TRANSITION_CANCEL : String = "transitionCancel"
[static] The FeathersEventType.TRANSITION_CANCEL event type is used by the ScreenNavigator to indicate when a transition between screens is cancelled.
FeathersEventType
  TRANSITION_COMPLETE : String = "transitionComplete"
[static] The FeathersEventType.TRANSITION_COMPLETE event type is used by the ScreenNavigator to indicate when a transition between screens ends.
FeathersEventType
  TRANSITION_IN_COMPLETE : String = "transitionInComplete"
[static] The FeathersEventType.TRANSITION_IN_COMPLETE event type is used by the ScreenNavigator to indicate to a new screen when it has completed transitioning in.
FeathersEventType
  TRANSITION_IN_START : String = "transitionInStart"
[static] The FeathersEventType.TRANSITION_IN_START event type is used by the ScreenNavigator to indicate to a new screen when it begins to transition in.
FeathersEventType
  TRANSITION_OUT_COMPLETE : String = "transitionOutComplete"
[static] The FeathersEventType.TRANSITION_OUT_COMPLETE event type is used by the ScreenNavigator to indicate to an existing screen when it has completed transitioning out.
FeathersEventType
  TRANSITION_OUT_START : String = "transitionOutStart"
[static] The FeathersEventType.TRANSITION_OUT_START event type is used by the ScreenNavigator to indicate to an existing screen when it begins to transition out.
FeathersEventType
  TRANSITION_START : String = "transitionStart"
[static] The FeathersEventType.TRANSITION_START event type is used by the ScreenNavigator to indicate when a transition between screens begins.
FeathersEventType
Constant Detail
BEGIN_INTERACTIONConstant
public static const BEGIN_INTERACTION:String = "beginInteraction"

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.

CLEARConstant 
public static const CLEAR:String = "clear"

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

CREATION_COMPLETEConstant 
public static const CREATION_COMPLETE:String = "creationComplete"

The FeathersEventType.CREATION_COMPLETE event type is meant to be used when an IFeathersControl has finished validating for the first time. A well-designed component will have created all of its children and it will be fully ready for user interaction.

END_INTERACTIONConstant 
public static const END_INTERACTION:String = "endInteraction"

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.

ENTERConstant 
public static const ENTER:String = "enter"

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

ERRORConstant 
public static const ERROR:String = "error"

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

FOCUS_INConstant 
public static const FOCUS_IN:String = "focusIn"

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

FOCUS_OUTConstant 
public static const FOCUS_OUT:String = "focusOut"

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

INITIALIZEConstant 
public static const INITIALIZE:String = "initialize"

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

LAYOUT_DATA_CHANGEConstant 
public static const LAYOUT_DATA_CHANGE:String = "layoutDataChange"

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

LOCATION_CHANGEConstant 
public static const LOCATION_CHANGE:String = "locationChange"

The FeathersEventType.LOCATION_CHANGE event type is used by the Feathers WebView component to indicate that its location has changed.

LOCATION_CHANGINGConstant 
public static const LOCATION_CHANGING:String = "locationChanging"

The FeathersEventType.LOCATION_CHANGING event type is used by the Feathers WebView component to indicate that its location is about to change.

LONG_PRESSConstant 
public static const LONG_PRESS:String = "longPress"

The FeathersEventType.LONG_PRESS event type is used by the Feathers Button when it is pressed for a long time.

See also

PROGRESSConstant 
public static const PROGRESS:String = "progress"

The FeathersEventType.PROGRESS event type is used by Feathers classes with long-running tasks to indicate that progress has been made, but the task is incomplete.

PULLINGConstant 
public static const PULLING:String = "pulling"

The FeathersEventType.PULLING event type is used by Feathers scrolling containers to notify pull views of changes.

RENDERER_ADDConstant 
public static const RENDERER_ADD:String = "rendererAdd"

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_REMOVEConstant 
public static const RENDERER_REMOVE:String = "rendererRemove"

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.

RESIZEConstant 
public static const RESIZE:String = "resize"

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

SCROLL_COMPLETEConstant 
public static const SCROLL_COMPLETE:String = "scrollComplete"

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_STARTConstant 
public static const SCROLL_START:String = "scrollStart"

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.

SOFT_KEYBOARD_ACTIVATEConstant 
public static const SOFT_KEYBOARD_ACTIVATE:String = "softKeyboardActivate"

The FeathersEventType.SOFT_KEYBOARD_ACTIVATE event type is used by Feathers text editors when they activate a device's soft keyboard.

See also

SOFT_KEYBOARD_ACTIVATINGConstant 
public static const SOFT_KEYBOARD_ACTIVATING:String = "softKeyboardActivating"

The FeathersEventType.SOFT_KEYBOARD_ACTIVATING event type is used by Feathers text editors when they are about to activate a device's soft keyboard.

See also

SOFT_KEYBOARD_DEACTIVATEConstant 
public static const SOFT_KEYBOARD_DEACTIVATE:String = "softKeyboardDeactivate"

The FeathersEventType.SOFT_KEYBOARD_DEACTIVATE event type is used by Feathers text editors when they deactivate a device's soft keyboard.

See also

STATE_CHANGEConstant 
public static const STATE_CHANGE:String = "stateChange"

The FeathersEventType.STATE_CHANGE event type is used by Feathers classes that implement the IStateContext interface.

See also

TRANSITION_CANCELConstant 
public static const TRANSITION_CANCEL:String = "transitionCancel"

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

See also

TRANSITION_COMPLETEConstant 
public static const TRANSITION_COMPLETE:String = "transitionComplete"

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

See also

TRANSITION_IN_COMPLETEConstant 
public static const TRANSITION_IN_COMPLETE:String = "transitionInComplete"

The FeathersEventType.TRANSITION_IN_COMPLETE event type is used by the ScreenNavigator to indicate to a new screen when it has completed transitioning in.

See also

TRANSITION_IN_STARTConstant 
public static const TRANSITION_IN_START:String = "transitionInStart"

The FeathersEventType.TRANSITION_IN_START event type is used by the ScreenNavigator to indicate to a new screen when it begins to transition in.

See also

TRANSITION_OUT_COMPLETEConstant 
public static const TRANSITION_OUT_COMPLETE:String = "transitionOutComplete"

The FeathersEventType.TRANSITION_OUT_COMPLETE event type is used by the ScreenNavigator to indicate to an existing screen when it has completed transitioning out.

See also

TRANSITION_OUT_STARTConstant 
public static const TRANSITION_OUT_START:String = "transitionOutStart"

The FeathersEventType.TRANSITION_OUT_START event type is used by the ScreenNavigator to indicate to an existing screen when it begins to transition out.

See also

TRANSITION_STARTConstant 
public static const TRANSITION_START:String = "transitionStart"

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

See also