|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.northwestern.at.wordhoard.swing.calculator.menus.BaseMenu.GenericActionListener
protected class BaseMenu.GenericActionListener
Generic action listener that invokes action methods using reflection.
Field Summary | |
---|---|
protected java.lang.String |
actionMethodName
Action method name. |
Constructor Summary | |
---|---|
BaseMenu.GenericActionListener(java.lang.reflect.Method actionMethod)
Create generic action listener. |
|
BaseMenu.GenericActionListener(java.lang.String actionMethodName)
Create generic action listener. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Perform action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String actionMethodName
Constructor Detail |
---|
BaseMenu.GenericActionListener(java.lang.String actionMethodName)
actionMethodName
- The action method name. BaseMenu.GenericActionListener(java.lang.reflect.Method actionMethod)
actionMethod
- The action method. Method Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
event
- Event to perform.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |