Package jmri.jmrit.beantable
Class BeanTableDataModel.HeaderActionListener
- java.lang.Object
-
- jmri.jmrit.beantable.BeanTableDataModel.HeaderActionListener
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.util.EventListener
- Enclosing class:
- BeanTableDataModel<T extends NamedBean>
static class BeanTableDataModel.HeaderActionListener extends java.lang.Object implements java.awt.event.ActionListener
Listener class which processes Column Menu button clicks. Does not allow the last column to be hidden, otherwise there would be no table header to recover the column menu / columns from.
-
-
Constructor Summary
Constructors Constructor Description HeaderActionListener(javax.swing.table.TableColumn tc, XTableColumnModel tcm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
-
-
Constructor Detail
-
HeaderActionListener
HeaderActionListener(javax.swing.table.TableColumn tc, XTableColumnModel tcm)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-