public class GUIInstaller extends InstallerBase
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
private InstallData |
installdata
The installation data.
|
private static HashMap |
isoTable
holds language to ISO-3 language code translation
|
private static String[][] |
LANG_CODES |
private static String[] |
LANGUAGE_DISPLAY_TYPES
defined modifier for language display type.
|
protected String |
lnf
The L&F.
|
LANG_FILE_NAME
Constructor and Description |
---|
GUIInstaller()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
private void |
checkJavaVersion()
Checks the Java version.
|
private List |
getAvailableLangPacks()
Returns an ArrayList of the available langpacks ISO3 codes.
|
protected String |
getLangType()
Returns the type in which the language should be displayed in the language selction dialog.
|
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.
|
protected boolean |
useFlags()
Returns whether flags should be used in the language selection dialog or not.
|
addCustomLangpack, loadInstallData
private InstallData installdata
private static final String[] LANGUAGE_DISPLAY_TYPES
private static final String[][] LANG_CODES
public GUIInstaller() throws Exception
Exception
- Description of the Exceptionpublic void loadGUIInstallData() throws Exception
Exception
private void checkJavaVersion() throws Exception
Exception
- Description of the Exceptionprivate void loadLangPack() throws Exception
Exception
- Description of the Exceptionprivate List getAvailableLangPacks() throws Exception
Exception
- Description of the Exceptionprotected void loadLookAndFeel() throws Exception
Exception
- Description of the Exceptionprivate void loadGUI() throws Exception
Exception
- Description of the Exceptionprotected boolean useFlags()
protected String getLangType()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses