Class PrintSavedTrainManifestAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.trains.tools.PrintSavedTrainManifestAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PrintSavedTrainManifestAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
Action to print a train's manifest that has been saved.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
_isPreview
Variable to set whether this is to be printed or previewed(package private) Train
_train
-
Constructor Summary
Constructors Constructor Description PrintSavedTrainManifestAction(boolean isPreview, Train train)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
protected java.io.File
getFile()
void
propertyChange(java.beans.PropertyChangeEvent e)
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
_isPreview
boolean _isPreview
Variable to set whether this is to be printed or previewed
-
-
Constructor Detail
-
PrintSavedTrainManifestAction
public PrintSavedTrainManifestAction(boolean isPreview, Train train)
-
-
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
-
getFile
protected java.io.File getFile()
-
-