org.zaval.util
Interface Validationable

All Known Subinterfaces:
Drawable, LwComponent, LwComposite, LwContainer, LwDesktop, LwLayer
All Known Implementing Classes:
ValidationObject

public interface Validationable

This interface allows to validate an object and provides ability to control validation state of the object.


Method Summary
 void invalidate()
          Invalidates this object.
 boolean isValid()
          Checks if this object is valid.
 void validate()
          Validates this object.
 

Method Detail

validate

public void validate()
Validates this object.

invalidate

public void invalidate()
Invalidates this object.

isValid

public boolean isValid()
Checks if this object is valid.
Returns:
a valid state of the object. The object is valid if the method returns true.


Copyright © Zaval Creative Engineering Group, 2000-2005.
http://www.zaval.org