public class AttributeFunctionImpl extends FunctionImpl implements RankingFunction, PartitionFunction, AttributeFunction
| Constructor and Description |
|---|
AttributeFunctionImpl(String id,
org.gephi.graph.api.Graph graph,
org.gephi.graph.api.Column column,
Transformer transformer,
TransformerUI transformerUI,
PartitionImpl partition) |
AttributeFunctionImpl(String id,
org.gephi.graph.api.Graph graph,
org.gephi.graph.api.Column column,
Transformer transformer,
TransformerUI transformerUI,
RankingImpl ranking,
Interpolator interpolator) |
| Modifier and Type | Method and Description |
|---|---|
org.gephi.graph.api.Column |
getColumn()
Returns the column this function finds its value from.
|
Interpolator |
getInterpolator()
Returns the interpolator.
|
Partition |
getPartition()
Returns the partition configuration associated with this function.
|
Ranking |
getRanking()
Returns the ranking configuration associated with this function.
|
void |
setInterpolator(Interpolator interpolator)
Sets the interpolator for this function.
|
String |
toString() |
equals, getElementClass, getGraph, getId, getTransformer, getUI, hashCode, isAttribute, isPartition, isRanking, isSimple, transformgetElementClass, getGraph, getTransformer, getUI, isAttribute, isPartition, isRanking, isSimple, transformpublic AttributeFunctionImpl(String id, org.gephi.graph.api.Graph graph, org.gephi.graph.api.Column column, Transformer transformer, TransformerUI transformerUI, RankingImpl ranking, Interpolator interpolator)
public AttributeFunctionImpl(String id, org.gephi.graph.api.Graph graph, org.gephi.graph.api.Column column, Transformer transformer, TransformerUI transformerUI, PartitionImpl partition)
public Interpolator getInterpolator()
RankingFunction
By default, a Interpolator.LINEAR is used so no
transformation is operated.
getInterpolator in interface RankingFunctionpublic void setInterpolator(Interpolator interpolator)
RankingFunctionsetInterpolator in interface RankingFunctioninterpolator - interpolatorpublic org.gephi.graph.api.Column getColumn()
AttributeFunctiongetColumn in interface AttributeFunctionpublic Partition getPartition()
PartitionFunctiongetPartition in interface PartitionFunctionpublic Ranking getRanking()
RankingFunctiongetRanking in interface RankingFunctionpublic String toString()
toString in class FunctionImplCopyright © 2007–2017. All rights reserved.