Packageview.primeFaces.surfaceComponents.components
Classpublic class Calendar
InheritanceCalendar Inheritance view.primeFaces.supportClasses.Container
Implements view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceComponent

Representation of Calendar in HTML

Visual Editor XML:
     <Calendar
     Attributes
     selectedDate=""
     width="120"
     height="120"
     mode="popup"
     minDate=""
     maxDate=""
     pattern="MM/dd/yyyy"/>
     
PrimeFaces output:
     <p:calendar
     Attributes
     value=""
     style="width:120px;height:120px;"
     mode="popup"
     minDate=""
     maxDate""
     pattern="MM/dd/yyyy"/>
     

Default MXML PropertymxmlContentFactory



Public Properties
 PropertyDefined By
  height : Number
[override] PrimeFaces: style
Calendar
  maxDate : Date
PrimeFaces: maxDate
Calendar
  minDate : Date
PrimeFaces: minDate
Calendar
  mode : String
PrimeFaces: mode
Calendar
  pattern : String
PrimeFaces: pattern
Calendar
  percentHeight : Number
[override] [read-only] PrimeFaces: style
Calendar
  percentWidth : Number
[override] [read-only] PrimeFaces: style
Calendar
  selectedDate : Date
PrimeFaces: value
Calendar
  width : Number
[override] [read-only] PrimeFaces: style
Calendar
Public Methods
 MethodDefined By
  
Calendar
  
toRora():XML
Calendar
  
Calendar
Protected Methods
 MethodDefined By
  
[override]
Calendar
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = Calendar
[static]
Calendar
  PRIME_FACES_XML_ELEMENT_NAME : String = calendar
[static]
Calendar
Property Detail
heightproperty
height:Number[override]

PrimeFaces: style

The default value is "120".

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


Implementation
    public function get height():Number
    public function set height(value:Number):void

Example
Visual Editor XML:
<Div height="120"/>
PrimeFaces:
<div style="height:120px;"/>
maxDateproperty 
maxDate:Date

PrimeFaces: maxDate

The default value is null.

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


Implementation
    public function get maxDate():Date
    public function set maxDate(value:Date):void

Example
Visual Editor XML:
<Calendar maxDate=""/>
PrimeFaces:
<p:calendar maxDate=""/>
minDateproperty 
minDate:Date

PrimeFaces: minDate

The default value is null.

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


Implementation
    public function get minDate():Date
    public function set minDate(value:Date):void

Example
Visual Editor XML:
<Calendar minDate=""/>
PrimeFaces:
<p:calendar minDate=""/>
modeproperty 
mode:String

PrimeFaces: mode

The default value is "popup".

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


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

Example
Visual Editor XML:
<Calendar mode="popup"/>
PrimeFaces:
<p:calendar mode="popup"/>
patternproperty 
pattern:String

PrimeFaces: pattern

The default value is "MM/dd/yyyy".

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


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

Example
Visual Editor XML:
<Calendar pattern=""/>
PrimeFaces:
<p:calendar pattern=""/>
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:
<Div percentHeight="80"/>
PrimeFaces:
<div 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:
<Div percentWidth="80"/>
PrimeFaces:
<div style="width:80%;"/>
selectedDateproperty 
selectedDate:Date

PrimeFaces: value

The default value is null.

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


Implementation
    public function get selectedDate():Date
    public function set selectedDate(value:Date):void

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

PrimeFaces: style

The default value is "120".

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


Implementation
    public function get width():Number

Example
Visual Editor XML:
<Div width="120"/>
PrimeFaces:
<div style="width:120px;"/>
Constructor Detail
Calendar()Constructor
public function Calendar()



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
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = Calendar

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = calendar