jmri.jmrit.operations.locations
Class PrintLocationsByCarTypesAction

Show UML class diagram
java.lang.Object
  extended by javax.swing.AbstractAction
      extended by jmri.jmrit.operations.locations.PrintLocationsByCarTypesAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class PrintLocationsByCarTypesAction
extends AbstractAction

Action to print a summary of locations and tracks 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
(package private)  boolean isPreview
          Variable to set whether this is to be printed or previewed
(package private)  LocationManager locManager
           
(package private) static org.slf4j.Logger log
           
(package private)  Frame mFrame
          Frame hosting the printing
(package private) static String newLine
           
(package private) static String tab
           
(package private)  HardcopyWriter writer
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
PrintLocationsByCarTypesAction(String actionName, Frame frame, boolean preview, Component pWho)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

newLine

static final String newLine
See Also:
Constant Field Values

tab

static final String tab
See Also:
Constant Field Values

locManager

LocationManager locManager

mFrame

Frame mFrame
Frame hosting the printing


isPreview

boolean isPreview
Variable to set whether this is to be printed or previewed


writer

HardcopyWriter writer

log

static org.slf4j.Logger log
Constructor Detail

PrintLocationsByCarTypesAction

public PrintLocationsByCarTypesAction(String actionName,
                                      Frame frame,
                                      boolean preview,
                                      Component pWho)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)


Copyright © 1997-2013 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads