|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.mp3dings.filter.FilterCollection
public class FilterCollection
A collection that holds all the filters for all the fields in an mp3dings table.
| Constructor Summary | |
|---|---|
FilterCollection()
Constructs a new FilterCollection. |
|
FilterCollection(FilterCollection fc)
Creates a new filter collection that contains all the filters in fc. |
|
FilterCollection(Preferences beanSetNode)
Loads a FilterCollection from a preference node. |
|
| Method Summary | |
|---|---|
Object |
filter(Field field,
Object value)
Filters the Object value with all filters registered for the specified field. |
FilteredField |
getFilteredField(Field field)
Gets the filteredField attribute of the FilterCollection object |
BeanSet |
getFilterSet()
Gets the filterSet attribute of the FilterCollection object |
boolean |
isFiltered(Field field)
Returns whether any filters are currently registered for the specified field. |
void |
load(Preferences filterNode)
Adds the filters saved under the given node. |
void |
setFilteredField(Field field,
FilteredField ff)
Sets the filteredField attribute of the FilterCollection object |
void |
setFilterSet(BeanSet filterset)
Sets the filterSet attribute of the FilterCollection object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterCollection(Preferences beanSetNode)
beanSetNode - Description of the Parameterpublic FilterCollection()
public FilterCollection(FilterCollection fc)
fc - The FilterCollection to copy| Method Detail |
|---|
public void setFilterSet(BeanSet filterset)
filterset - The new filterSet valuepublic BeanSet getFilterSet()
public void load(Preferences filterNode)
filterNode - Description of the Parameterpublic FilteredField getFilteredField(Field field)
field - Returns the filters for the specified field in the form of a
FilteredField object.
public void setFilteredField(Field field,
FilteredField ff)
field - The new filteredField valueff - The new filteredField value
public Object filter(Field field,
Object value)
field - The field the value belongs tovalue - The value to be filtered
public boolean isFiltered(Field field)
field - the field whose status you want to know
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||