org.vizzini.util.event
Class BusyManager

java.lang.Object
  extended by org.vizzini.util.event.AbstractManager
      extended by org.vizzini.util.event.BusyManager

public class BusyManager
extends AbstractManager

Provides a manager of busy listeners and convenience methods for creating busy events.

Since:
v0.1
Version:
v0.2
Author:
Jeffrey M. Thompson

Constructor Summary
BusyManager()
           
 
Method Summary
 void addBusyListener(IBusyListener listener)
          Add the given listener.
 void fireBusyChange(boolean oldValue, boolean isBusy)
          Fire a busy event.
 void fireBusyChange(BusyEvent event)
          Fire the given state event to all registered listeners.
protected  void fireChange(IListener listener0, IEvent event0)
          Fire the given event to the given listener.
 void removeBusyListener(IBusyListener listener)
          Remove the given listener.
 
Methods inherited from class org.vizzini.util.event.AbstractManager
addListener, fireChange, isFiringChanges, removeListener, setFiringChanges
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BusyManager

public BusyManager()
Method Detail

addBusyListener

public void addBusyListener(IBusyListener listener)
Add the given listener.

Since:
v0.1

fireBusyChange

public void fireBusyChange(boolean oldValue,
                           boolean isBusy)
Fire a busy event.

Parameters:
isBusy - Flag indicating busy status.
Since:
v0.1

fireBusyChange

public void fireBusyChange(BusyEvent event)
Fire the given state event to all registered listeners.

Since:
v0.1

removeBusyListener

public void removeBusyListener(IBusyListener listener)
Remove the given listener.

Since:
v0.1

fireChange

protected void fireChange(IListener listener0,
                          IEvent event0)
Fire the given event to the given listener.

Specified by:
fireChange in class AbstractManager
Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02