KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > cjdbc > console > gui > constants > GuiIcons


1 /**
2  * C-JDBC: Clustered JDBC.
3  * Copyright (C) 2002-2004 French National Institute For Research In Computer
4  * Science And Control (INRIA).
5  * Contact: c-jdbc@objectweb.org
6  *
7  * This library is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by the
9  * Free Software Foundation; either version 2.1 of the License, or any later
10  * version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
15  * for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this library; if not, write to the Free Software Foundation,
19  * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20  *
21  * Initial developer(s): Nicolas Modrzyk
22  * Contributor(s): ______________________.
23  */

24
25 package org.objectweb.cjdbc.console.gui.constants;
26
27 import javax.swing.Icon JavaDoc;
28 import javax.swing.ImageIcon JavaDoc;
29
30 /**
31  * This class defines a GuiIcons
32  *
33  * @author <a HREF="mailto:Nicolas.Modrzyk@inria.fr">Nicolas Modrzyk </a>
34  * @version 1.0
35  */

36 public abstract class GuiIcons
37 {
38   /** Backend Panel Icon */
39   public static final Icon JavaDoc BACKEND_PANEL_ICON = new ImageIcon JavaDoc(
40                                                                    GuiIcons.class
41                                                                        .getResource("/Panel_Backend.gif"));
42
43   /** Xml Panel Icon */
44   public static final Icon JavaDoc XML_PANEL_ICON = new ImageIcon JavaDoc(
45                                                                    GuiIcons.class
46                                                                        .getResource("/Panel_Xml.gif"));
47
48   /** Debug panel Icon */
49   public static final Icon JavaDoc DEBUG_PANEL_ICON = new ImageIcon JavaDoc(
50                                                                    GuiIcons.class
51                                                                        .getResource("/Panel_Debug.gif"));
52
53   /** Backend Enabled Icon */
54   public static final Icon JavaDoc BACKEND_ENABLED_ICON = new ImageIcon JavaDoc(
55                                                                    GuiIcons.class
56                                                                        .getResource("/Backend_Enabled.gif"));
57
58   /** Backend Disabled Icon */
59   public static final Icon JavaDoc BACKEND_DISABLED_ICON = new ImageIcon JavaDoc(
60                                                                    GuiIcons.class
61                                                                        .getResource("/Backend_Disabled.gif"));
62
63   /** Backend BACKUP Icon */
64   public static final Icon JavaDoc BACKEND_BACKUP_ICON = new ImageIcon JavaDoc(
65                                                                    GuiIcons.class
66                                                                        .getResource("/Backend_Backup.gif"));
67
68   /** Backend RESTORE Icon */
69   public static final Icon JavaDoc BACKEND_RESTORE_ICON = new ImageIcon JavaDoc(
70                                                                    GuiIcons.class
71                                                                        .getResource("/Backend_Restore.gif"));
72
73   /** Backend RECOVERY Icon */
74   public static final Icon JavaDoc BACKEND_STATE_RECOVERY = new ImageIcon JavaDoc(
75                                                                    GuiIcons.class
76                                                                        .getResource("/Backend_Recovery.gif"));
77
78   /** Backend disabling icon */
79   public static final Icon JavaDoc BACKEND_DISABLING_ICON = BACKEND_STATE_RECOVERY;
80
81   /** Log panel Icon */
82   public static final Icon JavaDoc INFO_PANEL_ICON = new ImageIcon JavaDoc(
83                                                                    GuiIcons.class
84                                                                        .getResource("/Panel_Info.gif"));
85
86   /** Configuration file Icon */
87   public static final Icon JavaDoc CONFIGURATION_FILE_OBJECT_ICON = new ImageIcon JavaDoc(
88                                                                    GuiIcons.class
89                                                                        .getResource("/Object_Configuration_File.gif"));
90
91   /** Controller Ready Icon */
92   public static final Icon JavaDoc CONTROLLER_READY = new ImageIcon JavaDoc(
93                                                                    GuiIcons.class
94                                                                        .getResource("/Object_Controller_Ready.gif"));
95
96   /** Controller down Icon */
97   public static final Icon JavaDoc CONTROLLER_DOWN = new ImageIcon JavaDoc(
98                                                                    GuiIcons.class
99                                                                        .getResource("/Object_Controller_Down.gif"));
100
101   /** Database Icon */
102   public static final Icon JavaDoc DATABASE_ICON = new ImageIcon JavaDoc(
103                                                                    GuiIcons.class
104                                                                        .getResource("/Object_Database.gif"));
105
106   /** Help Panel Icon */
107   public static final Icon JavaDoc HELP_PANEL_ICON = new ImageIcon JavaDoc(
108                                                                    GuiIcons.class
109                                                                        .getResource("/Panel_Help.gif"));
110
111   /** Logging Panel Icon */
112   public static final Icon JavaDoc LOGGING_PANEL_ICON = new ImageIcon JavaDoc(
113                                                                    GuiIcons.class
114                                                                        .getResource("/Panel_Logging.gif"));
115
116   /** Dump File Icon */
117   public static final Icon JavaDoc DUMP_FILE_ICON = new ImageIcon JavaDoc(
118                                                                    GuiIcons.class
119                                                                        .getResource("/Object_Dump_File.gif"));
120
121   /** Log Config Panel Icon */
122   public static final Icon JavaDoc LOG_CONFIG_PANEL_ICON = new ImageIcon JavaDoc(
123                                                                    GuiIcons.class
124                                                                        .getResource("/Panel_Log_Configuration.gif"));
125
126   /** Frame error Icon */
127   public static final Icon JavaDoc FRAME_ERROR_ICON = new ImageIcon JavaDoc(
128                                                                    GuiIcons.class
129                                                                        .getResource("/Frame_Error.gif"));
130
131   /** Database Single Icon */
132   public static final Icon JavaDoc DATABASE_SINGLE_ICON = new ImageIcon JavaDoc(
133                                                                    GuiIcons.class
134                                                                        .getResource("/Database_Single.gif"));
135
136   /** Database Distributed Icon */
137   public static final Icon JavaDoc DATABASE_DISTRIBUTED_ICON = new ImageIcon JavaDoc(
138                                                                    GuiIcons.class
139                                                                        .getResource("/Database_Distributed.gif"));
140
141   /** Custom Cursor Icon */
142   public static final ImageIcon JavaDoc CUSTOM_CURSOR_ICON = new ImageIcon JavaDoc(
143                                                                    GuiIcons.class
144                                                                        .getResource("/Cursor_Custom.gif"));
145
146   /** Logo */
147   public static final ImageIcon JavaDoc CJDBC_LOGO = new ImageIcon JavaDoc(
148                                                                    GuiIcons.class
149                                                                        .getResource("/c-jdbc.png"));
150
151   /** Jmx * */
152   public static final ImageIcon JavaDoc JMX_PANEL_ICON = new ImageIcon JavaDoc(
153                                                                    GuiIcons.class
154                                                                        .getResource("/Panel_JMX.gif"));
155
156 }
Popular Tags