Cytoscape 3.0.0-alpha8-SNAPSHOT API

org.cytoscape.view.layout
Class EdgeWeighter

java.lang.Object
  extended by org.cytoscape.view.layout.EdgeWeighter

public final class EdgeWeighter
extends Object

The EdgeWeighter class. This class is used as a container for information about how to interpret weights in an weighted layout.


Cytoscape Backwards Compatibility (Final Class): This class is final and therefore can't be extended by users. This means that we may add methods for minor version updates. Methods will only be removed for major version updates.

Field Summary
 double maxWeightCutoff
           
 double minWeightCutoff
           
 org.cytoscape.view.layout.WeightTypes type
           
 String weightAttribute
           
 
Constructor Summary
EdgeWeighter()
           
 
Method Summary
 boolean normalizeWeight(LayoutEdge edge)
           
 void reset()
           
 void setMaxWeightCutoff(double maxWeight)
           
 void setMinWeightCutoff(double minWeight)
           
 void setNormalizedBounds(double lowerBound, double upperBound)
           
 void setWeight(LayoutEdge layoutEdge)
           
 void setWeightType(org.cytoscape.view.layout.WeightTypes type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public org.cytoscape.view.layout.WeightTypes type

minWeightCutoff

public double minWeightCutoff

maxWeightCutoff

public double maxWeightCutoff

weightAttribute

public String weightAttribute
Constructor Detail

EdgeWeighter

public EdgeWeighter()
Method Detail

reset

public void reset()

setWeightType

public void setWeightType(org.cytoscape.view.layout.WeightTypes type)

setNormalizedBounds

public void setNormalizedBounds(double lowerBound,
                                double upperBound)

setWeight

public void setWeight(LayoutEdge layoutEdge)

normalizeWeight

public boolean normalizeWeight(LayoutEdge edge)

setMaxWeightCutoff

public void setMaxWeightCutoff(double maxWeight)

setMinWeightCutoff

public void setMinWeightCutoff(double minWeight)

Cytoscape 3.0.0-alpha8-SNAPSHOT API

Copyright 2011 Cytoscape Consortium. All rights reserved.