org.jage.property
Class NoMonitoringStrategy

java.lang.Object
  extended by org.jage.property.PropertyValueMonitoringStrategy
      extended by org.jage.property.NoMonitoringStrategy

public class NoMonitoringStrategy
extends PropertyValueMonitoringStrategy

Strategy that doesn't monitor changes in property value's internal state. It is used by Property class.

Author:
Tomek

Constructor Summary
NoMonitoringStrategy(Property property)
          Constructor.
 
Method Summary
 void propertyValueChanged(Object newValue)
          Informs the strategy that property value has been changed.
 
Methods inherited from class org.jage.property.PropertyValueMonitoringStrategy
getOldValue, getProperty, setOldValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoMonitoringStrategy

public NoMonitoringStrategy(Property property)
Constructor.

Parameters:
property - property that uses this strategy.
Method Detail

propertyValueChanged

public void propertyValueChanged(Object newValue)
Informs the strategy that property value has been changed.

Specified by:
propertyValueChanged in class PropertyValueMonitoringStrategy
Parameters:
oldValue - old property value.
newValue - new property value.


Copyright © 2006-2011 AGH University of Science and Technology. All Rights Reserved.