|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 EditorError
public Editor<?> getEditor()
EditorError
getEditor
in interface EditorError
public java.lang.String getMessage()
EditorError
getMessage
in interface EditorError
public java.lang.String getPath()
EditorError
getPath
in interface EditorError
public java.lang.Object getUserData()
EditorError
EditorDelegate.recordError(java.lang.String, java.lang.Object, java.lang.Object)
.
getUserData
in interface EditorError
public java.lang.Object getValue()
EditorError
getValue
in interface EditorError
public boolean isConsumed()
false
.
isConsumed
in interface EditorError
true
if the error will not be propagatedEditorError.setConsumed(boolean)
public void setConsumed(boolean consumed)
setConsumed
in interface EditorError
consumed
- 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 |