Package jmri.util.swing
Class JmriMouseAdapter
java.lang.Object
jmri.util.swing.JmriMouseAdapter
- All Implemented Interfaces:
EventListener,JmriMouseListener
- Direct Known Subclasses:
BeanTableDataModel.PopupListener,BeanTableDataModel.TableHeaderListener,DispatcherFrame.TableHeaderListener,IconItemPanel.IconListener
Replacement for MouseAdaptor.
This class is used to replace MouseEvent with JmriMouseEvent.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when the mouse button has been clicked (pressed and released) on a component.voidInvoked when the mouse enters a component.voidInvoked when the mouse exits a component.voidInvoked when a mouse button has been pressed on a component.voidInvoked when a mouse button has been released on a component.
-
Constructor Details
-
JmriMouseAdapter
public JmriMouseAdapter()
-
-
Method Details
-
mouseClicked
Description copied from interface:JmriMouseListenerInvoked when the mouse button has been clicked (pressed and released) on a component.- Specified by:
mouseClickedin interfaceJmriMouseListener- Parameters:
e- the event to be processed
-
mousePressed
Description copied from interface:JmriMouseListenerInvoked when a mouse button has been pressed on a component.- Specified by:
mousePressedin interfaceJmriMouseListener- Parameters:
e- the event to be processed
-
mouseReleased
Description copied from interface:JmriMouseListenerInvoked when a mouse button has been released on a component.- Specified by:
mouseReleasedin interfaceJmriMouseListener- Parameters:
e- the event to be processed
-
mouseEntered
Description copied from interface:JmriMouseListenerInvoked when the mouse enters a component.- Specified by:
mouseEnteredin interfaceJmriMouseListener- Parameters:
e- the event to be processed
-
mouseExited
Description copied from interface:JmriMouseListenerInvoked when the mouse exits a component.- Specified by:
mouseExitedin interfaceJmriMouseListener- Parameters:
e- the event to be processed
-