|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.izforge.izpack.installer.InstallerBase
com.izforge.izpack.installer.GUIInstaller
public class GUIInstaller
The IzPack graphical installer class.
| Nested Class Summary | |
|---|---|
private static class |
GUIInstaller.FlagRenderer
A list cell renderer that adds the flags on the display. |
private class |
GUIInstaller.LanguageDialog
Used to prompt the user for the language. |
| Field Summary | |
|---|---|
private InstallData |
installdata
The installation data. |
private static java.util.HashMap |
isoTable
holds language to ISO-3 language code translation |
private static java.lang.String[][] |
LANG_CODES
|
private static java.lang.String[] |
LANGUAGE_DISPLAY_TYPES
defined modifier for language display type. |
protected java.lang.String |
lnf
The L&F. |
| Fields inherited from class com.izforge.izpack.installer.InstallerBase |
|---|
LANG_FILE_NAME |
| Constructor Summary | |
|---|---|
GUIInstaller()
The constructor. |
|
| Method Summary | |
|---|---|
private void |
checkJavaVersion()
Checks the Java version. |
private void |
checkJDKAvailable()
Checks if a JDK is available. |
private void |
checkLockFile()
Sets a lock file. |
protected java.lang.String |
getLangType()
Returns the type in which the language should be displayed in the language selction dialog. |
private void |
init()
|
private void |
loadGUI()
Loads the GUI. |
void |
loadGUIInstallData()
Load GUI preference information. |
private void |
loadLangPack()
Loads the suitable langpack. |
protected void |
loadLookAndFeel()
Loads the suitable L&F. |
private void |
showFatalError(java.lang.Throwable e)
|
void |
showMissingRequirementMessage(java.lang.String message)
|
protected boolean |
useFlags()
Returns whether flags should be used in the language selection dialog or not. |
| Methods inherited from class com.izforge.izpack.installer.InstallerBase |
|---|
addCustomLangpack, checkInstallerRequirements, getAvailableLangPacks, getResource, getRules, loadConditions, loadDynamicVariables, loadInstallData, loadInstallerRequirements, refreshDynamicVariables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private InstallData installdata
protected java.lang.String lnf
private static final java.lang.String[] LANGUAGE_DISPLAY_TYPES
private static final java.lang.String[][] LANG_CODES
private static java.util.HashMap isoTable
| Constructor Detail |
|---|
public GUIInstaller()
throws java.lang.Exception
java.lang.Exception - Description of the Exception| Method Detail |
|---|
private void showFatalError(java.lang.Throwable e)
private void init()
throws java.lang.Exception
java.lang.Exceptionpublic void showMissingRequirementMessage(java.lang.String message)
showMissingRequirementMessage in class InstallerBase
public void loadGUIInstallData()
throws java.lang.Exception
java.lang.Exception
private void checkLockFile()
throws java.lang.Exception
java.lang.Exception - Description of the Exception
private void checkJavaVersion()
throws java.lang.Exception
java.lang.Exception - Description of the Exceptionprivate void checkJDKAvailable()
private void loadLangPack()
throws java.lang.Exception
java.lang.Exception - Description of the Exception
protected void loadLookAndFeel()
throws java.lang.Exception
java.lang.Exception - Description of the Exception
private void loadGUI()
throws java.lang.Exception
java.lang.Exception - Description of the Exceptionprotected boolean useFlags()
protected java.lang.String getLangType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||