com.threerings.presents.dobj
Interface AttributeChangeListener

All Superinterfaces:
ChangeListener
All Known Implementing Classes:
AsStringFieldEditor, BooleanFieldEditor, ConfigRegistry.ObjectRecord, DatabaseConfigRegistry.DatabaseObjectRecord, DSetEditor.DObjectAccessor, DynamicListener, FieldEditor, NamedAttributeListener, PeeredDatabaseConfigRegistry.PeerDatabaseObjectRecord, PeerNode.NodeObjectListener, PrefsConfigRegistry.PrefsObjectRecord, PulldownFieldEditor, TabbedDSetEditor

public interface AttributeChangeListener
extends ChangeListener

Implemented by entities which wish to hear about attribute changes that take place for a particular distributed object.

See Also:
DObject.addListener(com.threerings.presents.dobj.ChangeListener)

Method Summary
 void attributeChanged(AttributeChangedEvent event)
          Called when an attribute changed event has been dispatched on an object.
 

Method Detail

attributeChanged

void attributeChanged(AttributeChangedEvent event)
Called when an attribute changed event has been dispatched on an object. This will be called after the event has been applied to the object. So fetching the attribute during this call will provide the new value for the attribute.

Parameters:
event - The event that was dispatched on the object.