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 booleanprotected booleanprotected booleanFields inherited from class AbstractVertexShapeTransformer
DEFAULT_ASPECT_RATIO, DEFAULT_SIZE, factory, varf, vsf -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetScaling(boolean scale) voidsetStretching(boolean stretch) voiduseFunnyShapes(boolean use) Methods inherited from class AbstractVertexShapeTransformer
setAspectRatioTransformer, setSizeTransformerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
setStretching
public void setStretching(boolean stretch) -
setScaling
public void setScaling(boolean scale) -
useFunnyShapes
public void useFunnyShapes(boolean use) -
apply
-