|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface that all applet that wants to be listenable must implement.
| Method Summary | |
void |
addAppletListener(AppletListener appletListener)
Registers a listener of the applet. |
void |
fireAppletEvent(AppletEvent appletEvent)
Fires an event to all the registered listeners of the applet. |
java.lang.String |
getName()
Returns the name of the applet. |
void |
removeAppletListener(AppletListener appletListener)
Unregisters the specified listener of the applet. |
void |
setName(java.lang.String name)
Sets the name of the applet. |
| Method Detail |
public void setName(java.lang.String name)
name - the name of the applet.public java.lang.String getName()
public void addAppletListener(AppletListener appletListener)
public void removeAppletListener(AppletListener appletListener)
appletListener - the listener to remove.public void fireAppletEvent(AppletEvent appletEvent)
appletEvent - the event to fire.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||