Package edu.uci.ics.jung.samples
Class PluggableRendererDemo.VertexShapeSizeAspect<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer<V>
edu.uci.ics.jung.samples.PluggableRendererDemo.VertexShapeSizeAspect<V,E>
- All Implemented Interfaces:
com.google.common.base.Function<V,
,Shape> SettableVertexShapeTransformer<V>
,Function<V,
Shape>
- Enclosing class:
PluggableRendererDemo
private static final class PluggableRendererDemo.VertexShapeSizeAspect<V,E>
extends AbstractVertexShapeTransformer<V>
implements com.google.common.base.Function<V,Shape>
Controls the shape, size, and aspect ratio for each vertex.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected boolean
protected boolean
Fields inherited from class edu.uci.ics.jung.visualization.decorators.AbstractVertexShapeTransformer
DEFAULT_ASPECT_RATIO, DEFAULT_SIZE, factory, varf, vsf
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setScaling
(boolean scale) void
setStretching
(boolean stretch) void
useFunnyShapes
(boolean use) 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
-
Field Details
-
stretch
protected boolean stretch -
scale
protected boolean scale -
funny_shapes
protected boolean funny_shapes -
voltages
-
graph
-
-
Constructor Details
-
VertexShapeSizeAspect
-
-
Method Details