Packageview.primeFaces.surfaceComponents.components
Classpublic class InputText
InheritanceInputText Inheritance spark.components.TextInput
Implements view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IIdAttribute, view.interfaces.IHistorySurfaceComponent, interfaces.IComponentSizeOutput

Representation of PrimeFaces inputText component.

Visual Editor XML:
     <InputText
     Attributes
     id=""
     width="100"
     height="30"
     value=""
     maxlength=""
     required="false"/>
     
PrimeFaces output:
     <p:inputText
     Attributes
     id=""
     style="width:100px;height:30px;"
     value=""
     maxlength=""
     required="false"/>
     

Default MXML Propertytext



Public Properties
 PropertyDefined By
  height : Number
[override] [read-only] PrimeFaces: style
InputText
  heightOutput : Boolean
InputText
  idAttribute : String
PrimeFaces: id (Optional)
InputText
  maxLength : String
PrimeFaces: maxlength (Optional)
InputText
  percentHeight : Number
[override] [read-only] PrimeFaces: style
InputText
  percentWidth : Number
[override] [read-only] PrimeFaces: style
InputText
  required : Boolean
PrimeFaces: required
InputText
  text : String
[override] PrimeFaces: value
InputText
  width : Number
[override] [read-only] PrimeFaces: style
InputText
  widthOutput : Boolean
InputText
Protected Properties
 PropertyDefined By
  heightOutputChanged : Boolean
InputText
  widthOutputChanged : Boolean
InputText
Public Methods
 MethodDefined By
  
InputText
  
toRora():XML
InputText
  
InputText
Protected Methods
 MethodDefined By
  
[override]
InputText
Public Constants
 ConstantDefined By
  DOMINO_XML_ELEMENT_NAME : String = field
[static]
InputText
  ELEMENT_NAME : String = InputText
[static]
InputText
  PRIME_FACES_XML_ELEMENT_NAME : String = inputText
[static]
InputText
Property Detail
heightproperty
height:Number  [read-only] [override]

PrimeFaces: style

The default value is "30".

This property can be used as the source for data binding.


Implementation
    public function get height():Number

Example
Visual Editor XML:
<InputText height="30"/>
PrimeFaces:
<p:inputText style="width:100px;height:30px;"/>
heightOutputproperty 
heightOutput:Boolean

This property can be used as the source for data binding.


Implementation
    public function get heightOutput():Boolean
    public function set heightOutput(value:Boolean):void
heightOutputChangedproperty 
protected var heightOutputChanged:Boolean

idAttributeproperty 
idAttribute:String

PrimeFaces: id (Optional)

This property can be used as the source for data binding.


Implementation
    public function get idAttribute():String
    public function set idAttribute(value:String):void

Example
Visual Editor XML:
<InputText id=""/>
PrimeFaces:
<p:inputText id=""/>
maxLengthproperty 
maxLength:String

PrimeFaces: maxlength (Optional)

This property can be used as the source for data binding.


Implementation
    public function get maxLength():String
    public function set maxLength(value:String):void

Example
Visual Editor XML:
<InputText maxlength=""/>
PrimeFaces:
<p:inputText maxlength=""/>
percentHeightproperty 
percentHeight:Number  [read-only] [override]

PrimeFaces: style

This property can be used as the source for data binding.


Implementation
    public function get percentHeight():Number

Example
Visual Editor XML:
<InputText percentHeight="80"/>
PrimeFaces:
<p:inputText style="height:80%;"/>
percentWidthproperty 
percentWidth:Number  [read-only] [override]

PrimeFaces: style

This property can be used as the source for data binding.


Implementation
    public function get percentWidth():Number

Example
Visual Editor XML:
<InputText percentWidth="80"/>
PrimeFaces:
<p:inputText style="width:80%;"/>
requiredproperty 
required:Boolean

PrimeFaces: required

The default value is "false".

This property can be used as the source for data binding.


Implementation
    public function get required():Boolean
    public function set required(value:Boolean):void

Example
Visual Editor XML:
<InputText required="false"/>
PrimeFaces:
<p:inputText required="false"/>
textproperty 
text:String[override]

PrimeFaces: value

This property can be used as the source for data binding.


Implementation
    public function get text():String
    public function set text(value:String):void

Example
Visual Editor XML:
<InputText value=""/>
PrimeFaces:
<p:inputText value=""/>
widthproperty 
width:Number  [read-only] [override]

PrimeFaces: style

The default value is "100".

This property can be used as the source for data binding.


Implementation
    public function get width():Number

Example
Visual Editor XML:
<InputText width="100"/>
PrimeFaces:
<p:inputText style="width:100px;height:30px;"/>
widthOutputproperty 
widthOutput:Boolean

This property can be used as the source for data binding.


Implementation
    public function get widthOutput():Boolean
    public function set widthOutput(value:Boolean):void
widthOutputChangedproperty 
protected var widthOutputChanged:Boolean

Constructor Detail
InputText()Constructor
public function InputText()



Method Detail
commitProperties()method
override protected function commitProperties():void

toRora()method 
public function toRora():XML

Returns
XML
toRoyaleConvertCode()method 
public function toRoyaleConvertCode():XML

Returns
XML
Constant Detail
DOMINO_XML_ELEMENT_NAMEConstant
public static const DOMINO_XML_ELEMENT_NAME:String = field

ELEMENT_NAMEConstant 
public static const ELEMENT_NAME:String = InputText

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = inputText