java.lang.Object
edu.uci.ics.jung.samples.PluggableRendererDemo.EdgeWeightStrokeFunction<E>
- All Implemented Interfaces:
com.google.common.base.Function<E,Stroke>
, Function<E,Stroke>
- Enclosing class:
PluggableRendererDemo
private static final class PluggableRendererDemo.EdgeWeightStrokeFunction<E>
extends Object
implements com.google.common.base.Function<E,Stroke>
-
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Field Details
-
basic
protected static final Stroke basic
-
heavy
protected static final Stroke heavy
-
dotted
protected static final Stroke dotted
-
weighted
protected boolean weighted
-
-
Constructor Details
-
EdgeWeightStrokeFunction
public EdgeWeightStrokeFunction(Map<E,Number> edge_weight)
-
Method Details
-
setWeighted
public void setWeighted(boolean weighted)
-
-
drawHeavy
protected boolean drawHeavy(E e)