Package com.google.gwt.editor.client
Interface Editor<T>
- Type Parameters:
T
- the type of object the editor displays.
- All Known Subinterfaces:
CompositeEditor<T,
,C, E> HasEditorDelegate<T>
,HasEditorErrors<T>
,HasRequestContext<T>
,LeafValueEditor<T>
,ValueAwareEditor<T>
- All Known Implementing Classes:
FakeLeafValueEditor
,HasDataEditor
,HasTextEditor
,ListEditor
,OptionalFieldEditor
,SimpleEditor
,TakesValueEditor
,ValueBoxEditor
,ValueBoxEditorDecorator
public interface Editor<T>
Describes an editor whose behavior is not altered by the value being
displayed.
Editors, which may be classes or interfaces, may expose their sub-editors in one or more of the following ways:
- An instance field with at least package visibility whose name exactly is
the property that will be edited or
propertyNameEditor
. - A no-arg method with at least package visibility whose name exactly is
the property that will be edited or
propertyNameEditor
. - The
Editor.Path
annotation may be used on the field or accessor method to specify a dotted path or to bypass the implicit naming convention. - Sub-Editors may be null. In this case, the Editor framework will ignore these sub-editors.
IsEditor
interface to provide an Editor instance. This allows view
objects to be written that can be attached to an Editor hierarchy without the
view directly implementing an Editor interface.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic @interface
Tells the Editor framework to ignore an Editor accessor.static @interface
Maps a composite Editor's component Editors into the data-model.