Package jadex.base.gui.componenttree
Class ComponentIconCache
- java.lang.Object
-
- jadex.base.gui.componenttree.ComponentIconCache
-
public class ComponentIconCache extends java.lang.Object
Cache for component icons. Asynchronously loads icons and updates tree.
-
-
Field Summary
Fields Modifier and Type Field Description protected static javax.swing.UIDefaults
ICONS
The 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 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.javax.swing.Icon
getIcon(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.
-
-