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

com.jidesoft.dialog.TreeIconsFactory Maven / Gradle / Ivy

There is a newer version: 3.6.18
Show newest version
/*
 * @(#)TreeIconsFactory.java
 *
 * Copyright 2002 JIDE Software Inc. All rights reserved.
 */
package com.jidesoft.dialog;


import com.jidesoft.icons.IconsFactory;

import javax.swing.*;

/**
 * A helper class to contain icons for MultiplePage Dialog component.
 */
class TreeIconsFactory {

    static class CellRenderer {
        public static final String SELECTED_C16 = "icons/selected-c16.gif";
        public static final String SELECTED_B16 = "icons/selected-b16.gif";
        public static final String BLANK_16 = "icons/blank-16.gif";
    }

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

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


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy