com.sptci.echo2
Class Controller.LinkedCellRenderer
java.lang.Object
com.sptci.echo2.Controller.LinkedCellRenderer
- All Implemented Interfaces:
- Serializable, TableCellRenderer
- Enclosing class:
- Controller<V>
public class Controller.LinkedCellRenderer
- extends Object
- implements TableCellRenderer
A custom table cell renderer used to present the cell data as
hyper linked.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listener
private ActionListener listener
- The action listener to use for the cell data.
Controller.LinkedCellRenderer
public Controller.LinkedCellRenderer(ActionListener listener)
- Create a new instance of the rendered using the specified
action listener
- Parameters:
listener - The action listener to use for the
cell data.
getTableCellRendererComponent
public Component getTableCellRendererComponent(Table table,
Object value,
int column,
int row)
- Return the hyperlinked button with appropriate action listener
- Specified by:
getTableCellRendererComponent in interface TableCellRenderer