|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ggtools.grand.filters.FilterChain
public class FilterChain
A metafilter made by chaining together several filters. The behaviour of an empty chain is to behave like an identity filter.
| Constructor Summary | |
|---|---|
FilterChain()
Creates an anonymous filter chain. |
|
FilterChain(java.lang.String name)
Creates a named filter chain. |
|
| Method Summary | |
|---|---|
void |
addFilterFirst(GraphFilter newFilter)
Add a new filter at the beginning of the chain. |
void |
addFilterLast(GraphFilter newFilter)
Adds a new filter at the end of the chain. |
void |
clearFilters()
Removes all the filters in the chain. |
java.util.List |
getFilterList()
Returns a list of the filter in the chain. |
Graph |
getGraph()
Ask the producer to create a graph. |
java.lang.String |
getName()
Get the filter's name. |
void |
setProducer(GraphProducer newProducer)
Set the graph producer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FilterChain()
public FilterChain(java.lang.String name)
name - | Method Detail |
|---|
public void addFilterFirst(GraphFilter newFilter)
newFilter - public void addFilterLast(GraphFilter newFilter)
newFilter - public void clearFilters()
public java.util.List getFilterList()
public Graph getGraph()
throws GrandException
GraphProducer
getGraph in interface GraphProducerGrandException - is an error occurs contructing the graph.public java.lang.String getName()
GraphFilter
getName in interface GraphFilterpublic void setProducer(GraphProducer newProducer)
GraphConsumer
setProducer in interface GraphConsumernewProducer - the producer to get the graph from.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||