public class DefaultIconCache extends java.lang.Object implements IIconCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_FOLDER
The default folder icon name.
|
protected java.util.Map |
icons
The icon map.
|
Constructor and Description |
---|
DefaultIconCache() |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getIcon(ISwingTreeNode node)
Get an icon.
|
public static final java.lang.String DEFAULT_FOLDER
protected java.util.Map icons
public javax.swing.Icon getIcon(ISwingTreeNode node)
getIcon
in interface IIconCache
node
- The node.