01: package org.wingx.table;
02:
03: import org.wings.LowLevelEventListener;
04: import org.wings.STable;
05: import org.wings.table.STableCellRenderer;
06: import org.wingx.XTable;
07:
08: /**
09: * A cell renderer, that renders some editable component that allows for immediate user interaction.
10: * The table will catch the lowlevel events, forward them to this renderer and retrieve the value
11: * in order to set it on the table model.
12: *
13: * This is a preliminary approach, that will most probably be replaced with the standard cell editor
14: * mechanism as soon as ajax makes its usability acceptable.
15: */
16: public interface EditableTableCellRenderer extends STableCellRenderer {
17:
18: public abstract Object getValue();
19:
20: public abstract LowLevelEventListener getLowLevelEventListener(
21: STable table, int row, int column);
22: }
|