Package jmri.jmrit.operations.trains
Class TrainIcon.RouteAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.trains.TrainIcon.RouteAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- TrainIcon
public class TrainIcon.RouteAction extends javax.swing.AbstractAction
Moves train from current location to the one selected by user.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) RouteLocation
_rl
-
Constructor Summary
Constructors Constructor Description RouteAction(java.lang.String actionName, RouteLocation rl)
-
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
-
_rl
RouteLocation _rl
-
-
Constructor Detail
-
RouteAction
public RouteAction(java.lang.String actionName, RouteLocation rl)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-