public class FiltersDefinition extends ArrayList
FilterDefinition
.Constructor and Description |
---|
FiltersDefinition()
Creates a new FilterDefinition.
|
FiltersDefinition(ArrayList list)
Creates a new FilterDefinition witha list of filters.
|
Modifier and Type | Method and Description |
---|---|
void |
defineFilter(int index,
KBFilter filter)
Adds a new filter in the list.
|
void |
defineFilter(KBFilter filter)
Adds a new filter at the begining of the list
|
FilterDefinition |
getFilterDefinition(int i)
Returns the
FilterDefinition at the specified index |
public FiltersDefinition()
public FiltersDefinition(ArrayList list)
list
- list of KBFilter
public void defineFilter(int index, KBFilter filter)
index
- the specified index to add the filterfilter
- a KBFilter
public void defineFilter(KBFilter filter)
filter
- a KBFilter
public FilterDefinition getFilterDefinition(int i)
FilterDefinition
at the specified indexi
- index if the FilterDefinition
FilterDefinition
at the specified index