de.intarsys.tools.event
Class AttributeChangeListener

java.lang.Object
  extended by de.intarsys.tools.event.AttributeChangeListener
All Implemented Interfaces:
INotificationListener, java.util.EventListener

public abstract class AttributeChangeListener
extends java.lang.Object
implements INotificationListener

A convenience implementation for listening to attribute change events.


Constructor Summary
AttributeChangeListener(java.lang.Object attribute)
           
 
Method Summary
abstract  void handleAttributeChange(AttributeChangedEvent event)
           
 void handleEvent(Event event)
          Called when an event occurs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeChangeListener

public AttributeChangeListener(java.lang.Object attribute)
Method Detail

handleAttributeChange

public abstract void handleAttributeChange(AttributeChangedEvent event)

handleEvent

public final void handleEvent(Event event)
Description copied from interface: INotificationListener
Called when an event occurs.

Specified by:
handleEvent in interface INotificationListener
Parameters:
event - The event object giving detail information about the context.