Statistics
| Revision:

root / import / ext3D / trunk / install-extension3d / IzPack / src / lib / com / izforge / izpack / gui / IzPackKMetalTheme.java @ 15280

History | View | Annotate | Download (3.04 KB)

1
/*
2
 *  $Id: IzPackKMetalTheme.java,v 1.1 2006/06/14 07:29:07 cesar Exp $
3
 *  IzPack
4
 *  Copyright (C) 2001-2004 Julien Ponge
5
 *
6
 *  File :               IzPackKMetalTheme.java
7
 *  Description :        The metal theme for IzPack with the Kunststoff L&F.
8
 *  Author's email :     julien@izforge.com
9
 *  Author's Website :   http://www.izforge.com
10
 *
11
 *  (Some code comes from the Kunststoff source code which is under the LGPL)
12
 *
13
 *  This program is free software; you can redistribute it and/or
14
 *  modify it under the terms of the GNU General Public License
15
 *  as published by the Free Software Foundation; either version 2
16
 *  of the License, or any later version.
17
 *
18
 *  This program is distributed in the hope that it will be useful,
19
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 *  GNU General Public License for more details.
22
 *
23
 *  You should have received a copy of the GNU General Public License
24
 *  along with this program; if not, write to the Free Software
25
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
26
 */
27
package com.izforge.izpack.gui;
28

    
29
import javax.swing.plaf.ColorUIResource;
30

    
31
/**
32
 *  The IzPack Kunststoff L&F theme.
33
 *
34
 * @author     Julien Ponge
35
 */
36
public class IzPackKMetalTheme extends IzPackMetalTheme
37
{
38
  /**  Primary color. */
39
  private final ColorUIResource primary1 = new ColorUIResource(32, 32, 64);
40

    
41
  /**  Primary color. */
42
  private final ColorUIResource primary2 = new ColorUIResource(160, 160, 180);
43

    
44
  /**  Primary color. */
45
  private final ColorUIResource primary3 = new ColorUIResource(200, 200, 224);
46

    
47
  /**  Secondary color. */
48
  private final ColorUIResource secondary1 = new ColorUIResource(130, 130, 130);
49

    
50
  /**  Secondary color. */
51
  private final ColorUIResource secondary2 = new ColorUIResource(180, 180, 180);
52

    
53
  /**  Secondary color. */
54
  private final ColorUIResource secondary3 = new ColorUIResource(224, 224, 224);
55

    
56
  /**  The constructor.  */
57
  public IzPackKMetalTheme()
58
  {
59
    super();
60
  }
61

    
62
  /**
63
   *  Returns the wished color.
64
   *
65
   * @return    The wished color.
66
   */
67
  public ColorUIResource getPrimary1()
68
  {
69
    return primary1;
70
  }
71

    
72
  /**
73
   *  Returns the wished color.
74
   *
75
   * @return    The wished color.
76
   */
77
  public ColorUIResource getPrimary2()
78
  {
79
    return primary2;
80
  }
81

    
82
  /**
83
   *  Returns the wished color.
84
   *
85
   * @return    The wished color.
86
   */
87
  public ColorUIResource getPrimary3()
88
  {
89
    return primary3;
90
  }
91

    
92
  /**
93
   *  Returns the wished color.
94
   *
95
   * @return    The wished color.
96
   */
97
  public ColorUIResource getSecondary1()
98
  {
99
    return secondary1;
100
  }
101

    
102
  /**
103
   *  Returns the wished color.
104
   *
105
   * @return    The wished color.
106
   */
107
  public ColorUIResource getSecondary2()
108
  {
109
    return secondary2;
110
  }
111

    
112
  /**
113
   *  Returns the wished color.
114
   *
115
   * @return    The wished color.
116
   */
117
  public ColorUIResource getSecondary3()
118
  {
119
    return secondary3;
120
  }
121
}