com.rolemodelsoft.drawlet
Class RelatedLocationRevealer
java.lang.Object
|
+--com.rolemodelsoft.drawlet.RelatedLocationRevealer
- public class RelatedLocationRevealer
- extends java.lang.Object
- implements RelatedLocationListener
A utility class to allow tests to access property change events.
|
Method Summary |
void |
clearEventCount()
Set the event count to 0. |
int |
getEventCount()
Get the event count. |
void |
locationChanged(java.beans.PropertyChangeEvent evt)
Called when an object the receiver is registered with as a RelatedLocationListener
changes its location. |
void |
relationChanged(java.beans.PropertyChangeEvent evt)
Called when an object the receiver is registered with as a RelatedLocationListener
changes its relationship. |
void |
shapeChanged(java.beans.PropertyChangeEvent evt)
Called when an object the receiver is registered with as a RelatedLocationListener
changes its shape. |
void |
sizeChanged(java.beans.PropertyChangeEvent evt)
Called when an object the receiver is registered with as a RelatedLocationListener
changes its size. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RelatedLocationRevealer
public RelatedLocationRevealer()
clearEventCount
public void clearEventCount()
- Set the event count to 0.
getEventCount
public int getEventCount()
- Get the event count.
- Returns:
- an integer representing the number of events that have occured since
the receiver was created or cleared.
locationChanged
public void locationChanged(java.beans.PropertyChangeEvent evt)
- Called when an object the receiver is registered with as a RelatedLocationListener
changes its location.
- Specified by:
- locationChanged in interface RelatedLocationListener
- Parameters:
evt - the event describing the change in location, represented by a
PropertyChangeEvent.
relationChanged
public void relationChanged(java.beans.PropertyChangeEvent evt)
- Called when an object the receiver is registered with as a RelatedLocationListener
changes its relationship.
- Specified by:
- relationChanged in interface RelatedLocationListener
- Parameters:
evt - the event describing the change in relationship, represented by a
PropertyChangeEvent.
shapeChanged
public void shapeChanged(java.beans.PropertyChangeEvent evt)
- Called when an object the receiver is registered with as a RelatedLocationListener
changes its shape.
- Specified by:
- shapeChanged in interface RelatedLocationListener
- Parameters:
evt - the event describing the change in shape, represented by a
PropertyChangeEvent.
sizeChanged
public void sizeChanged(java.beans.PropertyChangeEvent evt)
- Called when an object the receiver is registered with as a RelatedLocationListener
changes its size.
- Specified by:
- sizeChanged in interface RelatedLocationListener
- Parameters:
evt - the event describing the change in size, represented by a
PropertyChangeEvent.