KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > izforge > izpack > GUIPrefs


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;
21
22 import java.io.Serializable JavaDoc;
23 import java.util.Map JavaDoc;
24 import java.util.TreeMap JavaDoc;
25
26 /**
27  * This class holds the GUI preferences for an installer.
28  *
29  * @author Julien Ponge
30  */

31 public class GUIPrefs implements Serializable JavaDoc
32 {
33
34     static final long serialVersionUID = -9081878949718963824L;
35
36     /** Specifies wether the window will be resizable. */
37     public boolean resizable;
38
39     /** Specifies the starting window width, in pixels. */
40     public int width;
41
42     /** Specifies the starting window height, in pixels. */
43     public int height;
44
45     /** Specifies the OS Look and Feels mappings. */
46     public Map JavaDoc lookAndFeelMapping = new TreeMap JavaDoc();
47
48     /** Specifies the OS Look and Feels optionnal parameters. */
49     public Map JavaDoc lookAndFeelParams = new TreeMap JavaDoc();
50
51     /** Specifies the modifier. */
52     public Map JavaDoc modifier = new TreeMap JavaDoc();
53 }
54
Popular Tags