01: /*
02: * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
03: *
04: * http://izpack.org/
05: * http://izpack.codehaus.org/
06: *
07: * Licensed under the Apache License, Version 2.0 (the "License");
08: * you may not use this file except in compliance with the License.
09: * 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;
23: import java.io.Serializable;
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
37: Serializable {
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 buttonsHColor = new Color(230, 230, 230);
52:
53: /** Constructs a new instance of this class. */
54: protected InstallData() {
55: super();
56: }
57: }
|