| Package | flexlib.controls |
| Class | public class PromptingTextInput |
| Inheritance | PromptingTextInput mx.controls.TextInput |
| Property | Defined By | ||
|---|---|---|---|
| displayAsPassword : Boolean [override] | 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 [override]
Override the behavior of text so that it doesn't take into account
the prompt. | PromptingTextInput | ||
| Method | Defined By | ||
|---|---|---|---|
Constructor
| PromptingTextInput | ||
| displayAsPassword | property |
displayAsPassword:Boolean[override] public function get displayAsPassword():Boolean public function set displayAsPassword(value:Boolean):void| prompt | property |
prompt:StringThe string to use as the prompt value
public function get prompt():String public function set prompt(value:String):void| promptFormat | property |
promptFormat:StringA format string to specify how the prompt is displayed. This is typically an HTML string that can set the font color and style. Use <codeph>[prompt]</codeph> 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>"
public function get promptFormat():String public function set promptFormat(value:String):void| text | property |
text:String[override] Override the behavior of text so that it doesn't take into account the prompt. If the prompt is displaying, the text is just an empty string.
This property can be used as the source for data binding.
public function get text():String public function set text(value:String):void| PromptingTextInput | () | Constructor |
public function PromptingTextInput()Constructor