|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectMyActionListener
class MyActionListener
MyActionListener is a class that handles events happened on windows of the Plus Number game. It deals with actions on buttons or a menu bar on the windows.
| Field Summary | |
|---|---|
private PlusNumber |
myOwner
PlusNumber object that creates and has this action listener. |
| Constructor Summary | |
|---|---|
MyActionListener()
Default constructor that initialises an attribute by caling a non-default constructor. |
|
MyActionListener(PlusNumber myOwner)
Constructor initialising an attribute. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Manage an event happened when a button is pressed or a menu item is selected on the Plus Number game windows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private PlusNumber myOwner
| Constructor Detail |
|---|
public MyActionListener(PlusNumber myOwner)
myOwner - a parent PlusNumber object.public MyActionListener()
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenere - an event happened either on buttons or menu items.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||