Class PrintTrainsByCarTypesAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.trains.tools.PrintTrainsByCarTypesAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PrintTrainsByCarTypesAction extends javax.swing.AbstractAction
Action to print a summary of trains that service specific car types.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
Variable to set whether this is to be printed or previewed(package private) int
max_name_length
(package private) static java.lang.String
NEW_LINE
(package private) static java.lang.String
TAB
(package private) HardcopyWriter
writer
-
Constructor Summary
Constructors Constructor Description PrintTrainsByCarTypesAction(boolean isPreview)
-
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
-
NEW_LINE
static final java.lang.String NEW_LINE
- See Also:
- Constant Field Values
-
TAB
static final java.lang.String TAB
- See Also:
- Constant Field Values
-
_isPreview
boolean _isPreview
Variable to set whether this is to be printed or previewed
-
writer
HardcopyWriter writer
-
max_name_length
int max_name_length
-
-
Constructor Detail
-
PrintTrainsByCarTypesAction
public PrintTrainsByCarTypesAction(boolean isPreview)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
-