| Package | lunas.display.text |
| Class | public class VisualTextInput |
| Inheritance | VisualTextInput AbstractTextInput AbstractComponent CoreSprite flash.display.Sprite |
ITextInput interface, this class is a proxy who use a skin sprite who contains a background and a dynamic textfield reference.
| Property | Defined by | ||
|---|---|---|---|
| background : Sprite
The internal background of this TextInput.
| VisualTextInput | ||
| backgroundName : String
The internal background name of this TextInput.
| VisualTextInput | ||
![]() | border : EdgeMetrics
Indicates the thickness, in pixels, of the four edge regions around a visual component.
| AbstractComponent | |
![]() | bubbles : Boolean = true
Indicates if the events use bubbling when are dispatched.
| AbstractComponent | |
![]() | builder : IBuilder
Indicates the IBuilder reference of this instance.
| AbstractComponent | |
![]() | componentInspectorSetting : Boolean
Initialize when the Flash component settings are initialized (only in Flash with a compiled component).
| AbstractComponent | |
![]() | condenseWhite : Boolean
Specifies whether extra white space (spaces, line breaks, and so on) should be removed in a TextInput control with HTML text.
| AbstractTextInput | |
![]() | data : *
Indicates the data value object of the component.
| AbstractTextInput | |
![]() | displayAsPassword : Boolean
Indicates whether this control is used for entering passwords.
| AbstractTextInput | |
![]() | editable : Boolean
Indicates whether the user is allowed to edit the text in this control.
| AbstractTextInput | |
![]() | enabled : Boolean
Indicates the enabled state of the component.
| AbstractComponent | |
| fieldName : String
The internal textfield name of this TextInput.
| VisualTextInput | ||
![]() | group : Boolean
Indicates with a boolean if this object is grouped.
| AbstractComponent | |
![]() | groupName : String
Indicates the name of the group of this object.
| AbstractComponent | |
![]() | h : Number
(read-only) Indicates the virtual height value of this component.
| AbstractComponent | |
![]() | horizontalScrollPosition : Number
Horizontal scroll position.
| AbstractTextInput | |
![]() | htmlText : String
Specifies the text displayed by the TextInput component, including HTML markup that expresses the styles of that text.
| AbstractTextInput | |
![]() | id : *
Returns the id of this object.
| CoreSprite | |
![]() | isConfigurable : Boolean
Indicates if the display is configurable.
| CoreSprite | |
![]() | maxChars : int
Maximum number of characters that users can enter in the text field.
| AbstractTextInput | |
![]() | maxHeight : Number
This property defined the maximum height of this component.
| AbstractComponent | |
![]() | maxWidth : Number
This property defined the maximum width of this component.
| AbstractComponent | |
![]() | minHeight : Number
This property defined the mimimun height of this component.
| AbstractComponent | |
![]() | minWidth : Number
This property defined the mimimun width of this component.
| AbstractComponent | |
![]() | multiline : Boolean
Indicates whether the text field is a multiline text field.
| AbstractTextInput | |
![]() | restrict : String
Indicates the set of characters that a user can enter into the control.
| AbstractTextInput | |
![]() | selected : Boolean
A flag that indicates whether this control is selected.
| AbstractTextInput | |
| skin : Sprite
Indicates the skin view of this visual textinput component.
| VisualTextInput | ||
![]() | style : IStyle
Returns the style of this component.
| AbstractComponent | |
![]() | tabIndex : int
Specifies the tab ordering of objects in a SWF file.
| AbstractTextInput | |
![]() | tabManager : TabManager
The tab manager of this component.
| AbstractTextInput | |
![]() | text : String
Plain text that appears in the component.
| AbstractTextInput | |
![]() | textField : TextField
The internal TextField that renders the text of this TextInput.
| AbstractTextInput | |
![]() | w : Number
(read-only) Indicates the virtual width value of this component.
| AbstractComponent | |
![]() | wordWrap : Boolean
A Boolean value that indicates whether the text field has word wrap.
| AbstractTextInput | |
| Method | Defined by | ||
|---|---|---|---|
|
VisualTextInput(id:* = null, skin:Sprite = null, isConfigurable:Boolean = false, name:String = null)
Creates a new VisualTextInput instance.
| VisualTextInput | ||
![]() |
doLater():void
Launch an event with a delayed interval.
| AbstractComponent | |
![]() |
draw(... arguments):void
Draw the view of the component.
| AbstractComponent | |
![]() |
getBuilderRenderer():Class
Returns the
IBuilder constructor use to initialize this component. | AbstractComponent | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreSprite | |
|
getStyleRenderer():Class
Invoked when the style of the component is changed.
| VisualTextInput | ||
![]() |
groupPolicyChanged():void
Invoked when the group property or the groupName property changed.
| AbstractTextInput | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreSprite | |
![]() |
hide():void
Hides the component.
| AbstractComponent | |
![]() |
initialize():void
Initialize the component.
| AbstractComponent | |
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreSprite | |
![]() |
isVisible():Boolean
Returns
true if the component is visible. | AbstractComponent | |
![]() |
lock():void
Locks the object.
| CoreSprite | |
![]() |
maxHorizontalScrollPosition():Number
[read-only] Maximum value of horizontalScrollPosition.
| AbstractTextInput | |
![]() |
move(x:Number, y:Number):void
Moves the component.
| AbstractComponent | |
![]() |
notifyChanged():void
Notify a change in this component.
| AbstractComponent | |
![]() |
notifyEnabled():void
Notify an event when the enabled property is changed.
| AbstractComponent | |
![]() |
notifyResized():void
Notify an event when you resize the component.
| AbstractComponent | |
![]() |
refresh(init:*):void
Refresh the component with an object of initialization.
| AbstractComponent | |
![]() |
resetLock():void
Reset the lock security of the display.
| CoreSprite | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreSprite | |
![]() |
setSize(w:Number, h:Number):void
Sets the virtuals width and height of the component.
| AbstractComponent | |
![]() |
setStyle(... args):void
Sets the style property on the style declaration or object.
| AbstractComponent | |
![]() |
setup():void
Setup the IConfigurable object.
| CoreSprite | |
![]() |
show():void
Shows the component.
| AbstractComponent | |
![]() |
toString():String
Returns the
String representation of this object. | CoreSprite | |
![]() |
unlock():void
Unlocks the display.
| CoreSprite | |
![]() |
update():void
Updates the component.
| AbstractComponent | |
|
viewChanged():void
Called when the view of the component is changed.
| VisualTextInput | ||
![]() |
viewDestroyed(e:Event = null):void
Invoked when the component is destroyed with a removeMovieClip.
| AbstractComponent | |
|
viewEnabled():void
Invoked when the enabled property of the component change.
| VisualTextInput | ||
![]() |
viewResize():void
Invoked when the component is resized.
| AbstractComponent | |
![]() |
viewStyleChanged(e:Event = null):void
Invoked when the component IStyle changed.
| AbstractComponent | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addedToStage(e:Event = null):void
Invoked when the display is added to the stage.
| CoreSprite | |
![]() |
fireComponentEvent(type:String):void
Dispatchs a ComponentEvent with the specified type.
| AbstractComponent | |
![]() |
focusIn(e:FocusEvent):void
Invoked when the focus is in in the component textfield.
| AbstractTextInput | |
![]() |
focusOut(e:FocusEvent):void
Invoked when the focus is out in the component textfield.
| AbstractTextInput | |
|
initSkin():void
Invoked to initialize the skin.
| VisualTextInput | ||
![]() |
keyDown(e:KeyboardEvent):void
Invoked when the component is focused and when a key is down.
| AbstractTextInput | |
![]() |
removedFromStage(e:Event = null):void
Invoked when the display is removed from the stage.
| AbstractTextInput | |
|
resolveSkin():void
Invoked to resolve the content of the skin.
| VisualTextInput | ||
![]() |
viewEditableChanged():void
Called when the editable attributes are invoked.
| AbstractTextInput | |
![]() |
viewHTMLTextChanged():void
Called when the htmlText attributes are invoked.
| AbstractTextInput | |
![]() |
viewTextChanged():void
Called when the text attributes are invoked.
| AbstractTextInput | |
| background | property |
background:Sprite [read-write]The internal background of this TextInput.
Implementation public function get background():Sprite
public function set background(value:Sprite):void
| backgroundName | property |
backgroundName:String [read-write]The internal background name of this TextInput.
Implementation public function get backgroundName():String
public function set backgroundName(value:String):void
| fieldName | property |
fieldName:String [read-write]The internal textfield name of this TextInput.
Implementation public function get fieldName():String
public function set fieldName(value:String):void
| skin | property |
skin:Sprite [read-write]Indicates the skin view of this visual textinput component. This sprite must contains a sprite with the instance name "background" and a dynamic textfield with the name "field".
Implementation public function get skin():Sprite
public function set skin(value:Sprite):void
| VisualTextInput | () | constructor |
public function VisualTextInput(id:* = null, skin:Sprite = null, isConfigurable:Boolean = false, name:String = null)Creates a new VisualTextInput instance.
Parametersid:* (default = null) — Indicates the id of the object.
|
|
skin:Sprite (default = null) — Indicates the skin view of this visual textinput component.
|
|
isConfigurable:Boolean (default = false) — This flag indicates if the IConfigurable object is register in the ConfigCollector.
|
|
name:String (default = null) — Indicates the instance name of the object.
|
| getStyleRenderer | () | method |
public override function getStyleRenderer():ClassInvoked when the style of the component is changed.
ReturnsClass |
| initSkin | () | method |
protected function initSkin():voidInvoked to initialize the skin.
| resolveSkin | () | method |
protected function resolveSkin():voidInvoked to resolve the content of the skin.
| viewChanged | () | method |
public override function viewChanged():voidCalled when the view of the component is changed.
| viewEnabled | () | method |
public override function viewEnabled():voidInvoked when the enabled property of the component change.