All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.player.event.PlayerEventMulticaster

java.lang.Object
   |
   +----guinea.player.event.PlayerEventMulticaster

public class PlayerEventMulticaster
extends Object
implements PlayerDiagnosticsListener, PlayerListener

Variable Index

· a
· b

Constructor Index

· PlayerEventMulticaster(EventListener, EventListener)

Method Index

· add(PlayerDiagnosticsListener, PlayerDiagnosticsListener)
· add(PlayerListener, PlayerListener)
· addInternal(EventListener, EventListener)
Returns the resulting multicast listener from adding listener-a and listener-b together.
· playerFrameDrop(FrameDropEvent)
· playerLogMessage(LogMessageEvent)
· playerStarted(PlayerEvent)
· playerStopped(PlayerEvent)
· remove(EventListener)
Removes a listener from this multicaster and returns the resulting multicast listener.
· remove(PlayerDiagnosticsListener, PlayerDiagnosticsListener)
· remove(PlayerListener, PlayerListener)
· removeInternal(EventListener, EventListener)

Variables

· a
 protected final EventListener a
· b
 protected final EventListener b

Constructors

· PlayerEventMulticaster
 protected PlayerEventMulticaster(EventListener a,
                                  EventListener b)

Methods

· playerFrameDrop
 public void playerFrameDrop(FrameDropEvent e)
· playerLogMessage
 public void playerLogMessage(LogMessageEvent e)
· add
 public static PlayerDiagnosticsListener add(PlayerDiagnosticsListener a,
                                             PlayerDiagnosticsListener b)
· remove
 public static PlayerDiagnosticsListener remove(PlayerDiagnosticsListener l,
                                                PlayerDiagnosticsListener oldl)
· playerStarted
 public void playerStarted(PlayerEvent e)
· playerStopped
 public void playerStopped(PlayerEvent e)
· add
 public static PlayerListener add(PlayerListener a,
                                  PlayerListener b)
· remove
 public static PlayerListener remove(PlayerListener l,
                                     PlayerListener oldl)
· addInternal
 protected static EventListener addInternal(EventListener a,
                                            EventListener b)
Returns the resulting multicast listener from adding listener-a and listener-b together. If listener-a is null, it returns listener-b; If listener-b is null, it returns listener-a If neither are null, then it creates and returns a new AWTEventMulticaster instance which chains a with b.

Parameters:
a - event listener-a
b - event listener-b
· removeInternal
 protected static EventListener removeInternal(EventListener l,
                                               EventListener oldl)
· remove
 protected EventListener remove(EventListener oldl)
Removes a listener from this multicaster and returns the resulting multicast listener.

Parameters:
oldl - the listener to be removed

All Packages  Class Hierarchy  This Package  Previous  Next  Index