| Package | view.primeFaces.surfaceComponents.components |
| Class | public class Calendar |
| Inheritance | Calendar 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
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
Calendar() | Calendar | ||
toRora():XML | Calendar | ||
toRoyaleConvertCode():XML | Calendar | ||
| Method | Defined By | ||
|---|---|---|---|
commitProperties():void [override] | Calendar | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = Calendar [static] | Calendar | ||
| PRIME_FACES_XML_ELEMENT_NAME : String = calendar [static] | Calendar | ||
| height | property |
height:Number[override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get height():Number public function set height(value:Number):void<Div height="120"/>
<div style="height:120px;"/>
| maxDate | property |
maxDate:Date
PrimeFaces: maxDate
The default value is null.
This property can be used as the source for data binding.
public function get maxDate():Date public function set maxDate(value:Date):void<Calendar maxDate=""/>
<p:calendar maxDate=""/>
| minDate | property |
minDate:Date
PrimeFaces: minDate
The default value is null.
This property can be used as the source for data binding.
public function get minDate():Date public function set minDate(value:Date):void<Calendar minDate=""/>
<p:calendar minDate=""/>
| mode | property |
mode:String
PrimeFaces: mode
The default value is "popup".
This property can be used as the source for data binding.
public function get mode():String public function set mode(value:String):void<Calendar mode="popup"/>
<p:calendar mode="popup"/>
| pattern | property |
pattern:String
PrimeFaces: pattern
The default value is "MM/dd/yyyy".
This property can be used as the source for data binding.
public function get pattern():String public function set pattern(value:String):void<Calendar pattern=""/>
<p:calendar pattern=""/>
| 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<Div percentHeight="80"/>
<div 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<Div percentWidth="80"/>
<div style="width:80%;"/>
| selectedDate | property |
selectedDate:Date
PrimeFaces: value
The default value is null.
This property can be used as the source for data binding.
public function get selectedDate():Date public function set selectedDate(value:Date):void<Calendar selectedDate=""/>
<p:calendar value=""/>
| width | property |
width:Number [read-only] [override]
PrimeFaces: style
The default value is "120".
This property can be used as the source for data binding.
public function get width():Number<Div width="120"/>
<div style="width:120px;"/>
| Calendar | () | Constructor |
public function Calendar()| 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 = Calendar| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = calendar