edu.uci.ics.jung.samples
Class VertexImageShaperDemo.VertexStringerImpl<V,S>
java.lang.Object
edu.uci.ics.jung.samples.VertexImageShaperDemo.VertexStringerImpl<V,S>
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<V,String>
- Enclosing class:
- VertexImageShaperDemo
public static class VertexImageShaperDemo.VertexStringerImpl<V,S>
- extends Object
- implements org.apache.commons.collections15.Transformer<V,String>
A simple implementation of VertexStringer that
gets Vertex labels from a Map
- Author:
- Tom Nelson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VertexImageShaperDemo.VertexStringerImpl
public VertexImageShaperDemo.VertexStringerImpl(Map<V,String> map)
transform
public String transform(V v)
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<V,String>
isEnabled
public boolean isEnabled()
- Returns:
- Returns the enabled.
setEnabled
public void setEnabled(boolean enabled)
- Parameters:
enabled
- The enabled to set.
Copyright © 2009. All Rights Reserved.