KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > izforge > izpack > installer > InstallData


1 /*
2  * IzPack - Copyright 2001-2007 Julien Ponge, All Rights Reserved.
3  *
4  * http://www.izforge.com/izpack/
5  * http://developer.berlios.de/projects/izpack/
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */

19
20 package com.izforge.izpack.installer;
21
22 import java.awt.Color JavaDoc;
23 import java.io.Serializable JavaDoc;
24
25 import com.izforge.izpack.GUIPrefs;
26 import com.izforge.izpack.Panel;
27
28 /**
29  * Encloses information about the install process. This class is implemented as a singleton which
30  * can be easily accessed by different components of the installer. However, this implementation is
31  * not thread safe.
32  *
33  * @author Julien Ponge <julien@izforge.com>
34  * @author Johannes Lehtinen <johannes.lehtinen@iki.fi>
35  */

36 public class InstallData extends AutomatedInstallData implements Serializable JavaDoc
37 {
38
39     private static final long serialVersionUID = 4048793450990024505L;
40
41     /** The GUI preferences. */
42     public GUIPrefs guiPrefs;
43     
44     /** Contains at IzPanel constructor call the related Panel object. This is a hack
45      * to allow usage of the meta data stored in the Panel object during construction of
46      * the IzPanel. Do not use this member at an other place.
47      */

48     public Panel currentPanel;
49
50     /** The buttons highlighting color. */
51     public Color JavaDoc buttonsHColor = new Color JavaDoc(230, 230, 230);
52
53     /** Constructs a new instance of this class. */
54     protected InstallData()
55     {
56         super();
57     }
58 }
59
Popular Tags