|
PHP2Go Javascript Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--Field
|
+--ComponentField
|
+--DatePickerField
Defined in form/datepickerfield.js
| Field Summary | |
Object |
calendar
Holds the instance of Calendar class |
Object |
container
The calendar container DIV |
Object |
options
Calendar options |
| Fields inherited from class ComponentField |
componentClass
|
| Fields inherited from class Field |
fld, id, name, label, type
|
| Constructor Summary | |
DatePickerField
(<String> id, <Object> options)
The DatePickerField component is a date selection tool based on the JSCalendar calendar widget. |
|
| Method Summary | |
void
|
clear()
Clear the component's value |
void
|
focus()
Empty function |
Object
|
getValue()
Retrieve the value of the component |
void
|
multiSelectHandler(<Object> cal, <Date> date, <Boolean> selected)
Handler method called when a date is selected or unselected in multiple selection mode |
void
|
selectHandler(<Object> cal, <String> date)
Handler method called when a date is selected in single selection mode |
String
|
serialize()
Serialize the component's value |
void
|
setDisabled(<Boolean> b)
Disables/enables the component |
void
|
setup()
Performs initialization routines for this component |
void
|
setValue(<Object> val)
Define a new value for the component |
| Methods inherited from class ComponentField |
raiseEvent
|
| Methods inherited from class Field |
getFormElement, getMask, isEmpty, enable, disable, beforeFocus
|
| Field Detail |
Object calendar
Object container
Object options
| Constructor Detail |
DatePickerField(<String> id, <Object> options)
id - Component ID
options - Calendar options
| Method Detail |
void clear()
void focus()
Object getValue()
void multiSelectHandler(<Object> cal, <Date> date, <Boolean> selected)
cal - Calendar
date - Selected/unselected date
selected - Operation flag
void selectHandler(<Object> cal, <String> date)
cal - Calendar
date - Selected date
String serialize()
void setDisabled(<Boolean> b)
b - Flag value
void setup()
void setValue(<Object> val)
val - Value (string or array)
|
PHP2Go Javascript Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||