public class DefaultVertexIconTransformer<V>
extends java.lang.Object
implements org.apache.commons.collections4.Transformer<V,javax.swing.Icon>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<V,javax.swing.Icon> |
iconMap
icon storage
|
| Constructor and Description |
|---|
DefaultVertexIconTransformer() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<V,javax.swing.Icon> |
getIconMap()
Returns the icon storage as a
Map. |
void |
setIconMap(java.util.Map<V,javax.swing.Icon> iconMap)
Sets the icon storage to the specified
Map. |
javax.swing.Icon |
transform(V v)
Returns the
Icon associated with v. |
protected java.util.Map<V,javax.swing.Icon> iconMap