Package jmri.jmrit.dispatcher
Class DispatcherFrame.TableHeaderListener
- java.lang.Object
-
- jmri.util.swing.JmriMouseAdapter
-
- jmri.jmrit.dispatcher.DispatcherFrame.TableHeaderListener
-
- All Implemented Interfaces:
java.util.EventListener
,JmriMouseListener
- Enclosing class:
- DispatcherFrame
class DispatcherFrame.TableHeaderListener extends JmriMouseAdapter
Class to support Columnheader popup menu on XTableColum model.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JTable
table
-
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
-
-
-
-
Field Detail
-
table
javax.swing.JTable table
-
-
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
-
-