Class PrintEngineRosterAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.operations.rollingstock.engines.tools.PrintEngineRosterAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PrintEngineRosterAction extends javax.swing.AbstractAction
Action to print a summary of the Roster contentsThis uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PrintEngineRosterAction.EnginePrintOptionFrame
-
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) PrintEngineRosterAction.EnginePrintOptionFrame
epof
(package private) javax.swing.JComboBox<java.lang.Integer>
fontSizeComboBox
(package private) EngineManager
manager
(package private) javax.swing.JComboBox<java.lang.String>
manifestOrientationComboBox
(package private) static java.lang.String
NEW_LINE
(package private) int
ownerMaxLen
(package private) EnginesTableFrame
panel
(package private) javax.swing.JComboBox<java.lang.String>
sortByComboBox
(package private) static java.lang.String
TAB
-
Constructor Summary
Constructors Constructor Description PrintEngineRosterAction(boolean isPreview, EnginesTableFrame pWho)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
void
printEngines()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
ownerMaxLen
final int ownerMaxLen
- See Also:
- Constant Field Values
-
manager
EngineManager manager
-
_isPreview
boolean _isPreview
Variable to set whether this is to be printed or previewed
-
panel
EnginesTableFrame panel
-
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
-
sortByComboBox
javax.swing.JComboBox<java.lang.String> sortByComboBox
-
manifestOrientationComboBox
javax.swing.JComboBox<java.lang.String> manifestOrientationComboBox
-
fontSizeComboBox
javax.swing.JComboBox<java.lang.Integer> fontSizeComboBox
-
-
Constructor Detail
-
PrintEngineRosterAction
public PrintEngineRosterAction(boolean isPreview, EnginesTableFrame pWho)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
printEngines
public void printEngines()
-
-