com.jidesoft.dialog.TreeIconsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jide-oss Show documentation
Show all versions of jide-oss Show documentation
JIDE Common Layer (Professional Swing Components)
/*
* @(#)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 final static String SELECTED_C16 = "icons/selected-c16.gif";
public final static String SELECTED_B16 = "icons/selected-b16.gif";
public final static 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