Class TrackCopyAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.locations.tools.TrackCopyAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class TrackCopyAction extends javax.swing.AbstractAction
Swing action to create and register a TrackCopyFrame object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Location
_destination
(package private) Track
_track
(package private) TrackCopyFrame
f
-
Constructor Summary
Constructors Constructor Description TrackCopyAction()
TrackCopyAction(Track track, Location destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
_destination
Location _destination
-
-
Constructor Detail
-
TrackCopyAction
public TrackCopyAction()
-
TrackCopyAction
public TrackCopyAction(Track track, Location destination)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-