Package jmri.jmrit
Class MemoryFrameAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.MemoryFrameAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class MemoryFrameAction extends javax.swing.AbstractAction
Display memory usage on request- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JTextField
free1
(package private) javax.swing.JTextField
free2
(package private) javax.swing.JTextField
free3
(package private) javax.swing.JButton
gcButton
(package private) java.text.NumberFormat
nf
(package private) javax.swing.JButton
testButton
(package private) javax.swing.JTextField
total1
(package private) javax.swing.JTextField
total2
(package private) javax.swing.JTextField
total3
(package private) javax.swing.JButton
updateButton
(package private) javax.swing.JTextField
used1
(package private) javax.swing.JTextField
used2
(package private) javax.swing.JTextField
used3
-
Constructor Summary
Constructors Constructor Description MemoryFrameAction()
MemoryFrameAction(java.lang.String s)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
(package private) void
updateDisplay()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Field Detail
-
used1
javax.swing.JTextField used1
-
used2
javax.swing.JTextField used2
-
used3
javax.swing.JTextField used3
-
free1
javax.swing.JTextField free1
-
free2
javax.swing.JTextField free2
-
free3
javax.swing.JTextField free3
-
total1
javax.swing.JTextField total1
-
total2
javax.swing.JTextField total2
-
total3
javax.swing.JTextField total3
-
updateButton
javax.swing.JButton updateButton
-
gcButton
javax.swing.JButton gcButton
-
testButton
javax.swing.JButton testButton
-
nf
java.text.NumberFormat nf
-
-
Constructor Detail
-
MemoryFrameAction
public MemoryFrameAction(java.lang.String s)
-
MemoryFrameAction
public MemoryFrameAction()
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-
updateDisplay
void updateDisplay()
-
-