Source Code Cross Referenced for Utils.java in  » IDE-Netbeans » profiler » org » netbeans » modules » profiler » ui » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » profiler » org.netbeans.modules.profiler.ui 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003:         *
004:         * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005:         *
006:         * The contents of this file are subject to the terms of either the GNU
007:         * General Public License Version 2 only ("GPL") or the Common
008:         * Development and Distribution License("CDDL") (collectively, the
009:         * "License"). You may not use this file except in compliance with the
010:         * License. You can obtain a copy of the License at
011:         * http://www.netbeans.org/cddl-gplv2.html
012:         * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013:         * specific language governing permissions and limitations under the
014:         * License.  When distributing the software, include this License Header
015:         * Notice in each file and include the License file at
016:         * nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
017:         * particular file as subject to the "Classpath" exception as provided
018:         * by Sun in the GPL Version 2 section of the License file that
019:         * accompanied this code. If applicable, add the following below the
020:         * License Header, with the fields enclosed by brackets [] replaced by
021:         * your own identifying information:
022:         * "Portions Copyrighted [year] [name of copyright owner]"
023:         *
024:         * Contributor(s):
025:         * The Original Software is NetBeans. The Initial Developer of the Original
026:         * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
027:         * Microsystems, Inc. All Rights Reserved.
028:         *
029:         * If you wish your version of this file to be governed by only the CDDL
030:         * or only the GPL Version 2, indicate your decision by adding
031:         * "[Contributor] elects to include this software in this distribution
032:         * under the [CDDL or GPL Version 2] license." If you do not indicate a
033:         * single choice of license, a recipient has the option to distribute
034:         * your version of this file under either the CDDL, the GPL Version 2 or
035:         * to extend the choice of license to its licensees as provided above.
036:         * However, if you add GPL Version 2 code and therefore, elected the GPL
037:         * Version 2 license, then the option applies only if the new code is
038:         * made subject to such option by the copyright holder.
039:         */
040:
041:        package org.netbeans.modules.profiler.ui;
042:
043:        import org.openide.util.Utilities;
044:        import javax.swing.ImageIcon;
045:
046:        /**
047:         *
048:         * @author Jiri Sedlacek
049:         */
050:        public class Utils {
051:            //~ Static fields/initializers -----------------------------------------------------------------------------------------------
052:
053:            // no icon
054:            public static ImageIcon NO_ICON = new ImageIcon();
055:
056:            // default
057:            //public static ImageIcon DEFAULT_ICON = new ImageIcon(Utilities.loadImage("org/openide/nodes/defaultNode.png")); // NOI18N
058:
059:            // empty
060:            //public static ImageIcon EMPRY_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/modules/profiler/resources/ide/empty.gif")); // NOI18N
061:
062:            // error
063:            public static ImageIcon ERROR_ICON = new ImageIcon(
064:                    Utilities
065:                            .loadImage("org/netbeans/modules/profiler/resources/ide/error.png")); // NOI18N
066:
067:            // projects
068:            //public static ImageIcon PROJECTS_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/modules/project/ui/resources/projectTab.png")); // NOI18N
069:
070:            // package
071:            public static ImageIcon PACKAGE_ICON = new ImageIcon(
072:                    Utilities
073:                            .loadImage("org/netbeans/modules/profiler/resources/ide/package.png")); // NOI18N
074:            //public static ImageIcon PACKAGE_PUBLIC_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/spi/java/project/support/ui/packagePublic.png")); // NOI18N
075:            //public static ImageIcon PACKAGE_PRIVATE_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/spi/java/project/support/ui/packagePrivate.png")); // NOI18N
076:            //public static ImageIcon PACKAGE_EMPTY_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/spi/java/project/support/ui/packageEmpty.png")); // NOI18N
077:
078:            // libraries
079:            public static ImageIcon LIBRARIES_ICON = new ImageIcon(
080:                    Utilities
081:                            .loadImage("org/netbeans/modules/profiler/resources/ide/libraries.png")); // NOI18N
082:
083:            // class
084:            public static ImageIcon CLASS_ICON = new ImageIcon(
085:                    Utilities
086:                            .loadImage("org/netbeans/modules/profiler/resources/ide/class.png")); // NOI18N
087:            //public static ImageIcon CLASS_MAIN_ICON = new ImageIcon(Utilities.loadImage("org/netbeans/modules/java/resources/main-class.png")); // NOI18N
088:
089:            // interface
090:            public static ImageIcon INTERFACE_ICON = new ImageIcon(
091:                    Utilities
092:                            .loadImage("org/netbeans/modules/profiler/resources/ide/interface.png")); // NOI18N
093:
094:            // initializer
095:            public static ImageIcon INITIALIZER_ICON = new ImageIcon(
096:                    Utilities
097:                            .loadImage("org/netbeans/modules/profiler/resources/ide/initializer.png")); // NOI18N
098:            public static ImageIcon INITIALIZER_STATIC_ICON = new ImageIcon(
099:                    Utilities
100:                            .loadImage("org/netbeans/modules/profiler/resources/ide/initializerSt.png")); // NOI18N
101:
102:            // constructor
103:            public static ImageIcon CONSTRUCTORS_ICON = new ImageIcon(
104:                    Utilities
105:                            .loadImage("org/netbeans/modules/profiler/resources/ide/constructors.png")); // NOI18N
106:            public static ImageIcon CONSTRUCTOR_PUBLIC_ICON = new ImageIcon(
107:                    Utilities
108:                            .loadImage("org/netbeans/modules/profiler/resources/ide/constructorPublic.png")); // NOI18N
109:            public static ImageIcon CONSTRUCTOR_PROTECTED_ICON = new ImageIcon(
110:                    Utilities
111:                            .loadImage("org/netbeans/modules/profiler/resources/ide/constructorProtected.png")); // NOI18N
112:            public static ImageIcon CONSTRUCTOR_PRIVATE_ICON = new ImageIcon(
113:                    Utilities
114:                            .loadImage("org/netbeans/modules/profiler/resources/ide/constructorPrivate.png")); // NOI18N
115:            public static ImageIcon CONSTRUCTOR_PACKAGE_ICON = new ImageIcon(
116:                    Utilities
117:                            .loadImage("org/netbeans/modules/profiler/resources/ide/constructorPackage.png")); // NOI18N
118:
119:            // method
120:            public static ImageIcon METHODS_ICON = new ImageIcon(
121:                    Utilities
122:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methods.png")); // NOI18N
123:            public static ImageIcon METHOD_PUBLIC_ICON = new ImageIcon(
124:                    Utilities
125:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodPublic.png")); // NOI18N
126:            public static ImageIcon METHOD_PROTECTED_ICON = new ImageIcon(
127:                    Utilities
128:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodProtected.png")); // NOI18N
129:            public static ImageIcon METHOD_PRIVATE_ICON = new ImageIcon(
130:                    Utilities
131:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodPrivate.png")); // NOI18N
132:            public static ImageIcon METHOD_PACKAGE_ICON = new ImageIcon(
133:                    Utilities
134:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodPackage.png")); // NOI18N
135:            public static ImageIcon METHOD_PUBLIC_STATIC_ICON = new ImageIcon(
136:                    Utilities
137:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodStPublic.png")); // NOI18N
138:            public static ImageIcon METHOD_PROTECTED_STATIC_ICON = new ImageIcon(
139:                    Utilities
140:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodStProtected.png")); // NOI18N
141:            public static ImageIcon METHOD_PRIVATE_STATIC_ICON = new ImageIcon(
142:                    Utilities
143:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodStPrivate.png")); // NOI18N
144:            public static ImageIcon METHOD_PACKAGE_STATIC_ICON = new ImageIcon(
145:                    Utilities
146:                            .loadImage("org/netbeans/modules/profiler/resources/ide/methodStPackage.png")); // NOI18N
147:
148:            // variable
149:            public static ImageIcon VARIABLES_ICON = new ImageIcon(
150:                    Utilities
151:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variables.png")); // NOI18N
152:            public static ImageIcon VARIABLE_PUBLIC_ICON = new ImageIcon(
153:                    Utilities
154:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variablePublic.png")); // NOI18N
155:            public static ImageIcon VARIABLE_PROTECTED_ICON = new ImageIcon(
156:                    Utilities
157:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variableProtected.png")); // NOI18N
158:            public static ImageIcon VARIABLE_PRIVATE_ICON = new ImageIcon(
159:                    Utilities
160:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variablePrivate.png")); // NOI18N
161:            public static ImageIcon VARIABLE_PACKAGE_ICON = new ImageIcon(
162:                    Utilities
163:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variablePackage.png")); // NOI18N
164:            public static ImageIcon VARIABLE_PUBLIC_STATIC_ICON = new ImageIcon(
165:                    Utilities
166:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variableStPublic.png")); // NOI18N
167:            public static ImageIcon VARIABLE_PROTECTED_STATIC_ICON = new ImageIcon(
168:                    Utilities
169:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variableStProtected.png")); // NOI18N
170:            public static ImageIcon VARIABLE_PRIVATE_STATIC_ICON = new ImageIcon(
171:                    Utilities
172:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variableStPrivate.png")); // NOI18N
173:            public static ImageIcon VARIABLE_PACKAGE_STATIC_ICON = new ImageIcon(
174:                    Utilities
175:                            .loadImage("org/netbeans/modules/profiler/resources/ide/variableStPackage.png")); // NOI18N
176:
177:            // find
178:            public static ImageIcon FIND_ACTION_ICON = new ImageIcon(
179:                    Utilities
180:                            .loadImage("org/netbeans/modules/profiler/resources/ide/find.gif")); // NOI18N
181:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.