Package | view.primeFaces.surfaceComponents.components |
Class | public class TextEditor |
Inheritance | TextEditor ![]() |
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
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
TextEditor | |||
toRora():XML | TextEditor | ||
toRoyaleConvertCode():XML | TextEditor |
Constant | Defined By | ||
---|---|---|---|
ELEMENT_NAME : String = TextEditor [static] | TextEditor | ||
PRIME_FACES_XML_ELEMENT_NAME : String = textEditor [static] | TextEditor |
height | property |
height:Number
[read-only] [override]
PrimeFaces: style
The default value is "100"
.
This property can be used as the source for data binding.
public function get height():Number
<TextEditor height="100"/>
<p:textEditor style="height:100px;"/>
percentHeight | property |
percentHeight:Number
[read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentHeight():Number
<TextEditor percentHeight="80"/>
<p:textEditor style="height:80%;"/>
percentWidth | property |
percentWidth:Number
[read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentWidth():Number
<TextEditor percentWidth="80"/>
<p:textEditor style="width:80%;"/>
placeholder | property |
placeholder:String
PrimeFaces: placeholder
The default value is null
.
This property can be used as the source for data binding.
public function get placeholder():String
public function set placeholder(value:String):void
<TextEditor placeholder=""/>
<p:textEditor placeholder=""/>
text | property |
text:String
PrimeFaces: value
The default value is null
.
This property can be used as the source for data binding.
public function get text():String
public function set text(value:String):void
<TextEditor text=""/>
<p:textEditor value=""/>
widgetVar | property |
widgetVar:String
PrimeFaces: widgetVar
The default value is null
.
This property can be used as the source for data binding.
public function get widgetVar():String
public function set widgetVar(value:String):void
<TextEditor widgetVar=""/>
<p:textEditor widgetVar=""/>
width | property |
width:Number
[read-only] [override]
PrimeFaces: style
The default value is "250"
.
This property can be used as the source for data binding.
public function get width():Number
<TextEditor width="250"/>
<p:textEditor style="width:250px;"/>
TextEditor | () | Constructor |
public function TextEditor()
toRora | () | method |
public function toRora():XML
ReturnsXML |
toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XML
ReturnsXML |
ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = TextEditor
PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = textEditor