com.metamatrix.toolbox.ui.widget.property
Interface PropertyValidationListener

All Known Implementing Classes:
PropertyChangeAdapter

public interface PropertyValidationListener

Defines interface for custom property dislpay JComponents to callback for validating partial entries of property values. This interface is implemented by PropertyChangeAdapter and is broken out here to simplify the implementation requirements of custom components.


Method Summary
 void isValueValid(PropertyComponent source, java.lang.Object value)
          Request that the specified property value be validated in the current context.
 

Method Detail

isValueValid

void isValueValid(PropertyComponent source,
                  java.lang.Object value)
Request that the specified property value be validated in the current context. The result of this method will be communicated via PropertyComponent.setValidity().

Parameters:
source - the custom PropertyComponent requesting validation.
value - the property value that should be validated.


Copyright © 2009. All Rights Reserved.