Class ButtonEditor

All Implemented Interfaces:
ActionListener, PropertyChangeListener, EventListener, CellEditor, TableCellEditor, JmriMouseListener

Make a JButton in a table cell function.

Works with ButtonRenderer.

This was adapted from Core Swing Advanced Programming, Prentice Hall

Changes: Remove DataWithIcon reference. Change package

This also now implements and registers as a MouseListener, so you can change the mouse-event behavior by overriding the needed methods.