class FilterBuilderNode extends AbstractNode {

    public static final DataFlavor DATA_FLAVOR = new DataFlavor(FilterBuilder.class, "filterbuilder");
    private final FilterBuilder filterBuilder;
    private final FilterTransferable transferable;

    public FilterBuilderNode(FilterBuilder filterBuilder) {
        super(Children.LEAF);
        this.filterBuilder = filterBuilder;
        setName(filterBuilder.getName());
        transferable = new FilterTransferable();
        if (filterBuilder.getDescription() != null) {
            setShortDescription(filterBuilder.getDescription());
        }
    }

    @Override
    public String getHtmlDisplayName() {
        return super.getName();
    }

    @Override
    public Image getIcon(int type) {<FILL_FUNCTION_BODY>}

    @Override
    public Image getOpenedIcon(int type) {
        return getIcon(type);
    }

    @Override
    public Action getPreferredAction() {
        return FilterBuilderNodeDefaultAction.instance;
    }

    public FilterBuilder getBuilder() {
        return filterBuilder;
    }

    @Override
    public Transferable drag() throws IOException {
        return transferable;
    }

    @Override
    public Action[] getActions(boolean context) {
        return new Action[0];
    }

    private class FilterTransferable implements Transferable {

        @Override
        public DataFlavor[] getTransferDataFlavors() {
            return new DataFlavor[] {DATA_FLAVOR};
        }

        @Override
        public boolean isDataFlavorSupported(DataFlavor flavor) {
            return flavor == DATA_FLAVOR;

        }

        @Override
        public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException {
            if (flavor == DATA_FLAVOR) {
                return filterBuilder;
            } else {
                throw new UnsupportedFlavorException(flavor);
            }
        }
    }
}

        try {
            if (filterBuilder.getIcon() != null) {
                return ImageUtilities.icon2Image(filterBuilder.getIcon());
            }
        } catch (Exception e) {
        }
        return ImageUtilities.loadImage("DesktopFilters/funnel.png", false);
    
<no_super_class>