Package | Description |
---|---|
com.google.gwt.editor.client |
A framework for editing bean-like objects.
|
com.google.gwt.editor.client.adapters |
Adapters for the bean editor framework.
|
com.google.gwt.editor.client.impl | |
com.google.gwt.editor.client.testing |
Classes used for testing the bean editor support.
|
com.google.gwt.editor.ui.client |
User interface components for the bean editor framework.
|
com.google.gwt.editor.ui.client.adapters |
User interface adapters for the bean editor framework.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompositeEditor<T,C,E extends Editor<? super C>>
An interface that indicates that a given Editor is composed of an unknown
number of sub-Editors all of the same type.
|
static interface |
CompositeEditor.EditorChain<C,E extends Editor<? super C>>
Allows instances of the component type to be attached to the Editor
framework.
|
interface |
IsEditor<E extends Editor<?>>
Extended by view objects that wish to participate in an Editor hierarchy, but
that do not implement the
Editor contract directly. |
interface |
SimpleBeanEditorDriver<T,E extends Editor<? super T>>
Automates editing of simple bean-like objects.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CompositeEditor<T,C,E extends Editor<? super C>>
An interface that indicates that a given Editor is composed of an unknown
number of sub-Editors all of the same type.
|
interface |
HasEditorDelegate<T>
Indicates that an Editor requires an EditorDelegate.
|
interface |
HasEditorErrors<T>
Editors that wish to be notified about ConstraintViolations in the value
being edited should implement this interface.
|
interface |
LeafValueEditor<T>
Used to edit non-object or immutable values.
|
interface |
ValueAwareEditor<T>
Editors whose behavior changes based on the value being edited will implement
this interface.
|
Modifier and Type | Method and Description |
---|---|
Editor<T> |
EditorContext.getEditor()
Returns the associated Editor.
|
Editor<?> |
EditorError.getEditor()
Returns the Editor that holds the invalid value.
|
Modifier and Type | Class and Description |
---|---|
class |
EditorSource<E extends Editor<?>>
An entity capable of creating and destroying instances of Editors.
|
class |
ListEditor<T,E extends Editor<? super T>>
Manages a list of objects and their associated Editors.
|
class |
OptionalFieldEditor<T,E extends Editor<? super T>>
This adapter can be used when a type being edited has an optional field that
may be nullified or reassigned as part of the editing process.
|
Modifier and Type | Class and Description |
---|---|
class |
HasDataEditor<T>
Adapts the HasData interface to the Editor framework.
|
class |
ListEditor<T,E extends Editor<? super T>>
Manages a list of objects and their associated Editors.
|
class |
OptionalFieldEditor<T,E extends Editor<? super T>>
This adapter can be used when a type being edited has an optional field that
may be nullified or reassigned as part of the editing process.
|
class |
SimpleEditor<T>
A trivial implementation of LeafValueEditor than can be used for "hidden"
properties when composing UI-based Editors.
|
class |
TakesValueEditor<T>
Adapts the
TakesValue interface to the Editor framework. |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Editor<? super T>> |
OptionalFieldEditor.of(E subEditor)
Construct an OptionalFieldEditor backed by the given sub-Editor.
|
static <T,E extends Editor<? super T>> |
ListEditor.of(EditorSource<E> source)
Create a ListEditor backed by an EditorSource.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEditorDelegate<T,E extends Editor<T>>
A base implementation of EditorDelegate for use by generated types.
|
protected class |
AbstractEditorDelegate.Chain<R,S extends Editor<R>>
The machinery for attaching and detaching editors from the hierarchy via a
CompositeEditor . |
class |
AbstractSimpleBeanEditorDriver<T,E extends Editor<T>>
A base implementation class for generated SimpleBeanEditorDriver
implementations.
|
class |
BaseEditorDriver<T,E extends Editor<T>>
Contains common code shared between the SimpleBeanEditorDriver and
RequestFactoryEditorDriver.
|
class |
SimpleBeanEditorDelegate<T,E extends Editor<T>>
A limited EditorDelegate for editing standard bean-like objects.
|
Modifier and Type | Method and Description |
---|---|
protected <R,S extends Editor<R>> |
AbstractEditorDelegate.addSubDelegate(AbstractEditorDelegate<R,S> subDelegate,
String path,
S subEditor)
Initialize a sub-delegate whenever one is added to the editor hierarchy.
|
protected <R,S extends Editor<R>> |
AbstractEditorDelegate.createChain(Class<R> composedElementType) |
Modifier and Type | Method and Description |
---|---|
Editor<T> |
AbstractEditorContext.getEditor() |
Modifier and Type | Method and Description |
---|---|
List<Editor<?>> |
DelegateMap.getEditorByPath(String path)
Returns a list of Editors available at a particular absolute path.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractEditorDelegate.recordError(String message,
Object value,
Object userData,
String extraPath,
Editor<?> leafEditor) |
Constructor and Description |
---|
AbstractEditorContext(Editor<T> editor,
String path) |
Modifier and Type | Class and Description |
---|---|
class |
MockSimpleBeanEditorDriver<T,E extends Editor<T>>
A no-op implementation of
SimpleBeanEditorDriver that records its
inputs. |
Modifier and Type | Class and Description |
---|---|
class |
FakeLeafValueEditor<T>
A no-op Editor.
|
Modifier and Type | Method and Description |
---|---|
Editor<?> |
MockEditorError.getEditor() |
Editor<T> |
FakeEditorContext.getEditor()
Returns
null . |
Modifier and Type | Class and Description |
---|---|
class |
ValueBoxEditorDecorator<T>
A simple decorator to display leaf widgets with an error message.
|
Modifier and Type | Class and Description |
---|---|
class |
HasTextEditor
Adapts the HasText interface to the Editor framework.
|
class |
ValueBoxEditor<T>
Adapts the
ValueBoxBase interface to the Editor framework. |
Copyright © 2018. All rights reserved.