org.xnap.event
Class StateSupport

java.lang.Object
  extended by org.xnap.event.StateSupport

public class StateSupport
extends java.lang.Object

This is a utility class that can be used by data containers to notify StateEvent listeners.


Constructor Summary
StateSupport(java.lang.Object source)
          Constructs a StateSupport object.
 
Method Summary
 void addStateListener(StateListener listener)
           
 void fireStateChanged()
           
 void removeStateListener(StateListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateSupport

public StateSupport(java.lang.Object source)
Constructs a StateSupport object.

Parameters:
source - the object to be given as the source for any events
Method Detail

addStateListener

public void addStateListener(StateListener listener)

removeStateListener

public void removeStateListener(StateListener listener)

fireStateChanged

public void fireStateChanged()


Copyright © 2001-2005 XNap Team. All Rights Reserved.