Package | feathers.core |
Interface | public interface INativeFocusOwner extends IFocusDisplayObject, IFeathersDisplayObject, IFeathersEventDispatcher |
Implementors | BitmapFontTextEditor, ScrollText, StageTextTextEditor, TextBlockTextEditor, TextFieldTextEditor |
Product Version : | Feathers 2.2.0 |
See also
Property | Defined By | ||
---|---|---|---|
alpha : Number
The opacity of the display object. | IFeathersDisplayObject | ||
base : DisplayObject [read-only]
The top-most object of the display tree that the display object is
connected to. | IFeathersDisplayObject | ||
blendMode : String
The blend mode used when rendering the display object. | IFeathersDisplayObject | ||
bounds : Rectangle [read-only]
The bounds of the display object in its local coordinate space. | IFeathersDisplayObject | ||
filter : FragmentFilter
The filter used when rendering the display object. | IFeathersDisplayObject | ||
focusManager : IFocusManager
The current focus manager for this component. | IFocusDisplayObject | ||
focusOwner : IFocusDisplayObject
Used for associating focusable display objects that are not direct
children with an "owner" focusable display object, such as pop-ups. | IFocusDisplayObject | ||
height : Number
The height of the display object in the parent's coordinate space. | IFeathersDisplayObject | ||
isFocusEnabled : Boolean
Determines if this component can receive focus. | IFocusDisplayObject | ||
isShowingFocus : Boolean [read-only]
Indicates if the showFocus() method has been called on
the object when it has focus. | IFocusDisplayObject | ||
maintainTouchFocus : Boolean [read-only]
If true, the display object should remain in focus,
even if something else is touched. | IFocusDisplayObject | ||
mask : DisplayObject
The display object's mask. | IFeathersDisplayObject | ||
name : String
The name of the display object. | IFeathersDisplayObject | ||
nativeFocus : 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 | ||
nextDownFocus : IFocusDisplayObject
The next object that will receive focus when
Keyboard.DOWN is pressed at
KeyLocation.D_PAD and a focus manager is enabled. | IFocusDisplayObject | ||
nextLeftFocus : IFocusDisplayObject
The next object that will receive focus when
Keyboard.LEFT is pressed at
KeyLocation.D_PAD and a focus manager is enabled. | IFocusDisplayObject | ||
nextRightFocus : IFocusDisplayObject
The next object that will receive focus when
Keyboard.RIGHT is pressed at
KeyLocation.D_PAD and a focus manager is enabled. | IFocusDisplayObject | ||
nextTabFocus : IFocusDisplayObject
The next object that will receive focus when the tab key is pressed
when a focus manager is enabled. | IFocusDisplayObject | ||
nextUpFocus : IFocusDisplayObject
The next object that will receive focus when
Keyboard.UP is pressed at
KeyLocation.D_PAD and a focus manager is enabled. | IFocusDisplayObject | ||
parent : DisplayObjectContainer [read-only]
The display object's parent, or null if it doesn't have
a parent. | IFeathersDisplayObject | ||
pivotX : Number
The x coordinate of the display object's origin in its own coordinate
space. | IFeathersDisplayObject | ||
pivotY : Number
The y coordinate of the display object's origin in its own coordinate
space. | IFeathersDisplayObject | ||
previousTabFocus : IFocusDisplayObject
The previous object that will receive focus when the tab key is
pressed while holding shift when a focus manager is enabled. | IFocusDisplayObject | ||
root : DisplayObject [read-only]
| IFeathersDisplayObject | ||
rotation : Number
The rotation of the display object, in radians. | IFeathersDisplayObject | ||
scaleX : Number
This horizontal scale factor. | IFeathersDisplayObject | ||
scaleY : Number
The vertical scale factor. | IFeathersDisplayObject | ||
skewX : Number
The horizontal skew, in radians. | IFeathersDisplayObject | ||
skewY : Number
The vertical skew, in radians. | IFeathersDisplayObject | ||
stage : Stage [read-only]
The stage that the display object is connected to, or null
if it is not connected to a stage. | IFeathersDisplayObject | ||
touchable : Boolean
Determines if the display object may be touched. | IFeathersDisplayObject | ||
transformationMatrix : Matrix [read-only]
The transformation matrix of the display object, relative to its
parent. | IFeathersDisplayObject | ||
useHandCursor : Boolean
Determines if the mouse cursor should turn into a hand when the mouse
is over the display object. | IFeathersDisplayObject | ||
visible : Boolean
Determines the visibility of the display object. | IFeathersDisplayObject | ||
width : Number
The width of the display object in the parent's coordinate space. | IFeathersDisplayObject | ||
x : Number
The x, or horizontal, position of the display object in the parent's
coordinate space. | IFeathersDisplayObject | ||
y : Number
The y, or vertical, position of the display object in the parent's
coordinate space. | IFeathersDisplayObject |
nativeFocus | property |
nativeFocus:Object
[read-only] An object external to Starling that must be given focus when this Feathers component is given focus by a focus manager.
This property may return null
. When it returns
null
, the focus manager should treat this display object
like any other display object that may receive focus but doesn't
implement INativeFocusOwner
.
If this property doesn't return a
flash.display.InteractiveObject
, the class must also
implement IAdvancedNativeFocusOwner
.
public function get nativeFocus():Object
See also