Source Code Cross Referenced for RubyTheme.java in  » ERP-CRM-Financial » Personal-Finance-Manager » br » com » gfpshare » plaf » theme » 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 » ERP CRM Financial » Personal Finance Manager » br.com.gfpshare.plaf.theme 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright (c) 2004 Sun Microsystems, Inc. All  Rights Reserved.
003:         * 
004:         * Redistribution and use in source and binary forms, with or without
005:         * modification, are permitted provided that the following conditions
006:         * are met:
007:         * 
008:         * -Redistributions of source code must retain the above copyright
009:         *  notice, this list of conditions and the following disclaimer.
010:         * 
011:         * -Redistribution in binary form must reproduct the above copyright
012:         *  notice, this list of conditions and the following disclaimer in
013:         *  the documentation and/or other materials provided with the distribution.
014:         * 
015:         * Neither the name of Sun Microsystems, Inc. or the names of contributors
016:         * may be used to endorse or promote products derived from this software
017:         * without specific prior written permission.
018:         * 
019:         * This software is provided "AS IS," without a warranty of any kind. ALL
020:         * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
021:         * ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
022:         * OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT
023:         * BE LIABLE FOR ANY DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT
024:         * OF OR RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR ITS
025:         * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST
026:         * REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL,
027:         * INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY
028:         * OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN
029:         * IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
030:         * 
031:         * You acknowledge that Software is not designed, licensed or intended for
032:         * use in the design, construction, operation or maintenance of any nuclear
033:         * facility.
034:         */
035:
036:        /*
037:         * @(#)RubyTheme.java	1.8 03/12/19
038:         */
039:        package br.com.gfpshare.plaf.theme;
040:
041:        import javax.swing.plaf.ColorUIResource;
042:        import javax.swing.plaf.metal.DefaultMetalTheme;
043:
044:        /**
045:         * This class describes a theme using red colors.
046:         *
047:         * @version 1.8 12/19/03
048:         * @author Jeff Dinkins
049:         */
050:        public class RubyTheme extends DefaultMetalTheme {
051:
052:            /**
053:             * @see javax.swing.plaf.metal.DefaultMetalTheme#getName()
054:             */
055:            @Override
056:            public String getName() {
057:                return "Ruby";
058:            }
059:
060:            private final ColorUIResource primary1 = new ColorUIResource(80,
061:                    10, 22);
062:            private final ColorUIResource primary2 = new ColorUIResource(193,
063:                    10, 44);
064:            private final ColorUIResource primary3 = new ColorUIResource(244,
065:                    10, 66);
066:
067:            private final ColorUIResource secondary1 = new ColorUIResource(255,
068:                    100, 100);
069:            private final ColorUIResource secondary2 = new ColorUIResource(225,
070:                    70, 70);
071:            private final ColorUIResource secondary3 = new ColorUIResource(255,
072:                    170, 170);
073:
074:            @Override
075:            protected ColorUIResource getPrimary1() {
076:                return primary1;
077:            }
078:
079:            @Override
080:            protected ColorUIResource getPrimary2() {
081:                return primary2;
082:            }
083:
084:            @Override
085:            protected ColorUIResource getPrimary3() {
086:                return primary3;
087:            }
088:
089:            @Override
090:            protected ColorUIResource getSecondary1() {
091:                return secondary1;
092:            }
093:
094:            @Override
095:            protected ColorUIResource getSecondary2() {
096:                return secondary2;
097:            }
098:
099:            @Override
100:            protected ColorUIResource getSecondary3() {
101:                return secondary3;
102:            }
103:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.