Project Wonder 5.0

er.modern.directtoweb.components
Class ERMDDatePicker

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WOComponent
          extended by er.extensions.components.ERXComponent
              extended by er.extensions.components.ERXNonSynchronizingComponent
                  extended by er.directtoweb.components.ERDCustomComponent
                      extended by er.directtoweb.components.ERDCustomEditComponent
                          extended by er.modern.directtoweb.components.ERMDDatePicker
All Implemented Interfaces:
com.webobjects.appserver.WOActionResults, com.webobjects.foundation.NSKeyValueCoding, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCodingAdditions, com.webobjects.foundation.NSValidation, ERXExceptionHolder, java.io.Serializable, java.lang.Cloneable

public class ERMDDatePicker
extends ERDCustomEditComponent

D2WEditComponent based on ERMDatePicker.

See Also:
Serialized Form
Author:
david
D2W Keys
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)
           

Nested Class Summary
 
Nested classes/interfaces inherited from class er.directtoweb.components.ERDCustomEditComponent
ERDCustomEditComponent.Keys
 
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.Null, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
 
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
 
Field Summary
 
Fields inherited from class er.directtoweb.components.ERDCustomEditComponent
editingContext, log
 
Fields inherited from class er.directtoweb.components.ERDCustomComponent
extraBindings, FALSE, TRUE
 
Fields inherited from class er.extensions.components.ERXComponent
_dynamicBindings
 
Fields inherited from class com.webobjects.appserver.WOComponent
_Extension, _IsEventLoggingEnabled, _keyAssociations
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling
_CLASS
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator
 
Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding
NullValue
 
Fields inherited from interface com.webobjects.foundation.NSValidation
_CLASS
 
Constructor Summary
ERMDDatePicker(com.webobjects.appserver.WOContext context)
           
 
Method Summary
 java.lang.Boolean constrainSelection()
          ERMDatePicker option: should selection be constrained to current month (if fill grid is true)
 java.lang.String cssFile()
          ERMDatePicker option: name of the custom css file
 java.lang.String cssFramework()
          ERMDatePicker option: name of the custom css file framework
 java.lang.String dateReadableDescription()
          Convenience accessor for the readable date format description
 java.lang.String disabledDates()
          ERMDatePicker option: date range of disabled dates
 java.lang.String disabledDays()
          ERMDatePicker option: array (string in js format) of disabled days of the week (i.e: [0,0,0,0,0,1,1])
 java.lang.Boolean dragDisabled()
          ERMDatePicker option: is drag disabled
 java.lang.String enabledDates()
          ERMDatePicker option: date range of enabled dates
 java.lang.Boolean fillGrid()
          ERMDatePicker option: fill the entire grid, not just the current month
 java.lang.String finalOpacity()
          ERMDatePicker option: sets the final opacity
 java.lang.String formatter()
          Format string for the date text fields
 java.lang.Boolean hideControl()
          ERMDatePicker option: hide the calendar control
 java.lang.Boolean hideInput()
          ERMDatePicker option: hide the input text field
 java.lang.String highlightDays()
          ERMDatePicker option: array (string in js format) of highlighted days of the week
 java.lang.Boolean noFadeEffect()
          ERMDatePicker option: disable fade effect
 java.lang.Boolean noTodayButton()
          ERMDatePicker option: don't show today button
 java.lang.String rangeHigh()
          ERMDatePicker option: highest selectable date
 java.lang.String rangeLow()
          ERMDatePicker option: lowest selectable date
 void setFormatter(java.lang.String formatter)
           
 
Methods inherited from class er.directtoweb.components.ERDCustomEditComponent
defaultSortOrderingsForDestinationEntity, destinationEntity, isStateless, object, objectKeyPathValue, objectPropertyValue, permissionToEdit, reset, resetCachedBindingsInStatefulComponent, setObject, setObjectKeyPathValue, setObjectPropertyValue, synchronizesVariablesWithBindings
 
Methods inherited from class er.directtoweb.components.ERDCustomComponent
appendToResponse, booleanForBinding, clearValidationFailed, d2wComponentNameDebuggingEnabled, d2wContext, d2wContextFromBindings, d2wContextValueForBinding, d2wDebuggingEnabled, d2wPage, d2wPropertyKeyDebuggingEnabled, extraBindings, extraBindingsValueForBinding, hasBinding, integerBooleanForBinding, key, localContext, logDebugInfo, originalValueForBinding, parentValueForBinding, setD2wContext, setExtraBindings, setKey, setLocalContext, task, taskIsEdit, taskIsInspect, taskIsList, validationFailedWithException, valueForBinding
 
Methods inherited from class er.extensions.components.ERXNonSynchronizingComponent
invokeAction, takeValuesFromRequest
 
Methods inherited from class er.extensions.components.ERXComponent
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript
 
Methods inherited from class com.webobjects.appserver.WOComponent
_associationWithName, _childTemplate, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForKey, valueForKeyPath
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERMDDatePicker

public ERMDDatePicker(com.webobjects.appserver.WOContext context)
Method Detail

formatter

public java.lang.String formatter()
Format string for the date text fields

Returns:

setFormatter

public void setFormatter(java.lang.String formatter)

dateReadableDescription

public java.lang.String dateReadableDescription()
Convenience accessor for the readable date format description

Returns:

dragDisabled

public java.lang.Boolean dragDisabled()
ERMDatePicker option: is drag disabled

Returns:

cssFile

public java.lang.String cssFile()
ERMDatePicker option: name of the custom css file

Returns:

cssFramework

public java.lang.String cssFramework()
ERMDatePicker option: name of the custom css file framework

Returns:

constrainSelection

public java.lang.Boolean constrainSelection()
ERMDatePicker option: should selection be constrained to current month (if fill grid is true)

Returns:

fillGrid

public java.lang.Boolean fillGrid()
ERMDatePicker option: fill the entire grid, not just the current month

Returns:

finalOpacity

public java.lang.String finalOpacity()
ERMDatePicker option: sets the final opacity

Returns:

disabledDays

public java.lang.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:

disabledDates

public java.lang.String disabledDates()
ERMDatePicker option: date range of disabled dates

Returns:

enabledDates

public java.lang.String enabledDates()
ERMDatePicker option: date range of enabled dates

Returns:

highlightDays

public java.lang.String highlightDays()
ERMDatePicker option: array (string in js format) of highlighted days of the week

Returns:

noFadeEffect

public java.lang.Boolean noFadeEffect()
ERMDatePicker option: disable fade effect

Returns:

noTodayButton

public java.lang.Boolean noTodayButton()
ERMDatePicker option: don't show today button

Returns:

rangeLow

public java.lang.String rangeLow()
ERMDatePicker option: lowest selectable date

Returns:

rangeHigh

public java.lang.String rangeHigh()
ERMDatePicker option: highest selectable date

Returns:

hideInput

public java.lang.Boolean hideInput()
ERMDatePicker option: hide the input text field

Returns:

hideControl

public java.lang.Boolean hideControl()
ERMDatePicker option: hide the calendar control

Returns:

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.