All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jidesoft.plaf.basic.BasicFolderChooserIconsFactory Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
/*
 * @(#)FileSystemIconsFactory.java 9/12/2005
 *
 * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
 */
package com.jidesoft.plaf.basic;/*
 * @(#)CiscoIconsFactory.java 6/16/2005
 *
 * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
 */

import com.jidesoft.icons.IconsFactory;

import javax.swing.*;

/**
 * A helper class to contain icons for demo of JIDE products. Those icons are copyrighted by JIDE Software, Inc.
 */
public class BasicFolderChooserIconsFactory {

    public static class ToolBar {
        public static final String NEW = "icons/new.png";
        public static final String DELETE = "icons/delete.png";
        public static final String HOME = "icons/home.png";
        public static final String MY_DOCUMENT = "icons/myDocument.png";
        public static final String DESKTOP = "icons/desktop.png";
        public static final String REFRESH = "icons/refresh.png";
    }

    public static ImageIcon getImageIcon(String name) {
        if (name != null)
            return IconsFactory.getImageIcon(BasicFolderChooserIconsFactory.class, name);
        else
            return null;
    }

    public static void main(String[] argv) {
        IconsFactory.generateHTML(BasicFolderChooserIconsFactory.class);
    }


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy