net.refractions.udig.ui.operations
Class AbstractPropertyValue<T>

java.lang.Object
  extended by net.refractions.udig.ui.operations.AbstractPropertyValue<T>
All Implemented Interfaces:
PropertyValue<T>

public abstract class AbstractPropertyValue<T>
extends java.lang.Object
implements PropertyValue<T>

Abstract class that can be used as a superclass for PropertyValue implementations.

Since:
1.1.0
Author:
Jesse

Field Summary
protected  java.util.Set<IOpFilterListener> listeners
           
 
Constructor Summary
AbstractPropertyValue()
           
 
Method Summary
 void addListener(IOpFilterListener listener)
          Adds a listener to listen for events indicating the value has changed.
 void notifyListeners(java.lang.Object changed)
          Notifies listener that the value of the filter has changed.
 void removeListener(IOpFilterListener listener)
          Removes a listeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.refractions.udig.ui.operations.PropertyValue
canCacheResult, isBlocking, isTrue
 

Field Detail

listeners

protected java.util.Set<IOpFilterListener> listeners
Constructor Detail

AbstractPropertyValue

public AbstractPropertyValue()
Method Detail

addListener

public void addListener(IOpFilterListener listener)
Description copied from interface: PropertyValue
Adds a listener to listen for events indicating the value has changed.

Specified by:
addListener in interface PropertyValue<T>
Parameters:
listener - listener to add

removeListener

public void removeListener(IOpFilterListener listener)
Description copied from interface: PropertyValue
Removes a listeners

Specified by:
removeListener in interface PropertyValue<T>
Parameters:
listener - listener to remove

notifyListeners

public void notifyListeners(java.lang.Object changed)
Notifies listener that the value of the filter has changed.