Package jmri.jmrit.powerpanel
Class PowerButtonAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- jmri.jmrit.powerpanel.PowerButtonAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.beans.PropertyChangeListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
public class PowerButtonAction extends javax.swing.AbstractAction implements java.beans.PropertyChangeListener
Swing action to create and register a PowerPanelFrame object.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PowerButtonAction()
PowerButtonAction(java.lang.String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
(package private) void
checkManager()
void
propertyChange(java.beans.PropertyChangeEvent ev)
(package private) void
updateLabel()
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Constructor Detail
-
PowerButtonAction
public PowerButtonAction(java.lang.String title)
-
PowerButtonAction
public PowerButtonAction()
-
-
Method Detail
-
checkManager
void checkManager()
-
updateLabel
void updateLabel()
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent ev)
- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed
in interfacejava.awt.event.ActionListener
-
-