|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wheel.components.ValidationError
public class ValidationError
Represents a validation error on a FormElement class. Many validation errors can be attached to single FormElement.
Constructor Summary | |
---|---|
ValidationError(java.lang.String message,
Component source)
|
Method Summary | |
---|---|
java.lang.String |
getMessage()
Returns the validation message (set by calling FormElement#addValidationRule(String, String)) without evaluating it. |
Component |
getSource()
Returns the component that caused this error. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationError(java.lang.String message, Component source)
Method Detail |
---|
public java.lang.String getMessage()
public Component getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |