|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
gov.nasa.gsfc.drl.rtstps.library.XAction
gov.nasa.gsfc.drl.rtstps.viewer.commands.ZeroAction
class ZeroAction
Handle the "zero status" action.
Field Summary | |
---|---|
private javax.swing.JFrame |
frame
The parent JFrame. |
private static long |
serialVersionUID
|
private RtStpsServices |
server
|
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields 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 | |
---|---|
ZeroAction(javax.swing.JFrame frame,
RtStpsServices server)
Create a ZeroAction object. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
The action that is performed when the button is pressed or the menu item is selected. |
javax.swing.KeyStroke |
getKeyStroke()
Get a hotkey combination that activates the action. |
char |
getMnemonic()
Get the mnemonic character associated with the action label. |
java.lang.String |
getToolTip()
Get the action's tooltip. |
Methods inherited from class gov.nasa.gsfc.drl.rtstps.library.XAction |
---|
getText |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private javax.swing.JFrame frame
private RtStpsServices server
private static final long serialVersionUID
Constructor Detail |
---|
ZeroAction(javax.swing.JFrame frame, RtStpsServices server)
Method Detail |
---|
public final char getMnemonic()
XAction
getMnemonic
in class XAction
public final javax.swing.KeyStroke getKeyStroke()
XAction
public KeyStroke getKeyStroke() { return KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_A, java.awt.event.InputEvent.CTRL_MASK); }
getKeyStroke
in class XAction
public final java.lang.String getToolTip()
XAction
getToolTip
in class XAction
public void actionPerformed(java.awt.event.ActionEvent e)
XAction
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class XAction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |