Package jmri.jmrit.beantable
Class BeanTableDataModel.PopupListener
- java.lang.Object
-
- jmri.util.swing.JmriMouseAdapter
-
- jmri.jmrit.beantable.BeanTableDataModel.PopupListener
-
- All Implemented Interfaces:
java.util.EventListener
,JmriMouseListener
- Enclosing class:
- BeanTableDataModel<T extends NamedBean>
class BeanTableDataModel.PopupListener extends JmriMouseAdapter
Listener to trigger display of table cell menu. Delete / Rename / Move etc.
-
-
Constructor Summary
Constructors Constructor Description PopupListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
mouseClicked, mouseEntered, mouseExited
-
-
-
-
Constructor Detail
-
PopupListener
PopupListener()
-
-
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
-
-