Class PrintTrainAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.trains.tools.PrintTrainAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PrintTrainAction extends javax.swing.AbstractAction
Action to print a summary of a train- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
_isPreview
(package private) Train
_train
-
Constructor Summary
Constructors Constructor Description PrintTrainAction(boolean isPreview)
PrintTrainAction(boolean isPreview, Train train)
-
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
-
_isPreview
boolean _isPreview
-
-
Constructor Detail
-
PrintTrainAction
public PrintTrainAction(boolean isPreview, Train train)
-
PrintTrainAction
public PrintTrainAction(boolean isPreview)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-