001: /*
002: * @(#)JIdeIconsFactory.java
003: *
004: * Copyright 2002-2003 JIDE Software Inc. All rights reserved.
005: */
006: package com.jidesoft.icons;
007:
008: import javax.swing.*;
009:
010: /**
011: * A helper class to contain icons for demo of JIDE products.
012: * Those icons are copyrighted by JIDE Software, Inc.
013: */
014: public class JideIconsFactory {
015:
016: public static class FileType {
017: public final static String TEXT = "jide/file_text.gif";
018: public final static String JAVA = "jide/file_java.gif";
019: public final static String HTML = "jide/file_html.gif";
020: }
021:
022: public static class View {
023: public final static String HTML = "jide/view_html.gif";
024: public final static String DESIGN = "jide/view_design.gif";
025: }
026:
027: public static class DockableFrame {
028: public final static String BLANK = "jide/dockableframe_blank.gif";
029: public final static String FRAME1 = "jide/dockableframe_1.gif";
030: public final static String FRAME2 = "jide/dockableframe_2.gif";
031: public final static String FRAME3 = "jide/dockableframe_3.gif";
032: public final static String FRAME4 = "jide/dockableframe_4.gif";
033: public final static String FRAME5 = "jide/dockableframe_5.gif";
034: public final static String FRAME6 = "jide/dockableframe_6.gif";
035: public final static String FRAME7 = "jide/dockableframe_7.gif";
036: public final static String FRAME8 = "jide/dockableframe_8.gif";
037: public final static String FRAME9 = "jide/dockableframe_9.gif";
038: public final static String FRAME10 = "jide/dockableframe_10.gif";
039: public final static String FRAME11 = "jide/dockableframe_11.gif";
040: public final static String FRAME12 = "jide/dockableframe_12.gif";
041: public final static String FRAME13 = "jide/dockableframe_13.gif";
042: public final static String FRAME14 = "jide/dockableframe_14.gif";
043: public final static String FRAME15 = "jide/dockableframe_15.gif";
044: public final static String FRAME16 = "jide/dockableframe_16.gif";
045: public final static String FRAME17 = "jide/dockableframe_17.gif";
046: public final static String FRAME18 = "jide/dockableframe_18.gif";
047: public final static String FRAME19 = "jide/dockableframe_19.gif";
048: public final static String FRAME20 = "jide/dockableframe_20.gif";
049: }
050:
051: public static class Cursor {
052: public final static String HSPLIT = "jide/cursor_h_split.gif";
053: public final static String VSPLIT = "jide/cursor_v_split.gif";
054:
055: public final static String NORTH = "jide/cursor_north.gif";
056: public final static String SOUTH = "jide/cursor_south.gif";
057: public final static String EAST = "jide/cursor_east.gif";
058: public final static String WEST = "jide/cursor_west.gif";
059: public final static String TAB = "jide/cursor_tab.gif";
060: public final static String FLOAT = "jide/cursor_float.gif";
061: public final static String VERTICAL = "jide/cursor_vertical.gif";
062: public final static String HORIZONTAL = "jide/cursor_horizontal.gif";
063:
064: public final static String DROP = "jide/cursor_drag.gif";
065: public final static String NODROP = "jide/cursor_drag_stop.gif";
066: public final static String DELETE = "jide/cursor_delete.gif";
067:
068: public final static String DROP_TEXT = "jide/cursor_drag_text.gif";
069: public final static String NODROP_TEXT = "jide/cursor_drag_text_stop.gif";
070: }
071:
072: public static class WindowMenu {
073: public final static String NEW_HORIZONTAL_TAB = "jide/windows_new_horizontal_tab_group.gif";
074: public final static String NEW_VERTICAL_TAB = "jide/windows_new_vertical_tab_group.gif";
075: }
076:
077: public static class Arrow {
078: public final static String DOWN = "jide/direction_down.gif";
079: public final static String UP = "jide/direction_up.gif";
080: public final static String LEFT = "jide/direction_left.gif";
081: public final static String RIGHT = "jide/direction_right.gif";
082: public final static String DOT = "jide/direction_dot.gif";
083: }
084:
085: public final static String TAIL = "jide/tail.gif";
086:
087: public final static String MENU_CHECKBOX_VSNET = "jide/menu_checkbox_vsnet.gif";
088:
089: public final static String MENU_CHECKBOX_ECLIPSE = "jide/menu_checkbox_eclipse.gif";
090:
091: public final static String MENU_RADIOBUTTON_VSNET = "jide/menu_radiobutton_vnset.gif";
092:
093: public final static String MENU_RADIOBUTTON_ECLIPSE = "jide/menu_radiobutton_eclipse.gif";
094:
095: public final static String JIDE32 = "jide/jide32.png";
096: public final static String JIDE50 = "jide/jide50.png";
097:
098: public final static String JIDELOGO = "jide/jide_logo.png";
099:
100: public final static String JIDELOGO_SMALL = "jide/jide_logo_small.png";
101: public final static String JIDELOGO_SMALL2 = "jide/jide_logo_small_2.png";
102:
103: public static ImageIcon getImageIcon(String name) {
104: if (name != null)
105: return IconsFactory.getImageIcon(JideIconsFactory.class,
106: name);
107: else
108: return null;
109: }
110:
111: public static void main(String[] argv) {
112: IconsFactory.generateHTML(JideIconsFactory.class);
113: }
114:
115: }
|