Package jmri.jmrit.roster
Class PrintListAction
java.lang.Object
javax.swing.AbstractAction
jmri.util.swing.JmriAbstractAction
jmri.jmrit.roster.PrintListAction
- All Implemented Interfaces:
ActionListener,Serializable,Cloneable,EventListener,Action
Action to print a very compact summary listing of the Roster contents.
This uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) booleanVariable to set whether this is to be printed or previewed.(package private) FrameFrame hosting the printing.Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wiFields inherited from class javax.swing.AbstractAction
changeSupport, enabledFields 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
ConstructorsConstructorDescriptionPrintListAction(String actionName, Frame frame, boolean preview) PrintListAction(String s, Icon i, WindowInterface wi) PrintListAction(String s, WindowInterface wi) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetParameter(String parameter, String value) voidsetPreview(boolean preview) Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setWindowInterface, toStringMethods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
mFrame
Frame hosting the printing. -
isPreview
boolean isPreviewVariable to set whether this is to be printed or previewed.
-
-
Constructor Details
-
PrintListAction
-
PrintListAction
-
PrintListAction
-
-
Method Details
-
setPreview
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener- Overrides:
actionPerformedin classJmriAbstractAction
-
makePanel
- Specified by:
makePanelin classJmriAbstractAction
-
setParameter
- Overrides:
setParameterin classJmriAbstractAction
-