Class PrintSavedBuildReportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.trains.tools.PrintSavedBuildReportAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PrintSavedBuildReportAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
Action to print a train's build report 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 PrintSavedBuildReportAction(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
-
PrintSavedBuildReportAction
public PrintSavedBuildReportAction(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()
-
-