Packagefeathers.core
Interfacepublic interface IFocusDisplayObject extends IFeathersDisplayObject, IFeathersEventDispatcher
Implementors Button, GroupedList, List, Slider, TextInput, ToggleSwitch

A component that can receive focus.

See also

feathers.core.IFocusManager


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
IFeathersDisplayObject
 Inheritedbase : DisplayObject
[read-only]
IFeathersDisplayObject
 InheritedblendMode : String
IFeathersDisplayObject
 Inheritedbounds : Rectangle
[read-only]
IFeathersDisplayObject
 Inheritedfilter : FragmentFilter
IFeathersDisplayObject
  focusManager : IFocusManager
The current focus manager for this component.
IFocusDisplayObject
 InheritedhasVisibleArea : Boolean
[read-only]
IFeathersDisplayObject
 Inheritedheight : Number
IFeathersDisplayObject
  isFocusEnabled : Boolean
Determines if this component can receive focus.
IFocusDisplayObject
 Inheritedname : String
IFeathersDisplayObject
  nextTabFocus : IFocusDisplayObject
The next object that will receive focus when the tab key is pressed.
IFocusDisplayObject
 Inheritedparent : DisplayObjectContainer
[read-only]
IFeathersDisplayObject
 InheritedpivotX : Number
IFeathersDisplayObject
 InheritedpivotY : Number
IFeathersDisplayObject
 Inheritedroot : DisplayObject
[read-only]
IFeathersDisplayObject
 Inheritedrotation : Number
IFeathersDisplayObject
 InheritedscaleX : Number
IFeathersDisplayObject
 InheritedscaleY : Number
IFeathersDisplayObject
 InheritedskewX : Number
IFeathersDisplayObject
 InheritedskewY : Number
IFeathersDisplayObject
 Inheritedstage : Stage
[read-only]
IFeathersDisplayObject
 Inheritedtouchable : Boolean
IFeathersDisplayObject
 InheritedtransformationMatrix : Matrix
[read-only]
IFeathersDisplayObject
 InheriteduseHandCursor : Boolean
IFeathersDisplayObject
 Inheritedvisible : Boolean
IFeathersDisplayObject
 Inheritedwidth : Number
IFeathersDisplayObject
 Inheritedx : Number
IFeathersDisplayObject
 Inheritedy : Number
IFeathersDisplayObject
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function):void
IFeathersEventDispatcher
 Inherited
dispatchEvent(event:Event):void
IFeathersEventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
IFeathersEventDispatcher
 Inherited
dispose():void
IFeathersDisplayObject
 Inherited
getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle
IFeathersDisplayObject
 Inherited
getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):Matrix
IFeathersDisplayObject
 Inherited
globalToLocal(globalPoint:Point, resultPoint:Point = null):Point
IFeathersDisplayObject
 Inherited
hasEventListener(type:String):Boolean
IFeathersEventDispatcher
 Inherited
hitTest(localPoint:Point, forTouch:Boolean = false):DisplayObject
IFeathersDisplayObject
 Inherited
localToGlobal(localPoint:Point, resultPoint:Point = null):Point
IFeathersDisplayObject
 Inherited
removeEventListener(type:String, listener:Function):void
IFeathersEventDispatcher
 Inherited
removeEventListeners(type:String = null):void
IFeathersEventDispatcher
 Inherited
removeFromParent(dispose:Boolean = false):void
IFeathersDisplayObject
 Inherited
render(support:RenderSupport, parentAlpha:Number):void
IFeathersDisplayObject
Events
 Event Summary Defined By
  Dispatched when the display object receives focus.IFocusDisplayObject
  Dispatched when the display object loses focus.IFocusDisplayObject
Property Detail
focusManagerproperty
focusManager:IFocusManager

The current focus manager for this component.


Implementation
    public function get focusManager():IFocusManager
    public function set focusManager(value:IFocusManager):void
isFocusEnabledproperty 
isFocusEnabled:Boolean

Determines if this component can receive focus.


Implementation
    public function get isFocusEnabled():Boolean
    public function set isFocusEnabled(value:Boolean):void
nextTabFocusproperty 
nextTabFocus:IFocusDisplayObject

The next object that will receive focus when the tab key is pressed.


Implementation
    public function get nextTabFocus():IFocusDisplayObject
    public function set nextTabFocus(value:IFocusDisplayObject):void
Event Detail
focusIn Event
Event Object Type: starling.events.Event
Event.type property = feathers.events.FeathersEventType.FOCUS_IN

Dispatched when the display object receives focus.

The FeathersEventType.FOCUS_IN event type is used by Feathers components to indicate when they have received focus.
focusOut Event  
Event Object Type: starling.events.Event
Event.type property = feathers.events.FeathersEventType.FOCUS_OUT

Dispatched when the display object loses focus.

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