Class ModelIconCache

  • All Implemented Interfaces:
    IIconCache

    public class ModelIconCache
    extends java.lang.Object
    implements IIconCache
    Cache for component icons. Asynchronously loads icons and updates tree.
    • Field Detail

      • icons

        protected final javax.swing.UIDefaults icons
        The image icons.
      • myicons

        protected final java.util.Map<java.lang.Object,​javax.swing.Icon> myicons
        The icon cache.
      • tree

        protected final javax.swing.JTree tree
        The tree.
    • Constructor Detail

      • ModelIconCache

        public ModelIconCache​(IExternalAccess exta,
                              javax.swing.JTree tree)
        Create an icon cache.