ERMDDatePicker Class Reference

Inherits er::directtoweb::components::ERDCustomEditComponent.

Collaboration diagram for ERMDDatePicker:

Collaboration graph
[legend]

List of all members.

Public Member Functions

Boolean constrainSelection ()
String cssFile ()
String cssFramework ()
String dateReadableDescription ()
String disabledDates ()
String disabledDays ()
Boolean dragDisabled ()
String enabledDates ()
 ERMDDatePicker (WOContext context)
Boolean fillGrid ()
String finalOpacity ()
String formatter ()
Boolean hideControl ()
Boolean hideInput ()
String highlightDays ()
Boolean noFadeEffect ()
Boolean noTodayButton ()
String rangeHigh ()
String rangeLow ()
void setFormatter (String formatter)

Private Attributes

String _dateReadableDescription
String _formatter


Detailed Description

D2WEditComponent based on ERMDatePicker.

formatter - string - date format string datePickerDragDisabled - boolean - disable dragging on date picker datePickerCssFile - string - file for alternate css file (default is datepicker.css) datePickerCssFramework - string - framework for alternate css file (default is ERModernDirectToWeb) datePickerConstrainSelection - boolean - when fillGrid is enalbed, constrain selection to current month. datePickerFillGrid - boolean - fill the complete grid not just current month. datePickerFinalOpacity - number - Final calendar overlay opacity (20 - 100) datePickerDisabledDays - string - Identifies any days on calendar that are disabled (format: [0,0,0,0,0,1,1]) datePickerDisabledDates - string - Range of disabled dates (YYYYMMDD:YYYYMMDD or YYYYMMDD if single date) datePickerEnabledDates - string - Range of enabled dates (YYYYMMDD:YYYYMMDD or YYYYMMDD if single date) datePickerHighlightDays - string - Identifies what days are highlighted on calendar (format: [1,1,0,0,0,0,0]) datePickerNoFadeEffect - boolean - disables fade in/out animation datePickerNoTodayButton - boolean - hides 'Today' button datePickerRangeLow - string - specifies earliest selectable date (format: YYYYMMDD) datePickerRangeHigh - string - specifies latest selectable date (format:YYYYMMDD) datePickerHideInput - boolean - hide the input field (don't use if hideControl is true) datePickerHideControl - boolean - hide the calendar button (don't use if hideInput is true)

Author:
david

Constructor & Destructor Documentation

ERMDDatePicker ( WOContext  context  ) 


Member Function Documentation

Boolean constrainSelection (  ) 

ERMDatePicker option: should selection be constrained to current month (if fill grid is true)

Returns:

String cssFile (  ) 

ERMDatePicker option: name of the custom css file

Returns:

String cssFramework (  ) 

ERMDatePicker option: name of the custom css file framework

Returns:

String dateReadableDescription (  ) 

Convenience accessor for the readable date format description

Returns:

String disabledDates (  ) 

ERMDatePicker option: date range of disabled dates

Returns:

String disabledDays (  ) 

ERMDatePicker option: array (string in js format) of disabled days of the week (i.e: [0,0,0,0,0,1,1])

Returns:

Boolean dragDisabled (  ) 

ERMDatePicker option: is drag disabled

Returns:

String enabledDates (  ) 

ERMDatePicker option: date range of enabled dates

Returns:

Boolean fillGrid (  ) 

ERMDatePicker option: fill the entire grid, not just the current month

Returns:

String finalOpacity (  ) 

ERMDatePicker option: sets the final opacity

Returns:

String formatter (  ) 

Format string for the date text fields

Returns:

Boolean hideControl (  ) 

ERMDatePicker option: hide the calendar control

Returns:

Boolean hideInput (  ) 

ERMDatePicker option: hide the input text field

Returns:

String highlightDays (  ) 

ERMDatePicker option: array (string in js format) of highlighted days of the week

Returns:

Boolean noFadeEffect (  ) 

ERMDatePicker option: disable fade effect

Returns:

Boolean noTodayButton (  ) 

ERMDatePicker option: don't show today button

Returns:

String rangeHigh (  ) 

ERMDatePicker option: highest selectable date

Returns:

String rangeLow (  ) 

ERMDatePicker option: lowest selectable date

Returns:

void setFormatter ( String  formatter  ) 


Member Data Documentation

String _formatter [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:23 2012 for Project Wonder by  doxygen 1.5.8