|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
C - The context type of the elements this Filter operates on.E - The element type this Filter operates on.public interface CompositeFilter<C,E>
A Filter that computes the set-union or set-intersection of the
Filters it contains. The ordering of the child filters does not
affect the final output of this filter, but may impact performance.
Module: filter-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>filter-api</artifactId>
</dependency>| Nested Class Summary | |
|---|---|
static class |
CompositeFilter.Type
Determines how a CompositeFilter combines the results of its
contained Filters. |
| Method Summary | |
|---|---|
void |
append(Filter<C,E> filter)
Appends filter to the list of children. |
Filter<C,E> |
get(int index)
Returns the Filter at the given index. |
int |
getLength()
Returns the number of direct children Filters contained by
this CompositeFilter. |
CompositeFilter.Type |
getType()
Returns the type of combining semantics used by this filter. |
int |
indexOf(Filter<C,E> filter)
Returns the index of filter within the list of children,
or -1 if filter is not in that list. |
void |
insert(int index,
Filter<C,E> filter)
Inserts filter at the given index within the list of children. |
Filter<C,E> |
remove(int index)
Removes the Filter at the given index from the list of children
and returns in. |
void |
setType(CompositeFilter.Type type)
Sets the type of combining semantics used by this filter. |
| Methods inherited from interface org.cytoscape.filter.model.Filter |
|---|
accepts |
| Methods inherited from interface org.cytoscape.filter.model.Transformer |
|---|
addListener, getContextType, getElementType, getId, getName, removeListener |
| Method Detail |
|---|
void append(Filter<C,E> filter)
filter to the list of children.
filter - the Filter to add.
void insert(int index,
Filter<C,E> filter)
filter at the given index within the list of children.
index - the index where the filter should be inserted.filter - the Filter to add.Filter<C,E> get(int index)
Filter at the given index.
index - the index of the Filter to get.
Filter at the given index.Filter<C,E> remove(int index)
Filter at the given index from the list of children
and returns in.
index - the index of the Filter to get.
Filter at the given index.int indexOf(Filter<C,E> filter)
filter within the list of children,
or -1 if filter is not in that list.
filter - the filter whose index should be looked up.
filter or -1 if it cannot be found.int getLength()
Filters contained by
this CompositeFilter.
CompositeFilter.Type getType()
void setType(CompositeFilter.Type type)
type - the combining semantics to use.
|
Cytoscape 3.1.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||