java.lang.Object | |
↳ | com.google.gwt.editor.client.impl.AbstractEditorDelegate<T, E extends com.google.gwt.editor.client.Editor<T>> |
Known Direct Subclasses
RequestFactoryEditorDelegate<P, E extends Editor<P>>,
SimpleBeanEditorDelegate<T, E extends Editor<T>>
|
A base implementation of EditorDelegate for use by generated types.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
composedEditor | |||||||||||
editorChain | |||||||||||
errors | |||||||||||
hasEditorErrors | |||||||||||
leafValueEditor | |||||||||||
path | |||||||||||
simpleEditors | A map of local paths to sub-editors that do not have EditorDelegates (and will not be in the DelegateMap). | ||||||||||
valueAwareEditor | This field avoids needing to repeatedly cast #editor. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Flushes both data and errors.
| |||||||||||
Returns the Editor's path, relative to the root object.
| |||||||||||
This method should be called from
flush() or
getValue() to record an error that will be reported
to the nearest super-Editor that implements the HasEditorErrors
interface. | |||||||||||
Register for notifications if object being edited is updated.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Only implemented by delegates for a
CompositeEditor . | |||||||||||
Initialize a sub-delegate returned from
createComposedDelegate() . | |||||||||||
Refresh all of the sub-editors.
| |||||||||||
Indicates whether or not calls to
flush(List are expected as part of
normal operation. | |||||||||||
Collect all paths being edited.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.google.gwt.editor.client.EditorDelegate
|
A map of local paths to sub-editors that do not have EditorDelegates (and will not be in the DelegateMap).
This field avoids needing to repeatedly cast #editor.
Returns the Editor's path, relative to the root object.
This method should be called from flush()
or
getValue()
to record an error that will be reported
to the nearest super-Editor that implements the HasEditorErrors
interface.
message | a textual description of the error |
---|---|
value | the value to be returned by getValue() or
null if the value currently associated with the
Editor should be used |
userData | an arbitrary object, possibly null , that can
be retrieved with getUserData()
|
Register for notifications if object being edited is updated. Not all
backends support subscriptions and will return null
.
The notification will occur via onPropertyChange(String...)
if the backend supports in-place property updates, otherwise updates will
be passed via setValue(T)
.
null
if the delegate does not support subscription
Only implemented by delegates for a CompositeEditor
.
Initialize a sub-delegate returned from createComposedDelegate()
.
Refresh all of the sub-editors.
Indicates whether or not calls to flush(List
are expected as part of
normal operation.