net.wotonomy.web
Class WOInput
java.lang.Object
net.wotonomy.web.WOElement
net.wotonomy.web.WODynamicElement
net.wotonomy.web.WOInput
- All Implemented Interfaces:
- java.io.Serializable, WOActionResults
- Direct Known Subclasses:
- WOCheckBox, WOPopUpButton, WOResetButton, WOSubmitButton, WOText, WOTextField
public abstract class WOInput
- extends WODynamicElement
- See Also:
- Serialized Form
Constructor Summary |
WOInput()
|
WOInput(java.lang.String aName,
net.wotonomy.foundation.NSDictionary assocs,
WOElement template)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WOInput
public WOInput()
WOInput
public WOInput(java.lang.String aName,
net.wotonomy.foundation.NSDictionary assocs,
WOElement template)
inputType
protected abstract java.lang.String inputType()
value
protected abstract java.lang.Object value(WOContext c)
additionalAttributes
protected net.wotonomy.foundation.NSMutableArray additionalAttributes()
inputName
public java.lang.String inputName(WOContext c)
disabled
protected boolean disabled(WOContext c)
appendExtras
protected void appendExtras(WOResponse r,
WOContext c)
appendToResponse
public void appendToResponse(WOResponse r,
WOContext c)
- Description copied from class:
WODynamicElement
- This method is called on all elements of the content tree
to build a response to a user request. The message should
be forwarded to any child elements so that the entire tree
is traversed. This implementation does nothing.
- Overrides:
appendToResponse
in class WODynamicElement
takeValuesFromRequest
public void takeValuesFromRequest(WORequest r,
WOContext c)
- Description copied from class:
WODynamicElement
- This method is called to retrieve user-entered data from
the request. WOElements should retrieve data from the
request based on their elementID and set values in the
context's current WOComponent, typically those values that
are associated with the element in the binding. This
implementation does nothing.
- Overrides:
takeValuesFromRequest
in class WODynamicElement
formattedValue
protected java.lang.Object formattedValue(java.lang.Object value,
WOComponent c)
- Formats a value as a date or number. Checks for
numberformat or dateformat associations; if one of them
exists, the value is formatter using the specified pattern.
- Parameters:
value
- The value to format.
- Returns:
- The original object, or a date or number if the
receiver has a numberformat or dateformat association.
Copyright © 2006 null. All Rights Reserved.