Package jmri.jmrit.roster
Class PrintRosterAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- jmri.jmrit.roster.PrintRosterAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PrintRosterAction extends JmriAbstractAction
Action to print a summary of the Roster contents.This uses the older style printing, for compatibility with Java 1.1.8 in Macintosh MRJ
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrintRosterAction(java.lang.String actionName, java.awt.Frame frame, boolean preview)
PrintRosterAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
PrintRosterAction(java.lang.String s, WindowInterface wi)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
JmriPanel
makePanel()
void
setParameter(java.lang.String parameter, java.lang.String value)
void
setPreview(boolean preview)
-
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
PrintRosterAction
public PrintRosterAction(java.lang.String s, WindowInterface wi)
-
PrintRosterAction
public PrintRosterAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
PrintRosterAction
public PrintRosterAction(java.lang.String actionName, java.awt.Frame frame, boolean preview)
-
-
Method Detail
-
setPreview
public void setPreview(boolean preview)
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
setParameter
public void setParameter(java.lang.String parameter, java.lang.String value)
- Overrides:
setParameter
in classJmriAbstractAction
-
-