Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
IStyleableEditableText

Package | spark.components.supportClasses
Interface | public interface IStyleableEditableText extends IEditableText, IUIComponent, IFlexDisplayObject, IDisplayText, flash.display.IBitmapDrawable, flash.events.IEventDispatcher, flash.events.IEventDispatcher
Implementors | ScrollableStageText, StyleableStageText

IStyleableEditableText defines the methods and properties of classes that implement styleable wrappers around native input text.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | accessibilityProperties : AccessibilityProperties | IEditableText
|  | accessibilityProperties : AccessibilityProperties | IFlexDisplayObject
|  | alpha : Number | IFlexDisplayObject
|  | baselinePosition : Number [read-only] The y-coordinate of the baseline of the first line of text of the component. | IUIComponent
|  | blendMode : String | IFlexDisplayObject
|  | cacheAsBitmap : Boolean | IFlexDisplayObject
|  | displayAsPassword : Boolean | IEditableText
|  | document : Object A reference to the document object associated with this component. | IUIComponent
|  | editable : Boolean Flag that indicates whether the text is editable. | IEditableText
|  | enabled : Boolean Whether the component can accept user interaction. | IEditableText
|  | enabled : Boolean Whether the component can accept user interaction. | IUIComponent
|  | 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 | IFlexDisplayObject
|  | focusEnabled : Boolean Indicates whether the component can receive focus when tabbed to. | IEditableText
|  | focusPane : Sprite A single Sprite object that is shared among components and used as an overlay for drawing the focus indicator. | IUIComponent
|  | height : Number | IFlexDisplayObject
|  | horizontalScrollPosition : Number The horizontal scroll position of the text. | IEditableText
|  | includeInLayout : Boolean Specifies whether this component is included in the layout of the parent container. | IUIComponent
|  | isPopUp : Boolean Set to true by the PopUpManager to indicate that component has been popped up. | IUIComponent
|  | isTruncated : Boolean [read-only] A flag that indicates whether the text has been truncated. | IDisplayText
|  | lineBreak : String Controls word wrapping within the text. | IEditableText
|  | loaderInfo : LoaderInfo [read-only] | IFlexDisplayObject
|  | mask : DisplayObject | IFlexDisplayObject
|  | maxChars : int | IEditableText
|  | 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
|  | mouseX : Number [read-only] | IFlexDisplayObject
|  | mouseY : Number [read-only] | IFlexDisplayObject
|  | multiline : Boolean | IEditableText
|  | name : String | IFlexDisplayObject
|  | opaqueBackground : Object | IFlexDisplayObject
|  | owner : DisplayObjectContainer The owner of this IVisualElement object. | IUIComponent
|  | parent : DisplayObjectContainer [read-only] | IFlexDisplayObject
|  | 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
|  | restrict : String | IEditableText
|  | root : DisplayObject [read-only] | IFlexDisplayObject
|  | rotation : Number | IFlexDisplayObject
|  | scale9Grid : Rectangle | IFlexDisplayObject
|  | scaleX : Number | IFlexDisplayObject
|  | scaleY : Number | IFlexDisplayObject
|  | scrollRect : Rectangle | IFlexDisplayObject
|  | selectable : Boolean | IEditableText
|  | selectionActivePosition : int [read-only] The active, or last clicked position, of the selection. | IEditableText
|  | selectionAnchorPosition : int [read-only] The anchor, or first clicked position, of the selection. | IEditableText
|  | stage : Stage [read-only] | IFlexDisplayObject
|  | styleName : Object [write-only] | IStyleableEditableText
|  | systemManager : ISystemManager A reference to the SystemManager object for this component. | IUIComponent
|  | tabIndex : int | IEditableText
|  | text : String The text displayed by this text component. | IDisplayText
|  | transform : Transform | IFlexDisplayObject
|  | tweeningProperties : Array Used by EffectManager. | IUIComponent
|  | verticalScrollPosition : Number The vertical scroll position of the text. | IEditableText
|  | visible : Boolean | IFlexDisplayObject
|  | width : Number | IFlexDisplayObject
|  | x : Number | IFlexDisplayObject
|  | y : Number | IFlexDisplayObject

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | appendText(text:String):void Appends the specified text to the end of the text component, as if you had clicked at the end and typed. | IEditableText
|  | commitStyles():void | IStyleableEditableText
|  | getBounds(targetCoordinateSpace:DisplayObject):Rectangle | IFlexDisplayObject
|  | getExplicitOrMeasuredHeight():Number A convenience method for determining whether to use the explicit or measured height | IUIComponent
|  | getExplicitOrMeasuredWidth():Number A convenience method for determining whether to use the explicit or measured width | IUIComponent
|  | getRect(targetCoordinateSpace:DisplayObject):Rectangle | IFlexDisplayObject
|  | globalToLocal(point:Point):Point | IFlexDisplayObject
|  | hitTestObject(obj:DisplayObject):Boolean | IFlexDisplayObject
|  | hitTestPoint(x:Number, y:Number, shapeFlag:Boolean = false):Boolean | IFlexDisplayObject
|  | initialize():void Initialize the object. | IUIComponent
|  | insertText(text:String):void Inserts the specified text into the text component as if you had typed it. | IEditableText
|  | localToGlobal(point:Point):Point | IFlexDisplayObject
|  | move(x:Number, y:Number):void Moves this object to the specified x and y coordinates. | IFlexDisplayObject
|  | owns(displayObject:DisplayObject):Boolean Returns true if the chain of owner properties points from child to this UIComponent. | IUIComponent
|  | parentChanged(p:DisplayObjectContainer):void Called by Flex when a UIComponent object is added to or removed from a parent. | IUIComponent
|  | scrollToRange(anchorPosition:int, activePosition:int):void Scroll so the specified range is in view. | IEditableText
|  | selectAll():void Selects all of the text. | IEditableText
|  | selectRange(anchorIndex:int, activeIndex:int):void Selects a specified range of characters. | IEditableText
|  | setActualSize(newWidth:Number, newHeight:Number):void Sets the actual size of this object. | IFlexDisplayObject
|  | setFocus():void Set focus to this text field. | IEditableText
|  | setVisible(value:Boolean, noEvent:Boolean = false):void Called when the visible property changes. | IUIComponent

Property Detail

styleName | property

`styleName:Object` [write-only]

Implementation
`public function set styleName(value:Object):void`
Method Detail

commitStyles | () | method

`public function commitStyles():void`

Wed Nov 15 2017, 09:50 AM +01:00