com.webobjects.woextensions
Class WOAnyField
java.lang.Object
com.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
com.webobjects.woextensions.WOAnyField
- All Implemented Interfaces:
- Cloneable, NSKeyValueCoding, NSKeyValueCoding.ErrorHandling, NSKeyValueCodingAdditions, NSValidation, Serializable, WOActionResults
- public class WOAnyField
- extends WOComponent
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.appserver.WOComponent |
appendToResponse, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, invokeAction, isCachingEnabled, isEventLoggingEnabled, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForKey, valueForKeyPath |
DEFAULT_DATE_FORMAT
protected static String DEFAULT_DATE_FORMAT
DEFAULT_NUMBER_FORMAT
protected static String DEFAULT_NUMBER_FORMAT
selectedKeyItem
public String selectedKeyItem
selectedOperatorItem
public String selectedOperatorItem
WOAnyField
public WOAnyField(WOContext aContext)
displayGroup
public WODisplayGroup displayGroup()
finalize
public void finalize()
throws Throwable
- Throws:
Throwable
formatterForKey
public String formatterForKey(String key)
invalidateCaches
public void invalidateCaches()
isStateless
public boolean isStateless()
- Description copied from class:
WOComponent
- By default, this method returns
false
, indicating that state will
be maintained for instances of the receiver. Overriding this method
to return true
will make the component stateless. A single instance
of each stateless component is shared between multiple sessions,
reducing the application's memory footprint.
By default, stateless components don't synchronize. So, if you override this method to return
true
and you want the component to synchronize, you must also override
synchronizesVariablesWithBindings
and return true
.
- Overrides:
isStateless
in class WOComponent
- Returns:
true
if this method is overidden, false
otherwise- See Also:
WOComponent.reset()
,
WOComponent.synchronizesVariablesWithBindings()
relationshipKey
public String relationshipKey()
reset
public void reset()
- Description copied from class:
WOComponent
- Allows a stateless component to reset temporary references.
This method -- which is only invoked if the component is stateless -- allows
a component instance to reset or delete temporary references to
objects that are specific to a given context. To ensure that when
the shared instance of a component is reused by another session
there are no side effects, implement this method so that it releases
and sets to null each of the component's instance variables.
- Overrides:
reset
in class WOComponent
- See Also:
WOComponent.isStateless()
selectedKey
public String selectedKey()
selectedOperator
public String selectedOperator()
setSelectedKey
public void setSelectedKey(String key)
setSelectedOperator
public void setSelectedOperator(String anOperator)
setTextFieldValue
public void setTextFieldValue(String value)
setValue
public void setValue(Object newValue)
textFieldValue
public String textFieldValue()
value
public Object value()
valueClassNameForKey
public String valueClassNameForKey(String key)
Copyright © 2004 Apple Computer, Inc.