Package apps
Class ReportContextAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.util.swing.JmriAbstractAction
-
- apps.ReportContextAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class ReportContextAction extends JmriAbstractAction
Swing action to display the JMRI context for the user- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JTextArea
pane
-
Fields inherited from class jmri.util.swing.JmriAbstractAction
context, hint, wi
-
-
Constructor Summary
Constructors Constructor Description ReportContextAction()
ReportContextAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
ReportContextAction(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 ev)
(package private) void
addProperty(java.lang.String prop)
(package private) void
addString(java.lang.String val)
JmriPanel
makePanel()
-
Methods inherited from class jmri.util.swing.JmriAbstractAction
dispose, setContext, setHint, setName, setParameter, setParameter, setWindowInterface, toString
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
pane
javax.swing.JTextArea pane
-
-
Constructor Detail
-
ReportContextAction
public ReportContextAction(java.lang.String s, WindowInterface wi)
-
ReportContextAction
public ReportContextAction(java.lang.String s, javax.swing.Icon i, WindowInterface wi)
-
ReportContextAction
public ReportContextAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
- Overrides:
actionPerformed
in classJmriAbstractAction
-
addString
void addString(java.lang.String val)
-
addProperty
void addProperty(java.lang.String prop)
-
makePanel
public JmriPanel makePanel()
- Specified by:
makePanel
in classJmriAbstractAction
-
-