T - the type of data not being editedpublic class FakeEditorContext<T> extends java.lang.Object implements EditorContext<T>
ROOT_PATH| Constructor and Description |
|---|
FakeEditorContext() |
| Modifier and Type | Method and Description |
|---|---|
CompositeEditor<T,?,?> |
asCompositeEditor()
Returns
null. |
HasEditorDelegate<T> |
asHasEditorDelegate()
Returns
null. |
HasEditorErrors<T> |
asHasEditorErrors()
Returns
null. |
LeafValueEditor<T> |
asLeafValueEditor()
Returns
null. |
ValueAwareEditor<T> |
asValueAwareEditor()
Returns
null. |
boolean |
canSetInModel()
Returns
false. |
T |
checkAssignment(java.lang.Object value)
Returns
value via an unchecked generic cast. |
java.lang.String |
getAbsolutePath()
Returns
EditorContext.ROOT_PATH. |
java.lang.Class<T> |
getEditedType()
Returns
null. |
Editor<T> |
getEditor()
Returns
null. |
EditorDelegate<T> |
getEditorDelegate()
Returns
null. |
T |
getFromModel()
Returns
null. |
void |
setInModel(T data)
A no-op.
|
void |
traverseSyntheticCompositeEditor(EditorVisitor visitor)
No-op.
|
public CompositeEditor<T,?,?> asCompositeEditor()
null.asCompositeEditor in interface EditorContext<T>public HasEditorDelegate<T> asHasEditorDelegate()
null.asHasEditorDelegate in interface EditorContext<T>public HasEditorErrors<T> asHasEditorErrors()
null.asHasEditorErrors in interface EditorContext<T>public LeafValueEditor<T> asLeafValueEditor()
null.asLeafValueEditor in interface EditorContext<T>public ValueAwareEditor<T> asValueAwareEditor()
null.asValueAwareEditor in interface EditorContext<T>public boolean canSetInModel()
false.canSetInModel in interface EditorContext<T>public T checkAssignment(java.lang.Object value)
value via an unchecked generic cast.checkAssignment in interface EditorContext<T>value - any value, including nullvalue cast to the T typepublic java.lang.String getAbsolutePath()
EditorContext.ROOT_PATH.getAbsolutePath in interface EditorContext<T>public java.lang.Class<T> getEditedType()
null.getEditedType in interface EditorContext<T>public Editor<T> getEditor()
null.getEditor in interface EditorContext<T>public EditorDelegate<T> getEditorDelegate()
null.getEditorDelegate in interface EditorContext<T>public T getFromModel()
null.getFromModel in interface EditorContext<T>public void setInModel(T data)
setInModel in interface EditorContext<T>public void traverseSyntheticCompositeEditor(EditorVisitor visitor)
traverseSyntheticCompositeEditor in interface EditorContext<T>