er.ajax.look.components
Class AjaxNotificationCenter
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.directtoweb.components.ERDCustomComponent
er.ajax.look.components.AjaxNotificationCenter
- All Implemented Interfaces:
- WOActionResults, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, ERXExceptionHolder, Serializable, Cloneable
public class AjaxNotificationCenter
- extends ERDCustomComponent
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding._BooleanFieldBinding, NSKeyValueCoding._BooleanMethodBinding, NSKeyValueCoding._FieldBinding, NSKeyValueCoding._ForwardingBinding, NSKeyValueCoding._KeyBinding, NSKeyValueCoding._KeyBindingCreation, NSKeyValueCoding._MethodBinding, NSKeyValueCoding._NumberFieldBinding, NSKeyValueCoding._NumberMethodBinding, NSKeyValueCoding._ReflectionKeyBindingCreation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.MapImplementation, NSKeyValueCoding.Null<T>, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.ValueAccessor |
| 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, reset, resetCachedBindingsInStatefulComponent, setExtraBindings, setKey, setLocalContext, synchronizesVariablesWithBindings, task, taskIsEdit, taskIsInspect, taskIsList, validationFailedWithException, valueForBinding |
| Methods inherited from class er.extensions.components.ERXComponent |
_awakeInContext, _checkAccess, _frameworkName, _includeCSSResources, _includeJavascriptResources, additionalCSSFiles, additionalJavascriptFiles, arrayValueForBinding, arrayValueForBinding, booleanValueForBinding, booleanValueForBinding, booleanValueForBinding, checkAccess, clickToOpenEnabled, componentName, defaultCSSPath, defaultJavascriptPath, dynamicBindings, floatValueForBinding, intValueForBinding, isPageAccessAllowed, localizer, objectValueForBinding, objectValueForBinding, pageWithName, postAppendToResponse, preAppendToResponse, primaryCSSFile, primaryJavascriptFile, shouldCheckAccess, stringValueForBinding, stringValueForBinding, useDefaultComponentCSS, useDefaultComponentJavascript |
| Methods inherited from class com.webobjects.appserver.WOComponent |
__valueForBinding, _associationWithName, _childTemplate, _cleanUpStatelessComponent, _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, hasSession, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, takeValueForKey, takeValueForKeyPath, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName |
AJAX_NOTIFICATION_CENTER_ID
public static final ERXKey<String> AJAX_NOTIFICATION_CENTER_ID
PROPERTY_OBSERVER_ID
public static final ERXKey<String> PROPERTY_OBSERVER_ID
PROPERTY_KEY
public static final ERXKey<String> PROPERTY_KEY
PROPERTY_CHANGED_DELEGATE
public static final ERXKey<PropertyChangedDelegate> PROPERTY_CHANGED_DELEGATE
PropertyChangedNotification
public static final String PropertyChangedNotification
- See Also:
- Constant Field Values
RegisterPropertyObserverIDNotification
public static final String RegisterPropertyObserverIDNotification
- See Also:
- Constant Field Values
AjaxNotificationCenter
public AjaxNotificationCenter(WOContext context)
id
public String id()
setD2wContext
public void setD2wContext(com.webobjects.directtoweb.D2WContext context)
- Description copied from class:
ERDCustomComponent
- Sets the
D2WContext. Applies when used inside a property key repetition.
- Overrides:
setD2wContext in class ERDCustomComponent
updateContainerIDs
public NSMutableArray<String> updateContainerIDs()
propertyChanged
public void propertyChanged(NSNotification n)
registerPropertyObserverID
public void registerPropertyObserverID(NSNotification n)
handleQueryWithUnboundKey
public Object handleQueryWithUnboundKey(String key)
- Since this component uses synchronization to update observers when the
d2wContext changes, it cannot be non-synchronizing. However, if we want
to be able to drop this component anywhere, it needs to be able to
accept any binding value. So this method simply returns value for key
from the dynamicBindings dictionary.
- Specified by:
handleQueryWithUnboundKey in interface NSKeyValueCoding.ErrorHandling- Overrides:
handleQueryWithUnboundKey in class WOComponent
handleTakeValueForUnboundKey
public void handleTakeValueForUnboundKey(Object value,
String key)
- Since this component uses synchronization to update observers when the
d2wContext changes, it cannot be non-synchronizing. However, if we want
to be able to drop this component anywhere, it needs to be able to
accept any binding value. So this method simply adds value for key
to the dynamicBindings dictionary.
- Specified by:
handleTakeValueForUnboundKey in interface NSKeyValueCoding.ErrorHandling- Overrides:
handleTakeValueForUnboundKey in class WOComponent
Copyright © 2002 – 2011 Project Wonder.