Packageview.primeFaces.surfaceComponents.components
Classpublic class InputNumber
InheritanceInputNumber Inheritance spark.components.TextInput
Implements view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IIdAttribute, view.interfaces.IHistorySurfaceCustomHandlerComponent, interfaces.IComponentSizeOutput

Representation of PrimeFaces inputNumber component.

Visual Editor XML:
     <InputNumber
     Attributes
     id=""
     width="100"
     height="30"
     value=""
     decimalSeparator="."
     thousandSeparator=","
     required="false"/>
     
PrimeFaces output:
     <p:inputNumber
     Attributes
     id=""
     style="width:100px;height:30px;"
     value=""
     decimalSeparator="."
     thousandSeparator=","
     required="false"/>
     

Default MXML Propertytext



Public Properties
 PropertyDefined By
  decimalSeparator : String
PrimeFaces: decimalSeparator
InputNumber
  height : Number
[override] [read-only] PrimeFaces: style
InputNumber
  heightOutput : Boolean
InputNumber
  idAttribute : String
PrimeFaces: id (Optional)
InputNumber
  percentHeight : Number
[override] [read-only] PrimeFaces: style
InputNumber
  percentWidth : Number
[override] [read-only] PrimeFaces: style
InputNumber
  required : Boolean
PrimeFaces: required
InputNumber
  text : String
[override] [write-only] PrimeFaces: value
InputNumber
  thousandSeparator : String
PrimeFaces: thousandSeparator
InputNumber
  width : Number
[override] [read-only] PrimeFaces: style
InputNumber
  widthOutput : Boolean
InputNumber
Protected Properties
 PropertyDefined By
  heightOutputChanged : Boolean
InputNumber
  widthOutputChanged : Boolean
InputNumber
Public Methods
 MethodDefined By
  
InputNumber
  
toRora():XML
InputNumber
  
InputNumber
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = InputNumber
[static]
InputNumber
  PRIME_FACES_XML_ELEMENT_NAME : String = inputNumber
[static]
InputNumber
Property Detail
decimalSeparatorproperty
decimalSeparator:String

PrimeFaces: decimalSeparator

The default value is ".".

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


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

Example
Visual Editor XML:
<InputNumber decimalSeparator="."/>
PrimeFaces:
<p:inputNumber decimalSeparator="."/>
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:
<InputMask height="30"/>
PrimeFaces:
<p:inputMask 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)


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

Example
Visual Editor XML:
<InputNumber id=""/>
PrimeFaces:
<p:inputNumber id=""/>
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:
<InputNumber percentHeight="80"/>
PrimeFaces:
<p:inputNumber 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:
<InputNumber percentWidth="80"/>
PrimeFaces:
<p:inputNumber 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:
<InputNumber required="false"/>
PrimeFaces:
<p:inputNumber required="false"/>
textproperty 
text:String  [write-only] [override]

PrimeFaces: value

The default value is "0.00".

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


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

Example
Visual Editor XML:
<InputNumber value=""/>
PrimeFaces:
<p:inputNumber value=""/>
thousandSeparatorproperty 
thousandSeparator:String

PrimeFaces: thousandSeparator

The default value is ",".

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


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

Example
Visual Editor XML:
<InputNumber thousandSeparator=","/>
PrimeFaces:
<p:inputNumber thousandSeparator=","/>
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:
<InputMask width="100"/>
PrimeFaces:
<p:inputMask 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
InputNumber()Constructor
public function InputNumber()



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 = InputNumber

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = inputNumber