Packageflexunit.flexui.controls
Classpublic class PromptingTextInput
InheritancePromptingTextInput Inheritance mx.controls.TextInput

The PromptingTextInput component is a small enhancement to standard TextInput. It adds the ability to specify a prompt value that displays when the text is empty, similar to how the prompt property of the ComboBox behaves when there is no selected value.



Public Properties
 PropertyDefined by
  displayAsPassword : Boolean
PromptingTextInput
  prompt : String
The string to use as the prompt value
PromptingTextInput
  promptFormat : String
A format string to specify how the prompt is displayed.
PromptingTextInput
  text : String
PromptingTextInput
Public Methods
 MethodDefined by
  
Constructor
PromptingTextInput
Property detail
displayAsPasswordproperty
displayAsPassword:Boolean  [read-write]Implementation
    public function get displayAsPassword():Boolean
    public function set displayAsPassword(value:Boolean):void
promptproperty 
prompt:String  [read-write]

The string to use as the prompt value

Implementation
    public function get prompt():String
    public function set prompt(value:String):void
promptFormatproperty 
promptFormat:String  [read-write]

A format string to specify how the prompt is displayed. This is typically an HTML string that can set the font color and style. Use [prompt] within the string as a replacement token that will be replaced with the actual prompt text. The default value is "<font color="#999999"><i>[prompt]</i></font>"

Implementation
    public function get promptFormat():String
    public function set promptFormat(value:String):void
textproperty 
text:String  [read-write]Implementation
    public function get text():String
    public function set text(value:String):void
Constructor detail
PromptingTextInput()constructor
public function PromptingTextInput()

Constructor