public interface EditorError
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object).MockEditorError| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAbsolutePath()
Returns the absolute path location of the error, relative to the object
that was passed into the EditorDriver.
|
Editor<?> |
getEditor()
Returns the Editor that holds the invalid value.
|
java.lang.String |
getMessage()
Returns a message associated with the error.
|
java.lang.String |
getPath()
Returns the path of the error relative to the Editor receiving the error.
|
java.lang.Object |
getUserData()
Returns the object passed into
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object). |
java.lang.Object |
getValue()
Returns the value that triggered the error.
|
boolean |
isConsumed()
Indicates whether or not the EditorError will be propagated to the
enclosing Editor.
|
void |
setConsumed(boolean consumed)
Indicates whether or not the EditorError will be propagated to the
enclosing Editor.
|
java.lang.String getAbsolutePath()
Editor<?> getEditor()
java.lang.String getMessage()
java.lang.String getPath()
java.lang.Object getUserData()
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object).java.lang.Object getValue()
boolean isConsumed()
true if the error will not be propagatedsetConsumed(boolean)void setConsumed(boolean consumed)
consumed - true if the error will not be propagatedisConsumed()