dsto.dfc.databeans.views
Class MultiValuePropertyFilterSet
java.lang.Object
dsto.dfc.databeans.AbstractDataObject
dsto.dfc.databeans.AbstractDataBean
dsto.dfc.databeans.DataBean
dsto.dfc.databeans.views.AbstractPropertyFilterSet
dsto.dfc.databeans.views.MultiValuePropertyFilterSet
- All Implemented Interfaces:
- IDataBean, IDataObject, IDataObjectChildListener, PropertyListener, Disposable, Cloneable, EventListener
public class MultiValuePropertyFilterSet
- extends AbstractPropertyFilterSet
- implements PropertyListener, Disposable
A property filter that that works when property values are
themselves IDataObject's (typically a set of some kind). For
example, if the value of the "tags" property for items in the
source set is a SetDataObject containing string tags, this property
set could be used to generate filters for all distinct values of
all the tags used in the source objects.
- Author:
- Matthew Phillips
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 interface dsto.dfc.databeans.IDataBean |
getBeanValue, getBooleanValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getObjectValue, getStringValue, setValue, setValue, setValue, setValue, setValue, setValue |
MultiValuePropertyFilterSet
public MultiValuePropertyFilterSet(IDataObject source,
String property)
addFiltersFor
protected void addFiltersFor(Object value)
- Description copied from class:
AbstractPropertyFilterSet
- Add filters for a given property value.
- Specified by:
addFiltersFor
in class AbstractPropertyFilterSet
addFilterFor
protected void addFilterFor(Object value)
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