|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationResponder
Interface for handlers that determine how to react on valid/invalid values.
Method Summary | |
---|---|
void |
setInvalid(Object object,
JComponent component,
String message)
The value in the component is invalid. |
void |
setValid(Object object,
JComponent component)
The value in the component is valid. |
void |
setValid(Object object,
JComponent component,
boolean valid)
The value in the component is valid. |
Method Detail |
---|
void setValid(Object object, JComponent component)
object
- the validated objectcomponent
- the component holding the validated valuevoid setValid(Object object, JComponent component, boolean valid)
object
- the validated objectcomponent
- the component holding the validated valuevalid
- true
if values is validvoid setInvalid(Object object, JComponent component, String message)
object
- the validated objectcomponent
- the component holding the invalidated valuemessage
- the message explaining why the value is invalid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |