net.xoetrope.registry
Class TableColumnCustomizer

java.lang.Object
  extended by net.xoetrope.registry.TableColumnCustomizer
All Implemented Interfaces:
CustomizationAdapter

public class TableColumnCustomizer
extends java.lang.Object
implements CustomizationAdapter

Apply a customization to the columns of an JTable, XTable2 or other derivative

Copyright (c) Xoetrope Ltd., 2002-2006

License: see License.txt


Constructor Summary
TableColumnCustomizer()
          Creates a new instance of TableColumnCustomizer
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableColumnCustomizer

public TableColumnCustomizer()
Creates a new instance of TableColumnCustomizer

Method Detail

adapt

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

Specified by:
adapt in interface CustomizationAdapter
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