edu.uci.ics.jung.samples
Class VertexImageShaperDemo.DemoVertexIconTransformer<V>

java.lang.Object
  extended by edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer<V>
      extended by 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.


Field Summary
 
Fields inherited from class edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer
iconMap
 
Constructor Summary
VertexImageShaperDemo.DemoVertexIconTransformer()
           
 
Method Summary
 boolean isFillImages()
           
 boolean isOutlineImages()
           
 void setFillImages(boolean fillImages)
           
 void setOutlineImages(boolean outlineImages)
           
 Icon transform(V v)
          Returns the Icon associated with v.
 
Methods inherited from class edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer
getIconMap, setIconMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VertexImageShaperDemo.DemoVertexIconTransformer

public VertexImageShaperDemo.DemoVertexIconTransformer()
Method Detail

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.