dsto.dfc.databeans.views
Class PropertyFilterSet

java.lang.Object
  extended by dsto.dfc.databeans.AbstractDataObject
      extended by dsto.dfc.databeans.AbstractDataBean
          extended by dsto.dfc.databeans.DataBean
              extended by dsto.dfc.databeans.views.AbstractPropertyFilterSet
                  extended by dsto.dfc.databeans.views.PropertyFilterSet
All Implemented Interfaces:
IDataBean, IDataObject, IDataObjectChildListener, PropertyListener, Disposable, Cloneable, EventListener

public class PropertyFilterSet
extends AbstractPropertyFilterSet

An automatically-generated set of PropertyFilter's for a given property. For each distinct value of the property, a filter will appear in this set that selects that value.

Author:
Matthew Phillips

Field Summary
 
Fields inherited from class dsto.dfc.databeans.views.AbstractPropertyFilterSet
counts, property, source
 
Fields inherited from class dsto.dfc.databeans.DataBean
alwaysTransient, transientProperties, typeInfo, values
 
Fields inherited from class dsto.dfc.databeans.AbstractDataObject
listeners
 
Fields inherited from interface dsto.dfc.databeans.IDataObject
OVERRIDE, PERSISTENT, PERSISTENT_OVERRIDE, TRANSIENT, TRANSIENT_OVERRIDE
 
Constructor Summary
PropertyFilterSet(IDataObject source, String property)
           
 
Method Summary
protected  void addFiltersFor(Object value)
          Add filters for a given property value.
protected  void removeFiltersFor(Object value)
          Remove filters for a given property value.
protected  void updateFilters(PropertyPath path, Object oldValue, Object newValue)
          Update filters for a given property value when the value itself has changed (i.e.
 
Methods inherited from class dsto.dfc.databeans.views.AbstractPropertyFilterSet
addFilter, addItem, dispose, filterFor, hasFilterFor, propertyValueChanged, removeFilter, removeItem
 
Methods inherited from class dsto.dfc.databeans.DataBean
childPropertyChanged, getPropertyNames, getTypeInfo, getValue, isTransient, propertyIterator, setAlwaysTransient, setTypeInfo, setValue, shallowClone
 
Methods inherited from class dsto.dfc.databeans.AbstractDataBean
setValue, setValue, setValue, setValue, setValue, setValue, setValue
 
Methods inherited from class dsto.dfc.databeans.AbstractDataObject
addFirstPropertyListener, addPropertyListener, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, getBeanValue, getBooleanValue, getBooleanValue, getCharValue, getCharValue, getDoubleValue, getDoubleValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getObjectValue, getPropertyListeners, getShortValue, getStringValue, registerValue, removePropertyListener, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, unregisterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface dsto.dfc.databeans.IDataBean
getBeanValue, getBooleanValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getObjectValue, getStringValue, setValue, setValue, setValue, setValue, setValue, setValue
 
Methods inherited from interface dsto.dfc.databeans.IDataObject
addPropertyListener, getPropertyListeners, removePropertyListener, setValue
 

Constructor Detail

PropertyFilterSet

public PropertyFilterSet(IDataObject source,
                         String property)
Method Detail

addFiltersFor

protected void addFiltersFor(Object value)
Description copied from class: AbstractPropertyFilterSet
Add filters for a given property value.

Specified by:
addFiltersFor in class AbstractPropertyFilterSet

removeFiltersFor

protected void removeFiltersFor(Object value)
Description copied from class: AbstractPropertyFilterSet
Remove filters for a given property value.

Specified by:
removeFiltersFor in class AbstractPropertyFilterSet

updateFilters

protected void updateFilters(PropertyPath path,
                             Object oldValue,
                             Object newValue)
Description copied from class: AbstractPropertyFilterSet
Update filters for a given property value when the value itself has changed (i.e. generated a property change event).

Specified by:
updateFilters in class AbstractPropertyFilterSet
Parameters:
path - The propery path that changed.
oldValue - The old value at path.
newValue - The new value at path.


Copyright © 2008 Commonwealth of Australia