Package edu.uci.ics.jung.samples
Class TreeCollapseDemo.ClusterVertexShapeFunction<V>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer<V>
edu.uci.ics.jung.visualization.decorators.EllipseVertexShapeTransformer<V>
edu.uci.ics.jung.samples.TreeCollapseDemo.ClusterVertexShapeFunction<V>
- Type Parameters:
V
- the vertex type
- All Implemented Interfaces:
com.google.common.base.Function<V,
,Shape> SettableVertexShapeTransformer<V>
,Function<V,
Shape>
- Enclosing class:
TreeCollapseDemo
a demo class that will create a vertex shape that is either a
polygon or star. The number of sides corresponds to the number
of vertices that were collapsed into the vertex represented by
this shape.
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer
DEFAULT_ASPECT_RATIO, DEFAULT_SIZE, factory, varf, vsf
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer
setAspectRatioTransformer, setSizeTransformer
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