com.silvermindsoftware.hitch.validation.response
Interface ValidationResponder

All Known Implementing Classes:
DefaultValidationResponder

public interface ValidationResponder

Interface for handlers that determine how to react on valid/invalid values.

Author:
Stefan Wismer (SWI)
File-location:
ValidationResponder
Last check-in date:
2009-08-04 15:48:31 +0200 (Di, 04. Aug 2009) by swismer for revision 3884

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

setValid

void setValid(Object object,
              JComponent component)
The value in the component is valid.

Parameters:
object - the validated object
component - the component holding the validated value

setValid

void setValid(Object object,
              JComponent component,
              boolean valid)
The value in the component is valid.

Parameters:
object - the validated object
component - the component holding the validated value
valid - true if values is valid

setInvalid

void setInvalid(Object object,
                JComponent component,
                String message)
The value in the component is invalid.

Parameters:
object - the validated object
component - the component holding the invalidated value
message - the message explaining why the value is invalid


Copyright © 2005-2011 ELCA. All Rights Reserved.