edu.uci.ics.jung.samples
Class VertexImageShaperDemo.DemoVertexIconTransformer<V>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer<V>
edu.uci.ics.jung.samples.VertexImageShaperDemo.DemoVertexIconTransformer<V>
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<V,Icon>
- Enclosing class:
- VertexImageShaperDemo
public static class VertexImageShaperDemo.DemoVertexIconTransformer<V>
- extends DefaultVertexIconTransformer<V>
- implements org.apache.commons.collections15.Transformer<V,Icon>
this class exists only to provide settings to turn on/off shapes and image fill
in this demo.
In a real application, use DefaultVertexIconTransformer instead.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VertexImageShaperDemo.DemoVertexIconTransformer
public VertexImageShaperDemo.DemoVertexIconTransformer()
isFillImages
public boolean isFillImages()
- Returns:
- Returns the fillImages.
setFillImages
public void setFillImages(boolean fillImages)
- Parameters:
fillImages
- The fillImages to set.
isOutlineImages
public boolean isOutlineImages()
setOutlineImages
public void setOutlineImages(boolean outlineImages)
transform
public Icon transform(V v)
- Description copied from class:
DefaultVertexIconTransformer
- Returns the
Icon
associated with v
.
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<V,Icon>
- Overrides:
transform
in class DefaultVertexIconTransformer<V>
Copyright © 2009. All Rights Reserved.