T - The type of data edited by the Editorpublic interface EditorContext<T>
FakeEditorContext| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | ROOT_PATH | 
| Modifier and Type | Method and Description | 
|---|---|
| CompositeEditor<T,?,?> | asCompositeEditor()Returns a non-null value if the editor returned by  getEditor()implementsCompositeEditor. | 
| HasEditorDelegate<T> | asHasEditorDelegate()Returns a non-null value if the editor returned by  getEditor()implementsHasEditorDelegate. | 
| HasEditorErrors<T> | asHasEditorErrors()Returns a non-null value if the editor returned by  getEditor()implementsHasEditorErrors. | 
| LeafValueEditor<T> | asLeafValueEditor()Returns a non-null value if the editor returned by  getEditor()implementsLeafValueEditor. | 
| ValueAwareEditor<T> | asValueAwareEditor()Returns a non-null value if the editor returned by  getEditor()implementsValueAwareEditor. | 
| boolean | canSetInModel()Returns  trueifsetInModel(Object)can be called
 successfully. | 
| T | checkAssignment(java.lang.Object value)Returns  valuecast to the type accepted by the Editor or throws aClassCastException. | 
| java.lang.String | getAbsolutePath()Returns the absolute path of the Editor within the hierarchy. | 
| java.lang.Class<T> | getEditedType()Returns the  Ttype. | 
| Editor<T> | getEditor()Returns the associated Editor. | 
| EditorDelegate<T> | getEditorDelegate()Returns the  EditorDelegateassociated with the current Editor,
 which may benullforLeafValueEditors. | 
| T | getFromModel()Returns the value to be edited by the current editor. | 
| void | setInModel(T data)Sets a new value in the data hierarchy being edited. | 
| void | traverseSyntheticCompositeEditor(EditorVisitor visitor)Traverse an editor created by
  CompositeEditor.createEditorForTraversal()that reflects an
 uninitialized instance of a composite sub-editor. | 
static final java.lang.String ROOT_PATH
CompositeEditor<T,?,?> asCompositeEditor()
getEditor()
 implements CompositeEditor.HasEditorDelegate<T> asHasEditorDelegate()
getEditor()
 implements HasEditorDelegate.HasEditorErrors<T> asHasEditorErrors()
getEditor()
 implements HasEditorErrors.LeafValueEditor<T> asLeafValueEditor()
getEditor()
 implements LeafValueEditor.ValueAwareEditor<T> asValueAwareEditor()
getEditor()
 implements ValueAwareEditor.boolean canSetInModel()
true if setInModel(Object) can be called
 successfully.T checkAssignment(java.lang.Object value)
value cast to the type accepted by the Editor or throws a
 ClassCastException.value - any value, including nullvalue cast to the T typejava.lang.ClassCastException - if  value is not assignable to the type
           Tjava.lang.String getAbsolutePath()
getEditorDelegate().getPath()
 becasue not all LeafValueEditors are guaranteed to
 have an associated delegate.java.lang.Class<T> getEditedType()
T type.EditorDelegate<T> getEditorDelegate()
EditorDelegate associated with the current Editor,
 which may be null for LeafValueEditors.T getFromModel()
void setInModel(T data)
checkAssignment(Object) method may be used to avoid an unsafe
 generic cast.void traverseSyntheticCompositeEditor(EditorVisitor visitor)
CompositeEditor.createEditorForTraversal() that reflects an
 uninitialized instance of a composite sub-editor. This can be used to
 examine the internal structure of a CompositeEditor even if there
 are no data elements being edited by that editor.java.lang.IllegalStateException - if the current Editor is not a
           CompositeEditor