Package jmri.jmrit.beantable
Class BeanTableDataModel.TableHeaderListener
- java.lang.Object
-
- jmri.util.swing.JmriMouseAdapter
-
- jmri.jmrit.beantable.BeanTableDataModel.TableHeaderListener
-
- All Implemented Interfaces:
java.util.EventListener
,JmriMouseListener
- Enclosing class:
- BeanTableDataModel<T extends NamedBean>
class BeanTableDataModel.TableHeaderListener extends JmriMouseAdapter
Listener to trigger display of table header column menu.
-
-
Constructor Summary
Constructors Constructor Description TableHeaderListener(javax.swing.JTable tbl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(JmriMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component.void
mousePressed(JmriMouseEvent e)
Invoked when a mouse button has been pressed on a component.void
mouseReleased(JmriMouseEvent e)
Invoked when a mouse button has been released on a component.-
Methods inherited from class jmri.util.swing.JmriMouseAdapter
mouseEntered, mouseExited
-
-
-
-
Constructor Detail
-
TableHeaderListener
TableHeaderListener(javax.swing.JTable tbl)
-
-
Method Detail
-
mousePressed
public void mousePressed(JmriMouseEvent e)
Invoked when a mouse button has been pressed on a component.- Specified by:
mousePressed
in interfaceJmriMouseListener
- Overrides:
mousePressed
in classJmriMouseAdapter
- Parameters:
e
- the event to be processed
-
mouseReleased
public void mouseReleased(JmriMouseEvent e)
Invoked when a mouse button has been released on a component.- Specified by:
mouseReleased
in interfaceJmriMouseListener
- Overrides:
mouseReleased
in classJmriMouseAdapter
- Parameters:
e
- the event to be processed
-
mouseClicked
public void mouseClicked(JmriMouseEvent e)
Invoked when the mouse button has been clicked (pressed and released) on a component.- Specified by:
mouseClicked
in interfaceJmriMouseListener
- Overrides:
mouseClicked
in classJmriMouseAdapter
- Parameters:
e
- the event to be processed
-
-