C
- The context type for transformers this TransformerContainer contains.E
- The element type for transformers this TransformerContainer contains.public interface TransformerContainer<C,E>
TransformerContainer<CyNetwork,CyIdentifiable> filterContainer = getService(TransformerContainer.class, "(container.type=filter)"); TransformerContainer<CyNetwork,CyIdentifiable> chainTransformerContainer = getService(TransformerContainer.class, "(container.type=chain)");
Modifier and Type | Method and Description |
---|---|
void |
addNamedTransformer(NamedTransformer<C,E> transformer)
Add a NamedTransformer to this container.
|
NamedTransformer<C,E> |
getNamedTransformer(String name)
Returns the transformer with the given name, or null if a transformer with the given name
does not exist in this container.
|
List<NamedTransformer<C,E>> |
getNamedTransformers()
Returns the list of transformers contained in this container.
|
boolean |
removeNamedTransformer(String name)
Remove a transformer from this container.
|
void addNamedTransformer(NamedTransformer<C,E> transformer)
TransformerManager.createNamedTransformer(String, java.util.List)
or loaded from a JSON file using CyTransformerReader.TransformerManager.createNamedTransformer(String, java.util.List)
,
CyTransformerReader
boolean removeNamedTransformer(String name)
NamedTransformer<C,E> getNamedTransformer(String name)
List<NamedTransformer<C,E>> getNamedTransformers()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.