001/* 002 * IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved. 003 * 004 * http://www.izforge.com/izpack/ 005 * http://developer.berlios.de/projects/izpack/ 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 020package com.izforge.izpack.gui; 021 022import javax.swing.plaf.ColorUIResource; 023 024/** 025 * The IzPack Kunststoff L&F theme. 026 * 027 * @author Julien Ponge 028 */ 029public class IzPackKMetalTheme extends IzPackMetalTheme 030{ 031 032 /** Primary color. */ 033 private final ColorUIResource primary1 = new ColorUIResource(32, 32, 64); 034 035 /** Primary color. */ 036 private final ColorUIResource primary2 = new ColorUIResource(160, 160, 180); 037 038 /** Primary color. */ 039 private final ColorUIResource primary3 = new ColorUIResource(200, 200, 224); 040 041 /** Secondary color. */ 042 private final ColorUIResource secondary1 = new ColorUIResource(130, 130, 130); 043 044 /** Secondary color. */ 045 private final ColorUIResource secondary2 = new ColorUIResource(180, 180, 180); 046 047 /** Secondary color. */ 048 private final ColorUIResource secondary3 = new ColorUIResource(224, 224, 224); 049 050 /** The constructor. */ 051 public IzPackKMetalTheme() 052 { 053 super(); 054 } 055 056 /** 057 * Returns the wished color. 058 * 059 * @return The wished color. 060 */ 061 public ColorUIResource getPrimary1() 062 { 063 return primary1; 064 } 065 066 /** 067 * Returns the wished color. 068 * 069 * @return The wished color. 070 */ 071 public ColorUIResource getPrimary2() 072 { 073 return primary2; 074 } 075 076 /** 077 * Returns the wished color. 078 * 079 * @return The wished color. 080 */ 081 public ColorUIResource getPrimary3() 082 { 083 return primary3; 084 } 085 086 /** 087 * Returns the wished color. 088 * 089 * @return The wished color. 090 */ 091 public ColorUIResource getSecondary1() 092 { 093 return secondary1; 094 } 095 096 /** 097 * Returns the wished color. 098 * 099 * @return The wished color. 100 */ 101 public ColorUIResource getSecondary2() 102 { 103 return secondary2; 104 } 105 106 /** 107 * Returns the wished color. 108 * 109 * @return The wished color. 110 */ 111 public ColorUIResource getSecondary3() 112 { 113 return secondary3; 114 } 115}