|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.gwt.editor.client.testing.MockEditorError
public class MockEditorError
A trivial implementation of EditorError. Most methods return
null.
| Constructor Summary | |
|---|---|
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()
Always returns false. |
void |
setConsumed(boolean consumed)
No-op. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockEditorError()
| Method Detail |
|---|
public java.lang.String getAbsolutePath()
EditorError
getAbsolutePath in interface EditorErrorpublic Editor<?> getEditor()
EditorError
getEditor in interface EditorErrorpublic java.lang.String getMessage()
EditorError
getMessage in interface EditorErrorpublic java.lang.String getPath()
EditorError
getPath in interface EditorErrorpublic java.lang.Object getUserData()
EditorErrorEditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object).
getUserData in interface EditorErrorpublic java.lang.Object getValue()
EditorError
getValue in interface EditorErrorpublic boolean isConsumed()
false.
isConsumed in interface EditorErrortrue if the error will not be propagatedEditorError.setConsumed(boolean)public void setConsumed(boolean consumed)
setConsumed in interface EditorErrorconsumed - true if the error will not be propagatedEditorError.isConsumed()
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||