net.xoetrope.registry
Interface CustomizationAdapter

All Known Implementing Classes:
TableColumnCustomizer

public interface CustomizationAdapter

An interface for component customization adapters. Some customization are not just method calls or property values and require some additional work before being applied. For example a table column cell render cannot be applied directly to the table and an adapter is needed to access the column model and apply the cell renderer.

Copyright (c) Xoetrope Ltd., 2002-2006

License: see License.txt


Method Summary
 int adapt(java.lang.String methodName, java.lang.Object comp, java.lang.Object[] values, java.lang.String scope)
          Apply a value to a component
 

Method Detail

adapt

int adapt(java.lang.String methodName,
          java.lang.Object comp,
          java.lang.Object[] values,
          java.lang.String scope)
Apply a value to a component

Parameters:
methodName - the method name to use in applying the property
comp - the component being modified
values - the values being set
scope - the scope of the adapter, or the range of items for which it applies the property
Returns:
0 on success