Package | ardisia.components.textInput |
Class | public class TextInput |
Inheritance | TextInput spark.components.TextInput |
View the technical documentation on the Ardisia Labs website for more information.
Default MXML Propertytext
Property | Defined By | ||
---|---|---|---|
hideClearButtonOnFocusOut : Boolean
When true, on focusOut, even if text is still displayed in this
control, the optional clear button part will be hidden. | TextInput |
Method | Defined By | ||
---|---|---|---|
dispose():void
Removes the component from the display list, removes any latent event
listeners, and disposes of any BitmapData. | TextInput |
Method | Defined By | ||
---|---|---|---|
clearButtonPartHandler(event:Event):void
Handles events on the clear button skin part. | TextInput | ||
eventHandler(event:Event):void
Handles events on this control. | TextInput | ||
updateClearButtonPart():void
Update the clear button skin part. | TextInput | ||
updateIconPart():void
Update the icon skin part. | TextInput |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the optional clear button part is clicked and the text is cleared. | TextInput |
This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.
hideClearButtonOnFocusOut | property |
hideClearButtonOnFocusOut:Boolean
When true, on focusOut, even if text is still displayed in this control, the optional clear button part will be hidden.
In other words, if true, the clear button part will only be displayed if the control has focus.
The default value is true
.
public function get hideClearButtonOnFocusOut():Boolean
public function set hideClearButtonOnFocusOut(value:Boolean):void
clearButtonPartHandler | () | method |
protected function clearButtonPartHandler(event:Event):void
Handles events on the clear button skin part.
Parameters
event:Event — the Event that triggered the handler
|
dispose | () | method |
public function dispose():void
Removes the component from the display list, removes any latent event listeners, and disposes of any BitmapData.
eventHandler | () | method |
protected function eventHandler(event:Event):void
Handles events on this control.
Parameters
event:Event — the Event that triggered the handler
|
updateClearButtonPart | () | method |
protected function updateClearButtonPart():void
Update the clear button skin part.
updateIconPart | () | method |
protected function updateIconPart():void
Update the icon skin part.
clear | Event |
ardisia.components.textInput.events.TextInputEvent
ardisia.components.textInput.events.TextInputEvent
Dispatched when the optional clear button part is clicked and the text is cleared.