Documentation Archive Developer
Search
[an error occurred while processing this directive] PATH  Documentation > WebObjects 4.5 > EOInterface Reference

Table of Contents

EOTableColumnAssociation.TableColumnCustomizer


Package:
com.apple.client.eointerface

Interface Description


EOTableColumnAssociation.TableColumnCustomizer is an interface the API an object uses to specify custom editors and renderers for an EOTableColumnAssociation.


Note: This interface doesn't exist in the com.apple.yellow.eointerface package.

To use your own editor or renderer in the JTable of an EOTable, you define a class that implements EOTableColumnAssociation.TableColumnCustomizer's two methods: editorForAssociation, which should return an editor for the specified association, and rendererForAssociation, which should return a renderer for the specified association. Register an instance of your TableColumnCustomizer using EOTableColumnAssociation's static method setTableColumnCustomizer.

For more information on how TableColumnCustomizers are used, see the EOTableColumnAssociation class specification.



Instance Methods



editorForAssociation

public abstract EOColumnEditor editorForAssociation(EOTableColumnAssociation tableColumnAssociation)

Returns the EOColumnEditor to be used for tableColumnAssociation's display object (a javax.swing.table.TableColumn).

rendererForAssociation

public abstract javax.swing.table.TableCellRenderer rendererForAssociation(EOTableColumnAssociation tableColumnAssociation)

Returns the TableCellRenderer to be used for tableColumnAssociation's display object (a javax.swing.table.TableColumn).


Table of Contents