fr.ove.applet
Interface ListenableApplet

All Known Implementing Classes:
AListenableApplet, AListenableAppletListener

public interface ListenableApplet

The interface that all applet that wants to be listenable must implement.

Version:
1.0 30/04/99
Author:
© 1999 DIRAT Laurent

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

setName

public void setName(java.lang.String name)
Sets the name of the applet.

Parameters:
name - the name of the applet.

getName

public java.lang.String getName()
Returns the name of the applet.


addAppletListener

public void addAppletListener(AppletListener appletListener)
Registers a listener of the applet.


removeAppletListener

public void removeAppletListener(AppletListener appletListener)
Unregisters the specified listener of the applet.

Parameters:
appletListener - the listener to remove.

fireAppletEvent

public void fireAppletEvent(AppletEvent appletEvent)
Fires an event to all the registered listeners of the applet.

Parameters:
appletEvent - the event to fire.


Copyright © 1999-2007 Universit?© de Nice Sophia-Antipolis, I3S, Ove SARL, DFKI and Universit?§t des Saarlandes. All Rights Reserved.