public class

AppletEventMulticaster

extends Object
implements AppletListener
java.lang.Object
   ↳ sun.applet.AppletEventMulticaster

Class Overview

AppletEventMulticaster class. This class manages an immutable structure consisting of a chain of AppletListeners and is responsible for dispatching events to them.

Summary

Public Constructors
AppletEventMulticaster(AppletListener a, AppletListener b)
Public Methods
static AppletListener add(AppletListener a, AppletListener b)
Adds Applet-listener-a with Applet-listener-b and returns the resulting multicast listener.
void appletStateChanged(AppletEvent e)
static AppletListener remove(AppletListener l, AppletListener oldl)
Removes the old Applet-listener from Applet-listener-l and returns the resulting multicast listener.
Protected Methods
AppletListener remove(AppletListener oldl)
Removes a listener from this multicaster and returns the resulting multicast listener.
[Expand]
Inherited Methods
From class java.lang.Object
From interface sun.applet.AppletListener

Public Constructors

public AppletEventMulticaster (AppletListener a, AppletListener b)

Public Methods

public static AppletListener add (AppletListener a, AppletListener b)

Adds Applet-listener-a with Applet-listener-b and returns the resulting multicast listener.

Parameters
a Applet-listener-a
b Applet-listener-b

public void appletStateChanged (AppletEvent e)

public static AppletListener remove (AppletListener l, AppletListener oldl)

Removes the old Applet-listener from Applet-listener-l and returns the resulting multicast listener.

Parameters
l Applet-listener-l
oldl the Applet-listener being removed

Protected Methods

protected AppletListener remove (AppletListener oldl)

Removes a listener from this multicaster and returns the resulting multicast listener.

Parameters
oldl the listener to be removed