Class 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 Detail

      • iconcache

        protected IIconCache iconcache
        The delegation icon cache.
    • Constructor Detail

      • DelegationIconCache

        public DelegationIconCache()
        Create a new delegation cache.
    • Method Detail

      • getIcon

        public javax.swing.Icon getIcon​(ISwingTreeNode node)
        Get an icon.
        Specified by:
        getIcon in interface IIconCache
        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.