01: package org.uispec4j;
02:
03: import java.awt.*;
04:
05: /**
06: * Performs a conversion between internal and tested cell values in a {@link ListBox} component
07: * This interface is meant to be used when the JList component used by the application
08: * uses renderers other than JLabel components.
09: *
10: * @see ListBox#setCellValueConverter
11: */
12: public interface ListBoxCellValueConverter {
13: String getValue(int index, Component renderedComponent,
14: Object modelObject);
15: }
|