public interface Function
This interface has sub-interfaces specific to the type of function.
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.gephi.graph.api.Element> |
getElementClass()
Returns the element class this function will be applied to.
|
org.gephi.graph.api.Graph |
getGraph()
Returns the graph this function is based on.
|
<T extends Transformer> |
getTransformer()
Returns the transformer associated with this function.
|
TransformerUI |
getUI()
Returns the transformer user interface associated with this function.
|
boolean |
isAttribute()
Returns true if this function is based on attribute column.
|
boolean |
isPartition()
Returns true if this function is a partition function.
|
boolean |
isRanking()
Returns true if this function is a ranking function.
|
boolean |
isSimple()
Returns true if this function is a simple function.
|
void |
transform(org.gephi.graph.api.Element element,
org.gephi.graph.api.Graph graph)
Transforms the given element.
|
void transform(org.gephi.graph.api.Element element,
org.gephi.graph.api.Graph graph)
element - element to transformgraph - the graph this element belongs to<T extends Transformer> T getTransformer()
T - transformer classTransformerUI getUI()
boolean isSimple()
If true, this instance can be casted to SimpleFunction.
boolean isAttribute()
If true, this instance can be casted to AttributeFunction.
boolean isRanking()
If true, this instance can be casted to RankingFunction.
boolean isPartition()
If true, this instance can be casted to PartitionFunction.
org.gephi.graph.api.Graph getGraph()
Class<? extends org.gephi.graph.api.Element> getElementClass()
Copyright © 2007–2017. All rights reserved.