001: /*
002: * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
003: *
004: * http://izpack.org/
005: * http://izpack.codehaus.org/
006: *
007: * Licensed under the Apache License, Version 2.0 (the "License");
008: * you may not use this file except in compliance with the License.
009: * You may obtain a copy of the License at
010: *
011: * http://www.apache.org/licenses/LICENSE-2.0
012: *
013: * Unless required by applicable law or agreed to in writing, software
014: * distributed under the License is distributed on an "AS IS" BASIS,
015: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
016: * See the License for the specific language governing permissions and
017: * limitations under the License.
018: */
019:
020: package com.izforge.izpack.gui;
021:
022: import javax.swing.plaf.ColorUIResource;
023:
024: /**
025: * The IzPack Kunststoff L&F theme.
026: *
027: * @author Julien Ponge
028: */
029: public class IzPackKMetalTheme extends IzPackMetalTheme {
030:
031: /** Primary color. */
032: private final ColorUIResource primary1 = new ColorUIResource(32,
033: 32, 64);
034:
035: /** Primary color. */
036: private final ColorUIResource primary2 = new ColorUIResource(160,
037: 160, 180);
038:
039: /** Primary color. */
040: private final ColorUIResource primary3 = new ColorUIResource(200,
041: 200, 224);
042:
043: /** Secondary color. */
044: private final ColorUIResource secondary1 = new ColorUIResource(130,
045: 130, 130);
046:
047: /** Secondary color. */
048: private final ColorUIResource secondary2 = new ColorUIResource(180,
049: 180, 180);
050:
051: /** Secondary color. */
052: private final ColorUIResource secondary3 = new ColorUIResource(224,
053: 224, 224);
054:
055: /** The constructor. */
056: public IzPackKMetalTheme() {
057: super ();
058: }
059:
060: /**
061: * Returns the wished color.
062: *
063: * @return The wished color.
064: */
065: public ColorUIResource getPrimary1() {
066: return primary1;
067: }
068:
069: /**
070: * Returns the wished color.
071: *
072: * @return The wished color.
073: */
074: public ColorUIResource getPrimary2() {
075: return primary2;
076: }
077:
078: /**
079: * Returns the wished color.
080: *
081: * @return The wished color.
082: */
083: public ColorUIResource getPrimary3() {
084: return primary3;
085: }
086:
087: /**
088: * Returns the wished color.
089: *
090: * @return The wished color.
091: */
092: public ColorUIResource getSecondary1() {
093: return secondary1;
094: }
095:
096: /**
097: * Returns the wished color.
098: *
099: * @return The wished color.
100: */
101: public ColorUIResource getSecondary2() {
102: return secondary2;
103: }
104:
105: /**
106: * Returns the wished color.
107: *
108: * @return The wished color.
109: */
110: public ColorUIResource getSecondary3() {
111: return secondary3;
112: }
113: }
|