er.directtoweb.components.dates
Class ERDEditDatePopupCommon
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.directtoweb.components.ERDCustomComponent
er.directtoweb.components.ERDCustomEditComponent
er.directtoweb.components.dates.ERDEditDatePopupCommon
- 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
- Direct Known Subclasses:
- ERDEditDatePopup, ERDEditDatePopupOrNull
public class ERDEditDatePopupCommon
- extends ERDCustomEditComponent
Common superclass for date editing components.
- See Also:
- Serialized Form
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 |
protected static com.webobjects.foundation.NSTimestampFormatter |
ALL_FORMAT
|
protected static com.webobjects.foundation.NSTimestampFormatter |
ALL_FORMAT_AND_TIME
|
java.lang.String |
currentMonth
|
protected java.lang.String |
day
|
protected static com.webobjects.foundation.NSTimestampFormatter |
DAY_FORMAT
|
protected static com.webobjects.foundation.NSArray |
dayList
|
protected static com.webobjects.foundation.NSArray |
defaultMonthNameList
|
protected java.lang.String |
month
|
protected static com.webobjects.foundation.NSTimestampFormatter |
MONTH_FORMAT
|
protected static com.webobjects.foundation.NSArray |
monthList
|
protected com.webobjects.foundation.NSArray |
monthNameList
|
protected java.lang.String |
time
|
protected static com.webobjects.foundation.NSTimestampFormatter |
TIME_FORMAT
|
protected java.lang.String |
year
|
protected static com.webobjects.foundation.NSTimestampFormatter |
YEAR_FORMAT
|
protected com.webobjects.foundation.NSMutableArray |
yearList
|
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 |
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.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 |
day
protected java.lang.String day
month
protected java.lang.String month
year
protected java.lang.String year
currentMonth
public java.lang.String currentMonth
yearList
protected com.webobjects.foundation.NSMutableArray yearList
monthList
protected static com.webobjects.foundation.NSArray monthList
monthNameList
protected com.webobjects.foundation.NSArray monthNameList
defaultMonthNameList
protected static com.webobjects.foundation.NSArray defaultMonthNameList
dayList
protected static com.webobjects.foundation.NSArray dayList
DAY_FORMAT
protected static final com.webobjects.foundation.NSTimestampFormatter DAY_FORMAT
MONTH_FORMAT
protected static final com.webobjects.foundation.NSTimestampFormatter MONTH_FORMAT
YEAR_FORMAT
protected static final com.webobjects.foundation.NSTimestampFormatter YEAR_FORMAT
TIME_FORMAT
protected static final com.webobjects.foundation.NSTimestampFormatter TIME_FORMAT
ALL_FORMAT
protected static final com.webobjects.foundation.NSTimestampFormatter ALL_FORMAT
ALL_FORMAT_AND_TIME
protected static final com.webobjects.foundation.NSTimestampFormatter ALL_FORMAT_AND_TIME
time
protected java.lang.String time
ERDEditDatePopupCommon
public ERDEditDatePopupCommon(com.webobjects.appserver.WOContext context)
isStateless
public boolean isStateless()
- Description copied from class:
ERXNonSynchronizingComponent
- component is not stateless
- Overrides:
isStateless
in class ERDCustomEditComponent
synchronizesVariablesWithBindings
public boolean synchronizesVariablesWithBindings()
- Description copied from class:
ERDCustomComponent
- Overridden from superclass to turn on component synching, which is the default.
- Overrides:
synchronizesVariablesWithBindings
in class ERDCustomEditComponent
reset
public void reset()
- Description copied from class:
ERDCustomComponent
- Used by stateless subclasses.
- Overrides:
reset
in class ERDCustomEditComponent
dayList
public com.webobjects.foundation.NSArray dayList()
monthNameList
public com.webobjects.foundation.NSArray monthNameList()
monthList
public com.webobjects.foundation.NSArray monthList()
yearList
public com.webobjects.foundation.NSArray yearList()
time
public java.lang.String time()
throws java.lang.Exception
- Throws:
java.lang.Exception
setTime
public void setTime(java.lang.String newTime)
day
public java.lang.String day()
throws java.lang.Exception
- Throws:
java.lang.Exception
setDay
public void setDay(java.lang.String newDay)
throws java.lang.Exception
- Throws:
java.lang.Exception
monthName
public java.lang.String monthName()
throws java.lang.Exception
- Throws:
java.lang.Exception
month
public java.lang.String month()
throws java.lang.Exception
- Throws:
java.lang.Exception
setMonth
public void setMonth(java.lang.String newMonth)
throws java.lang.Exception
- Throws:
java.lang.Exception
year
public java.lang.String year()
throws java.lang.Exception
- Throws:
java.lang.Exception
setYear
public void setYear(java.lang.String newYear)
throws java.lang.Exception
- Throws:
java.lang.Exception
checkFutureDate
public boolean checkFutureDate()
editTime
public boolean editTime()
today
public java.lang.String today()
Copyright © 2002 – 2007 Project Wonder.