KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > joram > client > tools > admin > AdminToolConstants


1 /*
2  * Created on Oct 26, 2003
3  *
4  * To change the template for this generated file go to
5  * Window>Preferences>Java>Code Generation>Code and Comments
6  */

7 /*
8  * JORAM: Java(TM) Open Reliable Asynchronous Messaging
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or any later version.
14  *
15  * This library is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
23  * USA.
24  *
25  * Initial developer(s): Alexander Fedorowicz
26  * Contributor(s):
27  */

28 package org.objectweb.joram.client.tools.admin;
29
30 import java.awt.Color JavaDoc;
31 import java.awt.Dimension JavaDoc;
32 import java.awt.Toolkit JavaDoc;
33
34 import javax.swing.ImageIcon JavaDoc;
35
36 /**
37  * @author afedoro
38  *
39  * To change the template for this generated type comment go to
40  * Window>Preferences>Java>Code Generation>Code and Comments
41  */

42 public class AdminToolConstants {
43     // Main window size
44
protected static final Dimension JavaDoc STARTUP_SIZE = new Dimension JavaDoc(800, 500);
45
46   // Initial ratio between navigation and information panels
47
protected static final double DIVIDER_PROPORTION = 0.4;
48
49     // Connection status bar message colors
50
protected static final Color JavaDoc COLOR_CONNECTED = new Color JavaDoc(0x00, 0xa0, 0x00);
51     protected static final Color JavaDoc COLOR_DISCONNECTED = new Color JavaDoc(0xff, 0x00, 0x00);
52
53     // Icons used in the admin tool
54
static final ImageIcon JavaDoc expandedIcon =
55     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/expanded.png")));
56
57   static final ImageIcon JavaDoc collapsedIcon =
58     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/collapsed.png")));
59
60   static final ImageIcon JavaDoc serverIcon =
61     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/server.png")));
62
63   static final ImageIcon JavaDoc queueIcon =
64     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/queue.png")));
65
66   static final ImageIcon JavaDoc userIcon =
67     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/user.png")));
68
69   static final ImageIcon JavaDoc jndiIcon =
70     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/jndi.png")));
71
72   static final ImageIcon JavaDoc refreshIcon =
73     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/refresh.png")));
74
75   static final ImageIcon JavaDoc stopIcon =
76     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/stop.png")));
77
78   static final ImageIcon JavaDoc trashIcon =
79     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/trash.png")));
80
81   static final ImageIcon JavaDoc lockIcon =
82     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/lock.png")));
83
84   static final ImageIcon JavaDoc homeIcon =
85     new ImageIcon JavaDoc(Toolkit.getDefaultToolkit().getImage(AdminTool.class.getResource("/org/objectweb/joram/client/tools/admin/icons/home.png")));
86 }
87
Popular Tags