com.guiseframework.platform
Class AbstractDepictor.DepictedPropertyChangeListener

java.lang.Object
  extended by com.guiseframework.platform.AbstractDepictor.DepictedPropertyChangeListener
All Implemented Interfaces:
GuiseEventListener, ListListener<java.lang.Object>, java.beans.PropertyChangeListener, java.util.EventListener
Enclosing class:
AbstractDepictor<O extends DepictedObject>

protected class AbstractDepictor.DepictedPropertyChangeListener
extends java.lang.Object
implements java.beans.PropertyChangeListener, ListListener<java.lang.Object>

A listener that marks this depiction as dirty if changes occur. Property changes are delegated to AbstractDepictor.depictedObjectPropertyChange(PropertyChangeEvent).

Author:
Garret Wilson

Constructor Summary
protected AbstractDepictor.DepictedPropertyChangeListener()
           
 
Method Summary
 void listModified(ListEvent<java.lang.Object> listEvent)
          Called when a list is modified.
 void propertyChange(java.beans.PropertyChangeEvent propertyChangeEvent)
          Called when a bound property is changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDepictor.DepictedPropertyChangeListener

protected AbstractDepictor.DepictedPropertyChangeListener()
Method Detail

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent propertyChangeEvent)
Called when a bound property is changed.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Parameters:
propertyChangeEvent - An event object describing the event source and the property that has changed.

listModified

public void listModified(ListEvent<java.lang.Object> listEvent)
Called when a list is modified.

Specified by:
listModified in interface ListListener<java.lang.Object>
Parameters:
listEvent - The event indicating the source of the event and the list modifications.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.