|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DHTMLSuite.calendar
Calendar widget (demo).
Defined in dhtml-suite-for-applications.js
Author: Alf Magne Kalleland(www.dhtmlgoodies.com)
Version: 1.0 , 1.0
Field Summary | |
Object |
dateOfToday
|
Object |
displayCloseButton
|
Object |
displayNavigationBar
|
Object |
displayTimeBar
|
Object |
displayTodaysDateInNavigationBar
|
Object |
hourDropDownOffsetInHour
|
Object |
htmlElementReferences
|
Object |
isDragable
|
Object |
layoutCSS
|
Object |
minuteDropDownInterval
|
Object |
minuteDropDownOffsetInHour
|
Object |
minuteDropDownOffsetInMinute
|
Object |
numberOfRowsInHourDropDown
|
Object |
numberOfRowsInMinuteDropDown
|
Object |
numberOfRowsInYearDropDown
|
Object |
objectIndex
|
Object |
posRefToHtmlEl
|
Object |
scrollInHourDropDownActive
|
Object |
scrollInMinuteDropDownActive
|
Object |
scrollInYearDropDownActive
|
Object |
yearDropDownOffsetInYear
|
Constructor Summary | |
DHTMLSuite.calendar
(propertyArray)
|
Method Summary | |
void
|
addHtmlElementReference(key,referenceToHtmlEl)
Add a reference to form field element - a reference to this object will be sent back in the call back function. |
void
|
display()
Displays the calendar |
Object
|
getHtmlElementReferences()
Specify close button visibility |
Object
|
hide()
Closes the calendar |
void
|
resetViewDisplayedMonth()
Reset current display, i.e. |
void
|
setCalendarModelReference(calendarModelReference)
Automatically set start date from input field |
void
|
setCalendarPositionByHTMLElement(refToHtmlEl,offsetXInPx,offsetYInPx)
Make the calendar absolute positoned and positioning it next by a HTML element |
void
|
setCallbackFunctionOnClose(functionName)
Specify call back function - calendar close |
void
|
setCallbackFunctionOnDayClick(functionName)
Specify call back function - click on days in calendar |
void
|
setCallbackFunctionOnMonthChange(functionName)
Automatically set start date from input field |
void
|
setDisplayCloseButton(displayCloseButton)
Specify close button visibility |
void
|
setDisplayedMonth(month)
Set a new displayed month |
void
|
setDisplayedYear(year)
Set a new displayed year |
void
|
setIsDragable(isDragable)
Automatically set start date from input field |
void
|
setLayoutCss(nameOfCssFile)
Specify new name of css file |
void
|
setTargetReference(targetRef)
Automatically set start date from input field |
Field Detail |
Object dateOfToday
Object displayCloseButton
Object displayNavigationBar
Object displayTimeBar
Object displayTodaysDateInNavigationBar
Object hourDropDownOffsetInHour
Object htmlElementReferences
Object isDragable
Object layoutCSS
Object minuteDropDownInterval
Object minuteDropDownOffsetInHour
Object minuteDropDownOffsetInMinute
Object numberOfRowsInHourDropDown
Object numberOfRowsInMinuteDropDown
Object numberOfRowsInYearDropDown
Object objectIndex
Object posRefToHtmlEl
Object scrollInHourDropDownActive
Object scrollInMinuteDropDownActive
Object scrollInYearDropDownActive
Object yearDropDownOffsetInYear
Constructor Detail |
DHTMLSuite.calendar(propertyArray)
Method Detail |
void addHtmlElementReference(key,referenceToHtmlEl)
String
- key - Key in the array for this element - To make it easier for you to pick it up later.
Object
- referenceToHtmlEl - Reference to html element
void display()
Object getHtmlElementReferences()
Boolean
- displayCloseButton - Display close button.
Object hide()
void resetViewDisplayedMonth()
void setCalendarModelReference(calendarModelReference)
Object
- calendarModelReference - Reference to an object of class DHTMLSuite.calendarModel
void setCalendarPositionByHTMLElement(refToHtmlEl,offsetXInPx,offsetYInPx)
Object
- refToHtmlEl - Reference to html element
Integer
- offsetXInPx - X offset in pixels
Integer
- offsetYInPx - Y offset in pixels.
void setCallbackFunctionOnClose(functionName)
String
- functionName - Function name to call when the calendar is closed. This function will receive one argument which is an associative array of the properties year,month,day,hour,minute and calendarRef. calendarRef is a reference to the DHTMLSuite.calendar object.
void setCallbackFunctionOnDayClick(functionName)
String
- functionName - Name of function to call when someone clicks on a date in the calendar. Argument to this function will be an array containing year,month,day,hour and minute
void setCallbackFunctionOnMonthChange(functionName)
String
- functionName - Name of function to call when someone clicks on a date in the calendar. Argument to this function will be an array containing year,month,day,hour and minute
void setDisplayCloseButton(displayCloseButton)
Boolean
- displayCloseButton - Display close button.
void setDisplayedMonth(month)
void setDisplayedYear(year)
void setIsDragable(isDragable)
Boolean
- isDragable - Should the calendar be dragable?
void setLayoutCss(nameOfCssFile)
String
- nameOfCssFile - Name of css file
void setTargetReference(targetRef)
Object
- targetReference - Id or direct reference to an element on your web page. The calender will be inserted as child of this element
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |