com.anthonyeden.lib.event
Class StatusListenerSupport

java.lang.Object
  extended bycom.anthonyeden.lib.event.StatusListenerSupport

public class StatusListenerSupport
extends java.lang.Object

Support class for StatusListeners.

Author:
Anthony Eden

Constructor Summary
StatusListenerSupport(java.lang.Object source)
          Construct a new StatusListenerSupport for the given source object.
 
Method Summary
 void addStatusListener(StatusListener l)
          Add a StatusListener.
protected  void fireStatusChanged(StatusEvent evt)
          Fire the given StatusEvent.
 void fireStatusChanged(java.lang.String status)
          Fire a StatusEvent with the given status String.
 void removeStatusListener(StatusListener l)
          Remove the given StatusListener.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusListenerSupport

public StatusListenerSupport(java.lang.Object source)
Construct a new StatusListenerSupport for the given source object.

Parameters:
source - The source object
Method Detail

addStatusListener

public void addStatusListener(StatusListener l)
Add a StatusListener.

Parameters:
l - The StatusListener

removeStatusListener

public void removeStatusListener(StatusListener l)
Remove the given StatusListener.

Parameters:
l - The StatusListener

fireStatusChanged

public void fireStatusChanged(java.lang.String status)
Fire a StatusEvent with the given status String.

Parameters:
status - The status String

fireStatusChanged

protected void fireStatusChanged(StatusEvent evt)
Fire the given StatusEvent.

Parameters:
evt - The StatusEvent


Copyright (c) 2000-2003 Anthony Eden. All Rights Reserved.