Class PrintShowCarsInTrainAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.trains.tools.PrintShowCarsInTrainAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.beans.PropertyChangeListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
public class PrintShowCarsInTrainAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
Action to print the cars in the train.This uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ
- 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 PrintShowCarsInTrainAction(boolean isPreview, Train train)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)voidpropertyChange(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
-
-
Constructor Detail
-
PrintShowCarsInTrainAction
public PrintShowCarsInTrainAction(boolean isPreview, Train train)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)
- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener
-
-