|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EditorError
Allows invalid Editor state to be propagated through an Editor hierarchy.
Instances of EditorError are typically created as a side effect of calling
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object)
.
MockEditorError
Method Summary | |
---|---|
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. |
Method Detail |
---|
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()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |