org.gwtbootstrap3.client.ui.form.error
Class BasicEditorError

java.lang.Object
  extended by org.gwtbootstrap3.client.ui.form.error.BasicEditorError
All Implemented Interfaces:
EditorError

public class BasicEditorError
extends Object
implements EditorError

Basic EditorError implementation.


Field Summary
protected  boolean consumed
           
protected  Editor<?> editor
           
protected  String message
           
protected  Object value
           
 
Constructor Summary
BasicEditorError(Editor<?> editor, Object value, String message)
          Create an new error.
 
Method Summary
 String getAbsolutePath()
          
 Editor<?> getEditor()
          
 String getMessage()
          
 String getPath()
          
 Object getUserData()
          
 Object getValue()
          
 boolean isConsumed()
          
 void setConsumed(boolean consumed)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

consumed

protected boolean consumed

editor

protected Editor<?> editor

message

protected String message

value

protected Object value
Constructor Detail

BasicEditorError

public BasicEditorError(Editor<?> editor,
                        Object value,
                        String message)
Create an new error.

Parameters:
editor - the editor
value - the value
message - the message
Method Detail

getAbsolutePath

public String getAbsolutePath()

Specified by:
getAbsolutePath in interface EditorError

getEditor

public Editor<?> getEditor()

Specified by:
getEditor in interface EditorError

getMessage

public String getMessage()

Specified by:
getMessage in interface EditorError

getPath

public String getPath()

Specified by:
getPath in interface EditorError

getUserData

public Object getUserData()

Specified by:
getUserData in interface EditorError

getValue

public Object getValue()

Specified by:
getValue in interface EditorError

isConsumed

public boolean isConsumed()

Specified by:
isConsumed in interface EditorError

setConsumed

public void setConsumed(boolean consumed)

Specified by:
setConsumed in interface EditorError


Copyright © 2015. All rights reserved.