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; 021 022import java.io.Serializable; 023import java.util.Map; 024import java.util.TreeMap; 025 026/** 027 * This class holds the GUI preferences for an installer. 028 * 029 * @author Julien Ponge 030 */ 031public class GUIPrefs implements Serializable 032{ 033 034 static final long serialVersionUID = -9081878949718963824L; 035 036 /** Specifies wether the window will be resizable. */ 037 public boolean resizable; 038 039 /** Specifies the starting window width, in pixels. */ 040 public int width; 041 042 /** Specifies the starting window height, in pixels. */ 043 public int height; 044 045 /** Specifies the OS Look and Feels mappings. */ 046 public Map lookAndFeelMapping = new TreeMap(); 047 048 /** Specifies the OS Look and Feels optionnal parameters. */ 049 public Map lookAndFeelParams = new TreeMap(); 050 051 /** Specifies the modifier. */ 052 public Map modifier = new TreeMap(); 053}