| Package | view.primeFaces.surfaceComponents.components |
| Class | public class InputMask |
| Inheritance | InputMask components.MaskedTextInput |
| Implements | view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IIdAttribute, view.interfaces.IHistorySurfaceComponent, interfaces.IComponentSizeOutput |
Representation of PrimeFaces inputMask component.
Visual Editor XML:
<InputMask
Attributes
id=""
width="100"
height="30"
value=""
mask="(999) 999-9999"
required="false"/>
PrimeFaces output:
<p:inputMask
Attributes
id=""
style="width:100px;height:30px;"
value=""
mask="(999) 999-9999"
required="false"/>
Default MXML Propertytext
| Property | Defined By | ||
|---|---|---|---|
| height : Number [override] [read-only]
PrimeFaces: style
| InputMask | ||
| heightOutput : Boolean | InputMask | ||
| idAttribute : String
PrimeFaces: id (Optional)
| InputMask | ||
| maskText : String [override] [read-only]
PrimeFaces: mask
| InputMask | ||
| percentHeight : Number [override] [read-only]
PrimeFaces: style
| InputMask | ||
| percentWidth : Number [override] [read-only]
PrimeFaces: style
| InputMask | ||
| required : Boolean
PrimeFaces: required
| InputMask | ||
| text : String [override] [read-only]
PrimeFaces: value
| InputMask | ||
| width : Number [override] [read-only]
PrimeFaces: style
| InputMask | ||
| widthOutput : Boolean | InputMask | ||
| Property | Defined By | ||
|---|---|---|---|
| heightOutputChanged : Boolean | InputMask | ||
| widthOutputChanged : Boolean | InputMask | ||
| Method | Defined By | ||
|---|---|---|---|
| InputMask | |||
toRora():XML | InputMask | ||
toRoyaleConvertCode():XML | InputMask | ||
| Method | Defined By | ||
|---|---|---|---|
commitProperties():void [override] | InputMask | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = InputMask [static] | InputMask | ||
| PRIME_FACES_XML_ELEMENT_NAME : String = inputMask [static] | InputMask | ||
| height | property |
height:Number [read-only] [override]
PrimeFaces: style
The default value is "30".
This property can be used as the source for data binding.
public function get height():Number<InputMask height="30"/>
<p:inputMask style="width:100px;height:30px;"/>
| heightOutput | property |
heightOutput:BooleanThis property can be used as the source for data binding.
public function get heightOutput():Boolean public function set heightOutput(value:Boolean):void| heightOutputChanged | property |
protected var heightOutputChanged:Boolean| idAttribute | property |
idAttribute:String
PrimeFaces: id (Optional)
public function get idAttribute():String public function set idAttribute(value:String):void<InputMask id=""/>
<p:inputMask id=""/>
| maskText | property |
maskText:String [read-only] [override]
PrimeFaces: mask
The default value is "(999) 999-9999".
This property can be used as the source for data binding.
public function get maskText():String<InputMask mask="(999) 999-9999"/>
<p:inputMask mask="(999) 999-9999"/>
| 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<InputMask percentHeight="80"/>
<p:inputMask 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<InputMask percentWidth="80"/>
<p:inputMask style="width:80%;"/>
| required | property |
required:Boolean
PrimeFaces: required
The default value is "false".
This property can be used as the source for data binding.
public function get required():Boolean public function set required(value:Boolean):void<inputMask required="false"/>
<p:inputMask required="false"/>
| text | property |
text:String [read-only] [override]
PrimeFaces: value
public function get text():String<InputMask value=""/>
<p:inputMask value=""/>
| width | property |
width: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 width():Number<InputMask width="100"/>
<p:inputMask style="width:100px;height:30px;"/>
| widthOutput | property |
widthOutput:BooleanThis property can be used as the source for data binding.
public function get widthOutput():Boolean public function set widthOutput(value:Boolean):void| widthOutputChanged | property |
protected var widthOutputChanged:Boolean| InputMask | () | Constructor |
public function InputMask()| commitProperties | () | method |
override protected function commitProperties():void| toRora | () | method |
public function toRora():XMLReturnsXML |
| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = InputMask| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = inputMask