Package jadex.base.gui.componenttree
Class ComponentIconCache
- java.lang.Object
-
- jadex.base.gui.componenttree.ComponentIconCache
-
public class ComponentIconCache extends java.lang.ObjectCache for component icons. Asynchronously loads icons and updates tree.
-
-
Field Summary
Fields Modifier and Type Field Description protected static javax.swing.UIDefaultsICONSThe default component icons.
-
Constructor Summary
Constructors Constructor Description ComponentIconCache(IExternalAccess jccaccess)Create an icon cache.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoSearch(Future<javax.swing.Icon> ret, java.lang.String type, java.util.List<IComponentIdentifier> todo, int i)Start/continue a search for a component type icon with an initial platform todo list.javax.swing.IcongetIcon(java.lang.String type, IActiveComponentTreeNode node, AsyncSwingTreeModel model)Get an icon.
-
-
-
Constructor Detail
-
ComponentIconCache
public ComponentIconCache(IExternalAccess jccaccess)
Create an icon cache.
-
-
Method Detail
-
getIcon
public javax.swing.Icon getIcon(java.lang.String type, IActiveComponentTreeNode node, AsyncSwingTreeModel model)Get an icon.
-
doSearch
protected void doSearch(Future<javax.swing.Icon> ret, java.lang.String type, java.util.List<IComponentIdentifier> todo, int i)
Start/continue a search for a component type icon with an initial platform todo list.
-
-