spellcast.model
Interface Updateable


public interface Updateable

This interface marks an object as being updateable from a PropertyChangeEvent. This allows the model to be separated into client/server where the server's copy of the model fires property change events and the clients copy can be updated from the server's event. TODO DELETE this class as we can use reflection and xml messages to achieve the same result in a more consistent and simpler manner.

Author:
Barrie Treloar

Method Summary
 void update(java.beans.PropertyChangeEvent pce)
          Given a property change event update this object to reflect the new value in the event.
 

Method Detail

update

void update(java.beans.PropertyChangeEvent pce)
Given a property change event update this object to reflect the new value in the event. The change of the objects value should also cause a firing of a PropertyChangeEvent so local listeners can be notified of the change.



Copyright © 2001-2005 Spellcast. All Rights Reserved.