Package jadex.base.gui.filetree
Class FileTreePanel.DelegationIconCache
- java.lang.Object
-
- jadex.base.gui.filetree.FileTreePanel.DelegationIconCache
-
- All Implemented Interfaces:
IIconCache
- Enclosing class:
- FileTreePanel
public static class FileTreePanel.DelegationIconCache extends java.lang.Object implements IIconCache
The delegation icon cache.
-
-
Field Summary
Fields Modifier and Type Field Description protected IIconCache
iconcache
The delegation icon cache.
-
Constructor Summary
Constructors Constructor Description DelegationIconCache()
Create a new delegation cache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.Icon
getIcon(ISwingTreeNode node)
Get an icon.IIconCache
getIconCache()
Get the iconcache.void
setIconCache(IIconCache iconcache)
Set the iconcache.
-
-
-
Field Detail
-
iconcache
protected IIconCache iconcache
The delegation icon cache.
-
-
Method Detail
-
getIcon
public javax.swing.Icon getIcon(ISwingTreeNode node)
Get an icon.- Specified by:
getIcon
in interfaceIIconCache
- Parameters:
node
- The node.- Returns:
- The icon.
-
getIconCache
public IIconCache getIconCache()
Get the iconcache.- Returns:
- the iconcache.
-
setIconCache
public void setIconCache(IIconCache iconcache)
Set the iconcache.- Parameters:
iconcache
- The iconcache to set.
-
-