|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.swing.AbstractAction
edu.princeton.swing.AbstractAction2
edu.princeton.toy.TFrame.TFrameAction
protected class TFrame.TFrameAction
TFrameAction is a generalizable action for the TFrame; basically, it relays all ActionEvents to the doCommand() method.
| Field Summary |
|---|
| Fields inherited from class edu.princeton.swing.AbstractAction2 |
|---|
EXTRA_INFO_KEY, LONG_DESCRIPTION_KEY, NAME_KEY, SHORT_DESCRIPTION_KEY, SMALL_ICON_KEY |
| Fields inherited from class javax.swing.AbstractAction |
|---|
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
|---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
|---|---|
protected |
TFrame.TFrameAction(String name,
Icon icon,
int mnemonic,
KeyStroke accelerator,
String command)
Creates a new TFrameAction. |
protected |
TFrame.TFrameAction(String name,
Icon icon,
int mnemonic,
KeyStroke accelerator,
String command,
Object extraInfo)
Creates a new TFrameAction. |
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Implements ActionListener to perform the redo operation. |
| Methods inherited from class edu.princeton.swing.AbstractAction2 |
|---|
createMenuItem, getAccelerator, getActionCommand, getExtraInfo, getLongDescription, getMnemonic, getName, getShortDescription, getSmallIcon, setAccelerator, setActionCommand, setExtraInfo, setLongDescription, setMnemonic, setName, setShortDescription, setSmallIcon |
| 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 |
| Constructor Detail |
|---|
protected TFrame.TFrameAction(String name,
Icon icon,
int mnemonic,
KeyStroke accelerator,
String command)
protected TFrame.TFrameAction(String name,
Icon icon,
int mnemonic,
KeyStroke accelerator,
String command,
Object extraInfo)
| Method Detail |
|---|
public void actionPerformed(ActionEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||