Packagefeathers.core
Interfacepublic interface IAdvancedNativeFocusOwner extends INativeFocusOwner, IFocusDisplayObject, IFeathersDisplayObject
Implementors NumericStepper, TextArea, TextInput

Product Version : Feathers 3.0.0

If a display object implements INativeFocusOwner and its nativeFocus property does not return a flash.display.InteractiveObject (or null), it must implement this interface so that the focus manager can tell it when to give focus to its native focus object.

See also

../../../help/focus.html


Public Properties
 PropertyDefined By
 Inheritedalpha : Number
The opacity of the display object.
IFeathersDisplayObject
 Inheritedbase : DisplayObject
[read-only] The top-most object of the display tree that the display object is connected to.
IFeathersDisplayObject
 InheritedblendMode : String
The blend mode used when rendering the display object.
IFeathersDisplayObject
 Inheritedbounds : Rectangle
[read-only] The bounds of the display object in its local coordinate space.
IFeathersDisplayObject
 Inheritedfilter : FragmentFilter
The filter used when rendering the display object.
IFeathersDisplayObject
 InheritedfocusManager : IFocusManager
The current focus manager for this component.
IFocusDisplayObject
 InheritedfocusOwner : IFocusDisplayObject
Used for associating focusable display objects that are not direct children with an "owner" focusable display object, such as pop-ups.
IFocusDisplayObject
  hasFocus : Boolean
[read-only] Determines if nativeFocus currently has focus.
IAdvancedNativeFocusOwner
 Inheritedheight : Number
The height of the display object in the parent's coordinate space.
IFeathersDisplayObject
 InheritedisFocusEnabled : Boolean
Determines if this component can receive focus.
IFocusDisplayObject
 InheritedisShowingFocus : Boolean
[read-only] Indicates if the showFocus() method has been called on the object when it has focus.
IFocusDisplayObject
 InheritedmaintainTouchFocus : Boolean
[read-only] If true, the display object should remain in focus, even if something else is touched.
IFocusDisplayObject
 Inheritedmask : DisplayObject
The display object's mask.
IFeathersDisplayObject
 Inheritedname : String
The name of the display object.
IFeathersDisplayObject
 InheritednativeFocus : Object
[read-only] An object external to Starling that must be given focus when this Feathers component is given focus by a focus manager.
INativeFocusOwner
 InheritednextDownFocus : IFocusDisplayObject
The next object that will receive focus when Keyboard.DOWN is pressed at KeyLocation.D_PAD and a focus manager is enabled.
IFocusDisplayObject
 InheritednextLeftFocus : IFocusDisplayObject
The next object that will receive focus when Keyboard.LEFT is pressed at KeyLocation.D_PAD and a focus manager is enabled.
IFocusDisplayObject
 InheritednextRightFocus : IFocusDisplayObject
The next object that will receive focus when Keyboard.RIGHT is pressed at KeyLocation.D_PAD and a focus manager is enabled.
IFocusDisplayObject
 InheritednextTabFocus : IFocusDisplayObject
The next object that will receive focus when the tab key is pressed when a focus manager is enabled.
IFocusDisplayObject
 InheritednextUpFocus : IFocusDisplayObject
The next object that will receive focus when Keyboard.UP is pressed at KeyLocation.D_PAD and a focus manager is enabled.
IFocusDisplayObject
 Inheritedparent : DisplayObjectContainer
[read-only] The display object's parent, or null if it doesn't have a parent.
IFeathersDisplayObject
 InheritedpivotX : Number
The x coordinate of the display object's origin in its own coordinate space.
IFeathersDisplayObject
 InheritedpivotY : Number
The y coordinate of the display object's origin in its own coordinate space.
IFeathersDisplayObject
 InheritedpreviousTabFocus : IFocusDisplayObject
The previous object that will receive focus when the tab key is pressed while holding shift when a focus manager is enabled.
IFocusDisplayObject
 Inheritedroot : DisplayObject
[read-only]
IFeathersDisplayObject
 Inheritedrotation : Number
The rotation of the display object, in radians.
IFeathersDisplayObject
 InheritedscaleX : Number
This horizontal scale factor.
IFeathersDisplayObject
 InheritedscaleY : Number
The vertical scale factor.
IFeathersDisplayObject
 InheritedskewX : Number
The horizontal skew, in radians.
IFeathersDisplayObject
 InheritedskewY : Number
The vertical skew, in radians.
IFeathersDisplayObject
 Inheritedstage : Stage
[read-only] The stage that the display object is connected to, or null if it is not connected to a stage.
IFeathersDisplayObject
 Inheritedtouchable : Boolean
Determines if the display object may be touched.
IFeathersDisplayObject
 InheritedtransformationMatrix : Matrix
[read-only] The transformation matrix of the display object, relative to its parent.
IFeathersDisplayObject
 InheriteduseHandCursor : Boolean
Determines if the mouse cursor should turn into a hand when the mouse is over the display object.
IFeathersDisplayObject
 Inheritedvisible : Boolean
Determines the visibility of the display object.
IFeathersDisplayObject
 Inheritedwidth : Number
The width of the display object in the parent's coordinate space.
IFeathersDisplayObject
 Inheritedx : Number
The x, or horizontal, position of the display object in the parent's coordinate space.
IFeathersDisplayObject
 Inheritedy : Number
The y, or vertical, position of the display object in the parent's coordinate space.
IFeathersDisplayObject
Public Methods
 MethodDefined By
 Inherited
addEventListener(type:String, listener:Function):void
Adds a listener for an event type.
IFeathersEventDispatcher
 Inherited
dispatchEvent(event:Event):void
Dispatches an event to all listeners added for the specified event type.
IFeathersEventDispatcher
 Inherited
dispatchEventWith(type:String, bubbles:Boolean = false, data:Object = null):void
Dispatches an event from the pool with the specified to all listeners for the specified event type.
IFeathersEventDispatcher
 Inherited
dispose():void
Disposes the display object.
IFeathersDisplayObject
 Inherited
getBounds(targetSpace:DisplayObject, resultRect:Rectangle = null):Rectangle
Gets the display object's bounds in the target coordinate space.
IFeathersDisplayObject
 Inherited
getTransformationMatrix(targetSpace:DisplayObject, resultMatrix:Matrix = null):Matrix
Calculates a transformation matrix to convert values from the display object's coordinate space to a target coordinate space.
IFeathersDisplayObject
 Inherited
globalToLocal(globalPoint:Point, resultPoint:Point = null):Point
Converts a point from the stage's coordinate space to the display object's coordinate space.
IFeathersDisplayObject
 Inherited
hasEventListener(type:String, listener:Function = null):Boolean
Checks if a listener has been added for the specified event type.
IFeathersEventDispatcher
 Inherited
hideFocus():void
If the visual indicator of focus has been displayed by showFocus(), call this function to hide it.
IFocusDisplayObject
 Inherited
hitTest(localPoint:Point):DisplayObject
Determines if a point exists within the display object's bounds.
IFeathersDisplayObject
 Inherited
localToGlobal(localPoint:Point, resultPoint:Point = null):Point
Converts a point from the display object's coordinate space to the stage's coordinate space.
IFeathersDisplayObject
 Inherited
removeEventListener(type:String, listener:Function):void
Removes a listener for an event type.
IFeathersEventDispatcher
 Inherited
removeEventListeners(type:String = null):void
Removes all listeners for an event type.
IFeathersEventDispatcher
 Inherited
removeFromParent(dispose:Boolean = false):void
Removes a display object from its parent.
IFeathersDisplayObject
 Inherited
render(painter:Painter):void
Renders the display object.
IFeathersDisplayObject
  
setFocus():void
Called by the focus manager to set focus on nativeFocus.
IAdvancedNativeFocusOwner
 Inherited
showFocus():void
If the object has focus, an additional visual indicator may optionally be displayed to highlight the object.
IFocusDisplayObject
Property Detail
hasFocusproperty
hasFocus:Boolean  [read-only]

Determines if nativeFocus currently has focus.


Implementation
    public function get hasFocus():Boolean
Method Detail
setFocus()method
public function setFocus():void

Called by the focus manager to set focus on nativeFocus. May also be called manually.