Debian Codegraph @

src/com/jidesoft/plaf/basic/BasicFolderChooserIconsFactory.java

raw
1 /*
2 * @(#)FileSystemIconsFactory.java 9/12/2005
3 *
4 * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
5 */
6 package com.jidesoft.plaf.basic;/*
7 * @(#)CiscoIconsFactory.java 6/16/2005
8 *
9 * Copyright 2002 - 2005 JIDE Software Inc. All rights reserved.
10 */
11
12 import com.jidesoft.icons.IconsFactory;
13
14 import javax.swing.*;
15
16 /**
17 * A helper class to contain icons for demo of JIDE products. Those icons are copyrighted by JIDE Software, Inc.
18 */
19 public class BasicFolderChooserIconsFactory {
20
21 public static class ToolBar {
22 public static final String NEW = "icons/new.png";
23 public static final String DELETE = "icons/delete.png";
24 public static final String HOME = "icons/home.png";
25 public static final String MY_DOCUMENT = "icons/myDocument.png";
26 public static final String DESKTOP = "icons/desktop.png";
27 public static final String REFRESH = "icons/refresh.png";
28 }
29
30 public static ImageIcon getImageIcon(String name) {
31 if (name != null)
32 return IconsFactory.getImageIcon(BasicFolderChooserIconsFactory.class, name);
33 else
34 return null;
35 }
36
37 public static void main(String[] argv) {
38 IconsFactory.generateHTML(BasicFolderChooserIconsFactory.class);
39 }
40
41
42 }