public class BasicEditorError extends Object implements EditorError
EditorError
implementation.Modifier and Type | Field and Description |
---|---|
protected boolean |
consumed |
protected Editor<?> |
editor |
protected String |
message |
protected Object |
value |
Constructor and Description |
---|
BasicEditorError(Editor<?> editor,
Object value,
String message)
Create an new error.
|
Modifier and Type | Method and Description |
---|---|
String |
getAbsolutePath() |
Editor<?> |
getEditor() |
String |
getMessage() |
String |
getPath() |
Object |
getUserData() |
Object |
getValue() |
boolean |
isConsumed() |
void |
setConsumed(boolean consumed) |
protected boolean consumed
public BasicEditorError(Editor<?> editor, Object value, String message)
editor
- the editorvalue
- the valuemessage
- the messagepublic String getAbsolutePath()
getAbsolutePath
in interface EditorError
public Editor<?> getEditor()
getEditor
in interface EditorError
public String getMessage()
getMessage
in interface EditorError
public String getPath()
getPath
in interface EditorError
public Object getUserData()
getUserData
in interface EditorError
public Object getValue()
getValue
in interface EditorError
public boolean isConsumed()
isConsumed
in interface EditorError
public void setConsumed(boolean consumed)
setConsumed
in interface EditorError
Copyright © 2017. All rights reserved.