|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.uci.ics.jung.visualization.decorators.DefaultVertexIconTransformer<V>
public class DefaultVertexIconTransformer<V>
A simple, stateful VertexIconFunction. Stores icons in a Map keyed on the Vertex
Field Summary | |
---|---|
protected Map<V,Icon> |
iconMap
icon storage |
Constructor Summary | |
---|---|
DefaultVertexIconTransformer()
|
Method Summary | |
---|---|
Map<V,Icon> |
getIconMap()
Returns the icon storage as a Map . |
void |
setIconMap(Map<V,Icon> iconMap)
Sets the icon storage to the specified Map . |
Icon |
transform(V v)
Returns the Icon associated with v . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Map<V,Icon> iconMap
Constructor Detail |
---|
public DefaultVertexIconTransformer()
Method Detail |
---|
public Map<V,Icon> getIconMap()
Map
.
public void setIconMap(Map<V,Icon> iconMap)
Map
.
public Icon transform(V v)
Icon
associated with v
.
transform
in interface org.apache.commons.collections15.Transformer<V,Icon>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |