Package | mx.core |
Interface | public interface ITextInput extends IDataRenderer , IDropInListItemRenderer , IFocusManagerComponent , IFontContextComponent , IIMESupport , IListItemRenderer , IUIComponent , IInvalidating , IStyleClient , IEventDispatcher , IFlexDisplayObject , ILayoutManagerClient , ISimpleStyleClient , IFlexDisplayObject , ISimpleStyleClient , IBitmapDrawable |
Implementors | TLFTextInput, TextInput |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Property | Defined By | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
The current accessibility options for this display object. | IFlexDisplayObject | ||
alpha : Number
Indicates the alpha transparency value of the object specified. | IFlexDisplayObject | ||
baselinePosition : Number [read-only]
The y-coordinate of the baseline
of the first line of text of the component. | IUIComponent | ||
blendMode : String
A value from the BlendMode class that specifies which blend mode to use. | IFlexDisplayObject | ||
cacheAsBitmap : Boolean
If set to true, Flash Player or Adobe AIR caches an internal bitmap representation of the
display object. | IFlexDisplayObject | ||
className : String [read-only]
The name of the component class. | IStyleClient | ||
data : Object
The data to render or edit. | IDataRenderer | ||
document : Object
A reference to the document object associated with this component. | IUIComponent | ||
editable : Boolean
Documentation is not currently available. | ITextInput | ||
enabled : Boolean
Whether the component can accept user interaction. | IUIComponent | ||
enableIME : Boolean [read-only]
Specifies whether the IME should be enabled when
this component has focus. | IIMESupport | ||
explicitHeight : Number
The explicitly specified height for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxHeight : Number [read-only]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMaxWidth : Number [read-only]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinHeight : Number [read-only]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitMinWidth : Number [read-only]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
explicitWidth : Number
The explicitly specified width for the component,
in pixels, as the component's coordinates. | IUIComponent | ||
filters : Array
An indexed array that contains each filter object currently associated with the display object. | IFlexDisplayObject | ||
focusEnabled : Boolean
A flag that indicates whether the component can receive focus when selected. | IFocusManagerComponent | ||
focusPane : Sprite
A single Sprite object that is shared among components
and used as an overlay for drawing the focus indicator. | IUIComponent | ||
fontContext : IFlexModuleFactory
The module factory that provides the font context for this component. | IFontContextComponent | ||
hasFocusableChildren : Boolean
A flag that indicates whether child objects can receive focus
This is similar to the tabChildren property
used by Flash Player.
This is usually false because most components
either receive focus themselves or delegate focus to a single
internal sub-component and appear as if the component has
received focus. | IFocusManagerComponent | ||
height : Number
Indicates the height of the display object, in pixels. | IFlexDisplayObject | ||
horizontalScrollPosition : Number
Documentation is not currently available. | ITextInput | ||
imeMode : String
The IME mode of the component. | IIMESupport | ||
includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | IUIComponent | ||
inheritingStyles : Object
An object containing the inheritable styles for this component. | IStyleClient | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required)
This flag should only be modified by the LayoutManager. | ILayoutManagerClient | ||
isPopUp : Boolean
Set to true by the PopUpManager to indicate
that component has been popped up. | IUIComponent | ||
listData : BaseListData
Implements the listData property
using setter and getter methods. | IDropInListItemRenderer | ||
loaderInfo : LoaderInfo [read-only]
Returns a LoaderInfo object containing information about loading the file
to which this display object belongs. | IFlexDisplayObject | ||
mask : DisplayObject
The calling display object is masked by the specified mask object. | IFlexDisplayObject | ||
maxChars : int
Documentation is not currently available. | ITextInput | ||
maxHeight : Number [read-only]
Number that specifies the maximum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
maxWidth : Number [read-only]
Number that specifies the maximum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
measuredHeight : Number [read-only]
The measured height of this object. | IFlexDisplayObject | ||
measuredMinHeight : Number
The default minimum height of the component, in pixels. | IUIComponent | ||
measuredMinWidth : Number
The default minimum width of the component, in pixels. | IUIComponent | ||
measuredWidth : Number [read-only]
The measured width of this object. | IFlexDisplayObject | ||
minHeight : Number [read-only]
Number that specifies the minimum height of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
minWidth : Number [read-only]
Number that specifies the minimum width of the component,
in pixels, as the component's coordinates. | IUIComponent | ||
mouseChildren : Boolean
Documentation is not currently available. | ITextInput | ||
mouseEnabled : Boolean
Documentation is not currently available. | ITextInput | ||
mouseFocusEnabled : Boolean [read-only]
A flag that indicates whether the component can receive focus
when selected with the mouse. | IFocusManagerComponent | ||
mouseX : Number [read-only]
Indicates the x coordinate of the mouse position, in pixels. | IFlexDisplayObject | ||
mouseY : Number [read-only]
Indicates the y coordinate of the mouse position, in pixels. | IFlexDisplayObject | ||
name : String
Indicates the instance name of the DisplayObject. | IFlexDisplayObject | ||
nestLevel : int
The top-level SystemManager has a nestLevel of 1. | ILayoutManagerClient | ||
nonInheritingStyles : Object
An object containing the noninheritable styles for this component. | IStyleClient | ||
opaqueBackground : Object
Specifies whether the display object is opaque with a certain background color. | IFlexDisplayObject | ||
owner : DisplayObjectContainer
The owner of this IVisualElement object. | IUIComponent | ||
parent : DisplayObjectContainer [read-only]
Indicates the DisplayObjectContainer object that contains this display object. | IFlexDisplayObject | ||
parentDrawsFocus : Boolean
Documentation is not currently available. | ITextInput | ||
percentHeight : Number
Number that specifies the height of a component as a
percentage of its parent's size. | IUIComponent | ||
percentWidth : Number
Number that specifies the width of a component as a
percentage of its parent's size. | IUIComponent | ||
processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | ILayoutManagerClient | ||
restrict : String
Documentation is not currently available. | ITextInput | ||
root : DisplayObject [read-only]
For a display object in a loaded SWF file, the root property is the
top-most display object in the portion of the display list's tree structure represented by that SWF file. | IFlexDisplayObject | ||
rotation : Number
Indicates the rotation of the DisplayObject instance, in degrees, from its original orientation. | IFlexDisplayObject | ||
scale9Grid : Rectangle
The current scaling grid that is in effect. | IFlexDisplayObject | ||
scaleX : Number
Indicates the horizontal scale (percentage) of the object as applied from the registration point. | IFlexDisplayObject | ||
scaleY : Number
Indicates the vertical scale (percentage) of an object as applied from the registration point of the object. | IFlexDisplayObject | ||
scrollRect : Rectangle
The scroll rectangle bounds of the display object. | IFlexDisplayObject | ||
selectable : Boolean
Documentation is not currently available. | ITextInput | ||
selectionActivePosition : int [read-only]
Documentation is not currently available. | ITextInput | ||
selectionAnchorPosition : int [read-only]
Documentation is not currently available. | ITextInput | ||
stage : Stage [read-only]
The Stage of the display object. | IFlexDisplayObject | ||
styleDeclaration : CSSStyleDeclaration
The style declaration that holds the inline styles declared by this
object. | IStyleClient | ||
styleName : Object
The source of this object's style values. | ISimpleStyleClient | ||
systemManager : ISystemManager
A reference to the SystemManager object for this component. | IUIComponent | ||
tabFocusEnabled : Boolean [read-only]
A flag that indicates whether pressing the Tab key eventually
moves focus to this component. | IFocusManagerComponent | ||
tabIndex : int
If tabFocusEnabled, the order in which the component receives focus. | IFocusManagerComponent | ||
text : String
Documentation is not currently available. | ITextInput | ||
transform : flash.geom:Transform
An object with properties pertaining to a display object's matrix, color transform, and pixel bounds. | IFlexDisplayObject | ||
tweeningProperties : Array
Used by EffectManager. | IUIComponent | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object is waiting to have its
updateComplete event dispatched. | ILayoutManagerClient | ||
visible : Boolean
Whether or not the display object is visible. | IFlexDisplayObject | ||
width : Number
Indicates the width of the display object, in pixels. | IFlexDisplayObject | ||
x : Number
Indicates the x coordinate of the DisplayObject instance relative to the local coordinates of
the parent DisplayObjectContainer. | IFlexDisplayObject | ||
y : Number
Indicates the y coordinate of the DisplayObject instance relative to the local coordinates of
the parent DisplayObjectContainer. | IFlexDisplayObject |
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Deletes a style property from this component instance. | IStyleClient | ||
Dispatches an event into the event flow. | IEventDispatcher | ||
Called by the FocusManager when the component receives focus. | IFocusManagerComponent | ||
Returns a rectangle that defines the area of the display object relative to the coordinate system
of the targetCoordinateSpace object. | IFlexDisplayObject | ||
Returns an Array of CSSStyleDeclaration objects for the type selector
that applies to this component, or null if none exist. | IStyleClient | ||
A convenience method for determining whether to use the
explicit or measured height
| IUIComponent | ||
A convenience method for determining whether to use the
explicit or measured width
| IUIComponent | ||
Returns a rectangle that defines the boundary of the display object,
based on the coordinate system defined by the targetCoordinateSpace
parameter, excluding any strokes on shapes. | IFlexDisplayObject | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | IStyleClient | ||
Converts the point object from the Stage (global) coordinates
to the display object's (local) coordinates. | IFlexDisplayObject | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Evaluates the bounding box of the display object to see if it overlaps or intersects with the
bounding box of the obj display object. | IFlexDisplayObject | ||
Evaluates the display object to see if it overlaps or intersects with the
point specified by the x and y parameters. | IFlexDisplayObject | ||
Initialize the object. | IUIComponent | ||
Calling this method results in a call to the component's
validateDisplayList() method
before the display list is rendered. | IInvalidating | ||
Calling this method results in a call to the component's
validateProperties() method
before the display list is rendered. | IInvalidating | ||
Calling this method results in a call to the component's
validateSize() method
before the display list is rendered. | IInvalidating | ||
Converts the point object from the display object's (local) coordinates to the
Stage (global) coordinates. | IFlexDisplayObject | ||
Moves this object to the specified x and y coordinates. | IFlexDisplayObject | ||
Propagates style changes to the children of this component. | IStyleClient | ||
Returns true if the chain of owner properties
points from child to this UIComponent. | IUIComponent | ||
Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent | ||
Sets up the internal style cache values so that the getStyle()
method functions. | IStyleClient | ||
Registers the EffectManager as one of the event listeners for each effect event. | IStyleClient | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Selects the text in the range specified by the parameters. | ITextInput | ||
Sets the actual size of this object. | IFlexDisplayObject | ||
Called by the FocusManager when the component receives focus. | IFocusManagerComponent | ||
Sets a style property on this component instance. | IStyleClient | ||
Called when the visible property changes. | IUIComponent | ||
Determines whether the border and background of the TextInput are
visible. | ITextInput | ||
Called when the value of a style property is changed. | ISimpleStyleClient | ||
Validates the position and size of children and draws other
visuals. | ILayoutManagerClient | ||
Validates and updates the properties and layout of this object
by immediately calling validateProperties(),
validateSize(), and validateDisplayList(),
if necessary. | IInvalidating | ||
Validates the properties of a component. | ILayoutManagerClient | ||
Validates the measured size of the component
If the LayoutManager.invalidateSize() method is called with
this ILayoutManagerClient, then the validateSize() method
is called when it's time to do measurements. | ILayoutManagerClient | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
editable | property |
editable:Boolean
Documentation is not currently available.
public function get editable():Boolean
public function set editable(value:Boolean):void
horizontalScrollPosition | property |
horizontalScrollPosition:Number
Documentation is not currently available.
public function get horizontalScrollPosition():Number
public function set horizontalScrollPosition(value:Number):void
maxChars | property |
maxChars:int
Documentation is not currently available.
public function get maxChars():int
public function set maxChars(value:int):void
mouseChildren | property |
mouseChildren:Boolean
Documentation is not currently available.
public function get mouseChildren():Boolean
public function set mouseChildren(value:Boolean):void
mouseEnabled | property |
mouseEnabled:Boolean
Documentation is not currently available.
public function get mouseEnabled():Boolean
public function set mouseEnabled(value:Boolean):void
parentDrawsFocus | property |
parentDrawsFocus:Boolean
Documentation is not currently available.
public function get parentDrawsFocus():Boolean
public function set parentDrawsFocus(value:Boolean):void
restrict | property |
restrict:String
Documentation is not currently available.
public function get restrict():String
public function set restrict(value:String):void
selectable | property |
selectable:Boolean
Documentation is not currently available.
public function get selectable():Boolean
public function set selectable(value:Boolean):void
selectionActivePosition | property |
selectionActivePosition:int
[read-only] Documentation is not currently available.
public function get selectionActivePosition():int
selectionAnchorPosition | property |
selectionAnchorPosition:int
[read-only] Documentation is not currently available.
public function get selectionAnchorPosition():int
text | property |
text:String
Documentation is not currently available.
public function get text():String
public function set text(value:String):void
selectRange | () | method |
public function selectRange(anchorPosition:int, activePosition:int):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Selects the text in the range specified by the parameters.
Parameters
anchorPosition:int | |
activePosition:int |
showBorderAndBackground | () | method |
public function showBorderAndBackground(visible:Boolean):void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Determines whether the border and background of the TextInput are visible.
Parameters
visible:Boolean |