|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--candy.ui.WBButtonListener
The listener for a WBButton
WBButton| Field Summary | |
(package private) ClientApp |
client
Constructor. |
(package private) WBButton |
myButton
The button to which this listener is attached. |
(package private) java.lang.String |
MyName
The name of the class which this listener's button represents |
(package private) static WBButton |
theButton
The currently selected button. |
(package private) WhiteboardDisplay |
wb
The associated WhiteboardDisplay |
| Constructor Summary | |
WBButtonListener(WhiteboardDisplay d,
java.lang.String name,
ClientApp c)
Constructor. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
The action which occurs when the associated button is clicked. |
java.lang.String |
getName()
fetch the name attached to this listener |
| Methods inherited from class java.lang.Object |
|
| Field Detail |
WBButton myButton
static WBButton theButton
WhiteboardDisplay wb
java.lang.String MyName
ClientApp client
| Constructor Detail |
public WBButtonListener(WhiteboardDisplay d,
java.lang.String name,
ClientApp c)
d - The containing displayname - The textual name| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListenerpublic java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||