Class PrintLocationsAction
java.lang.Object
javax.swing.AbstractAction
jmri.jmrit.operations.locations.tools.PrintLocationsAction
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
public class PrintLocationsAction extends AbstractAction
Action to print a summary of the Location Roster contents
This 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
PrintLocationsAction.LocationPrintOptionFrame
-
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) Location
_location
(package private) CarLoads
cls
(package private) CarRoads
crs
(package private) CarTypes
cts
(package private) static String
FORM_FEED
(package private) LocationManager
lmanager
(package private) PrintLocationsAction.LocationPrintOptionFrame
lpof
(package private) static int
MAX_NAME_LENGTH
(package private) static String
NEW_LINE
(package private) JCheckBox
printAnalysis
(package private) JCheckBox
printComments
(package private) JCheckBox
printDetails
(package private) JCheckBox
printErrorAnalysis
(package private) JCheckBox
printLocations
(package private) JCheckBox
printSchedules
(package private) static String
SPACE
(package private) static String
TAB
(package private) static int
TAB_LENGTH
(package private) HardcopyWriter
writer
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
-
Constructor Summary
Constructors Constructor Description PrintLocationsAction(boolean isPreview)
PrintLocationsAction(boolean isPreview, Location location)
-
Method Summary
Modifier and Type Method Description void
actionPerformed(ActionEvent e)
void
printLocations()
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
NEW_LINE
- See Also:
- Constant Field Values
-
FORM_FEED
- See Also:
- Constant Field Values
-
TAB
- See Also:
- Constant Field Values
-
TAB_LENGTH
- See Also:
- Constant Field Values
-
SPACE
- See Also:
- Constant Field Values
-
MAX_NAME_LENGTH
-
lmanager
-
cts
-
cls
-
crs
-
_isPreview
boolean _isPreviewVariable to set whether this is to be printed or previewed -
_location
-
writer
-
lpof
-
printLocations
-
printSchedules
-
printComments
-
printDetails
-
printAnalysis
-
printErrorAnalysis
-
-
Constructor Details
-
Method Details