|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.AbstractAction
ExtensionMenu.MenuAction
This class is used for handling the event of the added menuitem in the menu of the BlueJ-application.
Nested Class Summary |
Nested classes inherited from class javax.swing.AbstractAction |
|
Field Summary | |
private EditorExtension |
simple
|
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 | |
ExtensionMenu.MenuAction(java.lang.String menuName,
EditorExtension s)
The constructor of the class. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent anEvent)
This method is called when an event takes places. |
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 EditorExtension simple
Constructor Detail |
public ExtensionMenu.MenuAction(java.lang.String menuName, EditorExtension s)
menuName
- The name for the MenuItems
- An object of the class EditorExtensionMethod Detail |
public void actionPerformed(java.awt.event.ActionEvent anEvent)
anEvent
- The ActionEvent for the added menuItem
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |