Package jmri.util.com.sun
Class TransferActionListener
- java.lang.Object
-
- jmri.util.com.sun.TransferActionListener
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.util.EventListener
public class TransferActionListener extends java.lang.Object implements java.awt.event.ActionListener, java.beans.PropertyChangeListener
A class that tracks the focused component. This is necessary to delegate the menu cut/copy/paste commands to the right component. An instance of this class is listening and when the user fires one of these commands, it calls the appropriate action on the currently focused component.
-
-
Constructor Summary
Constructors Constructor Description TransferActionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
propertyChange(java.beans.PropertyChangeEvent e)
-
-
-
Constructor Detail
-
TransferActionListener
public TransferActionListener()
-
-
Method Detail
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-