Packageview.primeFaces.surfaceComponents.components
Classpublic class TextEditor
InheritanceTextEditor Inheritance spark.components.BorderContainer
Implements view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceComponent, view.interfaces.IInitializeAfterAddedComponent, view.interfaces.ICDATAInformation

Representation of PrimeFaces TextEditor component.

Visual Editor XML:
     <TextEditor
     Attributes
     width="250"
     height="100"
     percentWidth=""
     percentHeight=""
     placeholder=""
     text=""
     widgetVar=""
     />
     
PrimeFaces output:
     <p:textEditor
     Attributes
     style="width:250px;height:100px;"
     placeholder=""
     value=""
     widgetVar=""
     />
     

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  height : Number
[override] [read-only] PrimeFaces: style
TextEditor
  percentHeight : Number
[override] [read-only] PrimeFaces: style
TextEditor
  percentWidth : Number
[override] [read-only] PrimeFaces: style
TextEditor
  placeholder : String
PrimeFaces: placeholder
TextEditor
  text : String
PrimeFaces: value
TextEditor
  widgetVar : String
PrimeFaces: widgetVar
TextEditor
  width : Number
[override] [read-only] PrimeFaces: style
TextEditor
Public Methods
 MethodDefined By
  
TextEditor
  
toRora():XML
TextEditor
  
TextEditor
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = TextEditor
[static]
TextEditor
  PRIME_FACES_XML_ELEMENT_NAME : String = textEditor
[static]
TextEditor
Property Detail
heightproperty
height: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 height():Number

Example
Visual Editor XML:
<TextEditor height="100"/>
PrimeFaces:
<p:textEditor style="height:100px;"/>
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:
<TextEditor percentHeight="80"/>
PrimeFaces:
<p:textEditor 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:
<TextEditor percentWidth="80"/>
PrimeFaces:
<p:textEditor style="width:80%;"/>
placeholderproperty 
placeholder:String

PrimeFaces: placeholder

The default value is null.

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


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

Example
Visual Editor XML:
<TextEditor placeholder=""/>
PrimeFaces:
<p:textEditor placeholder=""/>
textproperty 
text:String

PrimeFaces: value

The default value is null.

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:
<TextEditor text=""/>
PrimeFaces:
<p:textEditor value=""/>
widgetVarproperty 
widgetVar:String

PrimeFaces: widgetVar

The default value is null.

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


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

Example
Visual Editor XML:
<TextEditor widgetVar=""/>
PrimeFaces:
<p:textEditor widgetVar=""/>
widthproperty 
width:Number  [read-only] [override]

PrimeFaces: style

The default value is "250".

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


Implementation
    public function get width():Number

Example
Visual Editor XML:
<TextEditor width="250"/>
PrimeFaces:
<p:textEditor style="width:250px;"/>
Constructor Detail
TextEditor()Constructor
public function TextEditor()



Method Detail
toRora()method
public function toRora():XML

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

Returns
XML
Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = TextEditor

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = textEditor