Package com.google.gwt.editor.client
Interface CompositeEditor.EditorChain<C,E extends Editor<? super C>>
- Type Parameters:
C- the type of object to be editedE- the type of Editor
- All Known Implementing Classes:
MockEditorChain
public static interface CompositeEditor.EditorChain<C,E extends Editor<? super C>>
Allows instances of the component type to be attached to the Editor
framework.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidEditors attached to the chain will be automatically flushed as if they were a statically-defined sub-Editor.voidDetach a sub-Editor from the editor chain.Retrieves the value associated with the editor.
-
Method Details
-
attach
Editors attached to the chain will be automatically flushed as if they were a statically-defined sub-Editor.- Parameters:
object- the object to editsubEditor- the Editor to populate
-
detach
Detach a sub-Editor from the editor chain.- Parameters:
subEditor- an Editor previously passed intoattach(C, E)
-
getValue
Retrieves the value associated with the editor.- Parameters:
subEditor- an Editor previously passed intoattach(C, E)- Returns:
- the value associated with the editor
-