Class CalendarBox
Object
|
+--MoreMotionObject
|
+--ProcessField
|
+--CalendarBox
- class
CalendarBox
- extends ProcessField
Represents a CalendarBox. It wraps a DateBox and a opener button.
This class uses "The DHTML Javascript Calendar"
from dynaarch.
Defined in Date.js
Methods inherited from class ProcessField |
clear, setModified, isModified, getRecord, validate, setSubmitPrefix, appendRequestParams, focusTab, notify, runValidationHandler, checkValueIsAvailable, checkValueIsNumber, checkHasValidValue, runHandler
|
CAL_FORMAT
Object CAL_FORMAT
datebox
Object datebox
isCalendarBox
boolean isCalendarBox
props
Object props
CalendarBox Properties Object.
showAt | The position of the calendar div in x:y format.
Additionally value "1" can be used to open the div under the DateBox and value "2" to open the opener button |
firstDayOfWeek | A number between 0 ("Sunday") to 6 ("Saturday") as the first day of the week |
showsTime | Show the time Flag |
time24 | 24 hours Flag |
weekNumbers | Week Numbers Flag |
showOtherMonths | Show Other Months Flag |
singleClick | Single Click Flag |
statusBarDateFormat |
See DHTML Calendar Widget Help |
onSelectHandler | The Javascript function to call when a date is selected on the calendar.
The function receives the Calendar Object
associated with this object as the parameter. If the function returns false then the date selection is refused and
the calendar is not closed. |
dateStatusHandler | The Javascript function to call to determine the status of the given date
during building a calendar view. The function receives a JS Date object as the parameter. The function may return
true , false or a CSS class name |
CalendarBox
CalendarBox(node)
Parameters:
node
- the DOM Element node that is wrapped by this object
base
void base(node)
Parameters:
node
- the DOM Element node that is wrapped by this object
dateSelectHandler
Object dateSelectHandler(cal, date)
dateStatusHandler
Object dateStatusHandler(date)
getValue
Object getValue()
Returns the value of this field
setValue
void setValue(value)
Sets the value of this field.
Parameters:
value
- The value to set to the field.
show
Object show()
Copyright 2002 - 2008, MOR YAZILIM
Documentation generated by
JSDoc on Mon Sep 29 14:52:55 2008