GODPAPER | All Packages | All Classes | Index | Frames No Frames |
IFocusDisplayObject

Package | feathers.core
Interface | public 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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | alpha : Number | IFeathersDisplayObject
|  | base : DisplayObject [read-only] | IFeathersDisplayObject
|  | blendMode : String | IFeathersDisplayObject
|  | bounds : Rectangle [read-only] | IFeathersDisplayObject
|  | filter : FragmentFilter | IFeathersDisplayObject
|  | focusManager : IFocusManager The current focus manager for this component. | IFocusDisplayObject
|  | hasVisibleArea : Boolean [read-only] | IFeathersDisplayObject
|  | height : Number | IFeathersDisplayObject
|  | isFocusEnabled : Boolean Determines if this component can receive focus. | IFocusDisplayObject
|  | name : String | IFeathersDisplayObject
|  | nextTabFocus : IFocusDisplayObject The next object that will receive focus when the tab key is pressed. | IFocusDisplayObject
|  | parent : DisplayObjectContainer [read-only] | IFeathersDisplayObject
|  | pivotX : Number | IFeathersDisplayObject
|  | pivotY : Number | IFeathersDisplayObject
|  | root : DisplayObject [read-only] | IFeathersDisplayObject
|  | rotation : Number | IFeathersDisplayObject
|  | scaleX : Number | IFeathersDisplayObject
|  | scaleY : Number | IFeathersDisplayObject
|  | skewX : Number | IFeathersDisplayObject
|  | skewY : Number | IFeathersDisplayObject
|  | stage : Stage [read-only] | IFeathersDisplayObject
|  | touchable : Boolean | IFeathersDisplayObject
|  | transformationMatrix : Matrix [read-only] | IFeathersDisplayObject
|  | useHandCursor : Boolean | IFeathersDisplayObject
|  | visible : Boolean | IFeathersDisplayObject
|  | width : Number | IFeathersDisplayObject
|  | x : Number | IFeathersDisplayObject
|  | y : Number | IFeathersDisplayObject

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | addEventListener(type:String, listener:Function):void | IFeathersEventDispatcher
|  | dispatchEvent(event:Event):void | IFeathersEventDispatcher
|  | dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void | IFeathersEventDispatcher
|  | dispose():void | IFeathersDisplayObject
|  | getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle | IFeathersDisplayObject
|  | getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):Matrix | IFeathersDisplayObject
|  | globalToLocal(globalPoint:Point, resultPoint:Point = null):Point | IFeathersDisplayObject
|  | hasEventListener(type:String):Boolean | IFeathersEventDispatcher
|  | hitTest(localPoint:Point, forTouch:Boolean = false):DisplayObject | IFeathersDisplayObject
|  | localToGlobal(localPoint:Point, resultPoint:Point = null):Point | IFeathersDisplayObject
|  | removeEventListener(type:String, listener:Function):void | IFeathersEventDispatcher
|  | removeEventListeners(type:String = null):void | IFeathersEventDispatcher
|  | removeFromParent(dispose:Boolean = false):void | IFeathersDisplayObject
|  | render(support:RenderSupport, parentAlpha:Number):void | IFeathersDisplayObject

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | focusIn | Dispatched when the display object receives focus. | IFocusDisplayObject
|  | focusOut | Dispatched when the display object loses focus. | IFocusDisplayObject

Property Detail

focusManager | property

`focusManager:IFocusManager`

The current focus manager for this component.

Implementation
`public function get focusManager():IFocusManager`
`public function set focusManager(value:IFocusManager):void`

isFocusEnabled | property |

`isFocusEnabled:Boolean`

Determines if this component can receive focus.

Implementation
`public function get isFocusEnabled():Boolean`
`public function set isFocusEnabled(value:Boolean):void`

nextTabFocus | property |

`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.

Thu Jan 16 2014, 01:11 PM +08:00