public class DefaultVertexIconFunction extends java.lang.Object implements VertexIconFunction
Modifier and Type | Field and Description |
---|---|
protected java.util.Map |
iconMap
icon storage
|
BROKEN_IMAGE
Constructor and Description |
---|
DefaultVertexIconFunction() |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon(ArchetypeVertex v)
Returns the
Icon associated with v . |
java.util.Map |
getIconMap()
Returns the icon storage as a
Map . |
void |
setIconMap(java.util.Map iconMap)
Sets the icon storage to the specified
Map . |
public java.util.Map getIconMap()
Map
.public void setIconMap(java.util.Map iconMap)
Map
.public javax.swing.Icon getIcon(ArchetypeVertex v)
Icon
associated with v
.getIcon
in interface VertexIconFunction