|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.editor.client.adapters.EditorSource<LeafValueEditor<T>> com.google.gwt.editor.client.adapters.HasDataEditor.HasDataEditorSource<T>
static class HasDataEditor.HasDataEditorSource<T>
Constructor Summary | |
---|---|
HasDataEditor.HasDataEditorSource(HasData<T> data)
|
Method Summary | |
---|---|
com.google.gwt.editor.client.adapters.HasDataEditor.IndexedEditor<T> |
create(int index)
Create a new Editor. |
LeafValueEditor<T> |
createEditorForTraversal()
Creates a temporary sub-Editor to use for traversal. |
void |
dispose(LeafValueEditor<T> subEditor)
Called when an Editor no longer requires a sub-Editor. |
void |
setIndex(LeafValueEditor<T> editor,
int index)
Re-order a sub-Editor. |
Methods inherited from class com.google.gwt.editor.client.adapters.EditorSource |
---|
create |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HasDataEditor.HasDataEditorSource(HasData<T> data)
Method Detail |
---|
public com.google.gwt.editor.client.adapters.HasDataEditor.IndexedEditor<T> create(int index)
EditorSource
create
in class EditorSource<LeafValueEditor<T>>
index
- the position at which the new Editor should be displayed
Editor
of type Epublic LeafValueEditor<T> createEditorForTraversal()
EditorSource
For backwards compatibility with GWT 2.5.0 and earlier, the default implementation calls
create(0)
and disposes
the editor right away.
createEditorForTraversal
in class EditorSource<LeafValueEditor<T>>
Editor
of type EListEditor.createEditorForTraversal()
,
EditorContext.traverseSyntheticCompositeEditor(com.google.gwt.editor.client.EditorVisitor)
public void dispose(LeafValueEditor<T> subEditor)
EditorSource
dispose
in class EditorSource<LeafValueEditor<T>>
subEditor
- an Editor
of type Epublic void setIndex(LeafValueEditor<T> editor, int index)
EditorSource
setIndex
in class EditorSource<LeafValueEditor<T>>
editor
- an Editor
of type Eindex
- the index of the Editor
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |