jmri.util.com.sun
Class TransferActionListener

java.lang.Object
  extended by jmri.util.com.sun.TransferActionListener
All Implemented Interfaces:
ActionListener, PropertyChangeListener, EventListener

public class TransferActionListener
extends Object
implements ActionListener, 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
TransferActionListener()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void propertyChange(PropertyChangeEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransferActionListener

public TransferActionListener()
Method Detail

propertyChange

public void propertyChange(PropertyChangeEvent e)
Specified by:
propertyChange in interface PropertyChangeListener

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener


Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads