E - edge typepublic class WeightedEdgeStyler<E extends com.google.common.graph.EndpointPair> extends Object implements com.google.common.base.Function<E,com.googlecode.blaisemath.style.AttributeSet>
| Modifier and Type | Field and Description |
|---|---|
protected double |
maxWeight
The maximum edge weight
|
protected com.googlecode.blaisemath.style.AttributeSet |
parent
Parent style
|
protected Map<E,Double> |
weights
Edge weights
|
| Constructor and Description |
|---|
WeightedEdgeStyler(com.googlecode.blaisemath.style.AttributeSet parent,
Map<E,Double> weights)
Construct the customizer
|
| Modifier and Type | Method and Description |
|---|---|
com.googlecode.blaisemath.style.AttributeSet |
apply(E o) |
Map<E,Double> |
getWeights() |
void |
setWeights(Map<E,Double> weights) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThen, compose, identityprotected final com.googlecode.blaisemath.style.AttributeSet parent
protected double maxWeight
public com.googlecode.blaisemath.style.AttributeSet apply(E o)
apply in interface java.util.function.Function<E extends com.google.common.graph.EndpointPair,com.googlecode.blaisemath.style.AttributeSet>Copyright © 2009–2019. All rights reserved.