com.rolemodelsoft.drawlet
Interface RelatedLocationListener

All Known Implementing Classes:
Arrow, ConnectingLine, RelatedLocationRevealer, TextLabel

public interface RelatedLocationListener

This interface defines the methods that an object desiring to relate itself to the location of another object (through listening to that object) should answer.


Method Summary
 void locationChanged(java.beans.PropertyChangeEvent event)
          Called by subjects when their location changes.
 void relationChanged(java.beans.PropertyChangeEvent event)
          Called by subjects when their relationship to the receiver has changed.
 void shapeChanged(java.beans.PropertyChangeEvent event)
          Called by subjects when their shape changes.
 void sizeChanged(java.beans.PropertyChangeEvent event)
          Called by subjects when their size changes.
 

Method Detail

locationChanged

public void locationChanged(java.beans.PropertyChangeEvent event)
Called by subjects when their location changes.
Parameters:
event - PropertyChangeEvent

relationChanged

public void relationChanged(java.beans.PropertyChangeEvent event)
Called by subjects when their relationship to the receiver has changed.
Parameters:
event - PropertyChangeEvent

shapeChanged

public void shapeChanged(java.beans.PropertyChangeEvent event)
Called by subjects when their shape changes.
Parameters:
event - PropertyChangeEvent

sizeChanged

public void sizeChanged(java.beans.PropertyChangeEvent event)
Called by subjects when their size changes.
Parameters:
event - PropertyChangeEvent