Public Member Functions | |
void | init () |
Static Public Member Functions | |
static void | main (String[] argv) |
static void | usage () |
static MixConfiguration | getMixConfiguration () |
static void | setMixConfiguration (MixConfiguration a_mixConfiguration) |
static void | setCurrentFilename (String filename) |
static String | getCurrentFileName () |
static void | info (String a_title, String[] a_message) |
static void | info (String a_title, String[] a_message, boolean a_bBlocking) |
static void | about () |
static Frame | getMainWindow () |
static JFileChooser | showFileDialog (Component a_component, int type, int filter_type) |
static byte[] | openFile (Component a_component, int type) |
Static Public Attributes | |
static final int | SAVE_DIALOG = 1 |
static final int | OPEN_DIALOG = 2 |
static final int | CHOOSE_DIR_DIALOG = 3 |
static final int | OPEN_MULTIPLE_DIALOG = 4 |
static final int | FILTER_ALL = 0 |
static final int | FILTER_CER = 1 |
static final int | FILTER_XML = 2 |
static final int | FILTER_PFX = 4 |
static final int | FILTER_B64_PFX = 8 |
static final int | FILTER_B64_CER = 16 |
static final int | FILTER_P10 = 32 |
static final int | FILTER_B64_P10 = 64 |
static final String | VERSION = "00.05.015" |
Static Protected Attributes | |
static JPanel | m_mainPanel |
Static Package Functions | |
[static initializer] | |
Static Private Member Functions | |
static void | createMixOnCDConfiguration () throws Exception |
Static Private Attributes | |
static final String | IMG_MAIN = MixConfig.class.getName() + "_icon.gif" |
static final String | MSG_COULD_NOT_INITIALISE |
static final String | MSG_CONFIG_FILE_NOT_FOUND |
static final String | MSG_ERROR_OPEN_FILE |
static MixConfiguration | m_mixConfiguration |
static ChoicePanel | m_startPanel |
static Frame | m_MainWindow |
static File | m_fileCurrentDir = new File(ClassUtil.getUserDir()) |
static String | m_currentFileName |
mixconfig.MixConfig.[static initializer] | ( | ) | [static, package] |
static void mixconfig.MixConfig.main | ( | String[] | argv | ) | [static] |
References mixconfig.MixConfig.createMixOnCDConfiguration(), mixconfig.Menu.exit(), mixconfig.MixConfig.getMainWindow(), mixconfig.ChoicePanel.getMenu(), mixconfig.MixConfig.IMG_MAIN, mixconfig.MixConfig.m_currentFileName, mixconfig.MixConfig.m_MainWindow, mixconfig.MixConfig.m_mixConfiguration, mixconfig.MixConfig.m_startPanel, mixconfig.MixConfig.MSG_CONFIG_FILE_NOT_FOUND, mixconfig.MixConfig.MSG_COULD_NOT_INITIALISE, mixconfig.MixConfig.setCurrentFilename(), mixconfig.ChoicePanel.setExpertVisible(), mixconfig.ChoicePanel.setMessageTitle(), mixconfig.MixConfiguration.setSavedToFile(), and mixconfig.MixConfig.usage().
static void mixconfig.MixConfig.usage | ( | ) | [static] |
Displays a short help message about available command line options for this class.
Referenced by mixconfig.MixConfig.main().
void mixconfig.MixConfig.init | ( | ) |
static MixConfiguration mixconfig.MixConfig.getMixConfiguration | ( | ) | [static] |
Gets the Mix configuration that is currently being edited
References mixconfig.MixConfig.m_mixConfiguration.
static void mixconfig.MixConfig.setMixConfiguration | ( | MixConfiguration | a_mixConfiguration | ) | [static] |
Sets the Mix configuration to be edited
a_mixConfiguration | The new Mix configuration |
References mixconfig.MixConfig.m_mixConfiguration.
static void mixconfig.MixConfig.setCurrentFilename | ( | String | filename | ) | [static] |
Sets the filname of a saved or loaded file to a variable. You can read it out, using getCurrentFileName() eg. for setting the MessageTitle
filename | a file name |
References mixconfig.MixConfig.m_currentFileName.
Referenced by mixconfig.MixConfig.main().
static String mixconfig.MixConfig.getCurrentFileName | ( | ) | [static] |
Returns the path name of the currently edited config file.
References mixconfig.MixConfig.m_currentFileName.
static void mixconfig.MixConfig.info | ( | String | a_title, | |
String[] | a_message | |||
) | [static] |
Display an info message dialog
a_title | The title of the message dialog | |
a_message | The messages to be displayed. Each message will be displayed in a single line. |
static void mixconfig.MixConfig.info | ( | String | a_title, | |
String[] | a_message, | |||
boolean | a_bBlocking | |||
) | [static] |
References mixconfig.MixConfig.getMainWindow().
static void mixconfig.MixConfig.about | ( | ) | [static] |
static Frame mixconfig.MixConfig.getMainWindow | ( | ) | [static] |
static JFileChooser mixconfig.MixConfig.showFileDialog | ( | Component | a_component, | |
int | type, | |||
int | filter_type | |||
) | [static] |
type | int | |
filter_type | int |
References mixconfig.MixConfig.FILTER_B64_CER, mixconfig.MixConfig.FILTER_B64_P10, mixconfig.MixConfig.FILTER_B64_PFX, mixconfig.MixConfig.FILTER_CER, mixconfig.MixConfig.FILTER_P10, mixconfig.MixConfig.FILTER_PFX, mixconfig.MixConfig.FILTER_XML, mixconfig.MixConfig.m_fileCurrentDir, mixconfig.MixConfig.OPEN_MULTIPLE_DIALOG, and mixconfig.MixConfig.SAVE_DIALOG.
Referenced by mixconfig.MixConfig.openFile().
static byte [] mixconfig.MixConfig.openFile | ( | Component | a_component, | |
int | type | |||
) | [static] |
static void mixconfig.MixConfig.createMixOnCDConfiguration | ( | ) | throws Exception [static, private] |
final int mixconfig.MixConfig.SAVE_DIALOG = 1 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.OPEN_DIALOG = 2 [static] |
final int mixconfig.MixConfig.CHOOSE_DIR_DIALOG = 3 [static] |
final int mixconfig.MixConfig.OPEN_MULTIPLE_DIALOG = 4 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_ALL = 0 [static] |
final int mixconfig.MixConfig.FILTER_CER = 1 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_XML = 2 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_PFX = 4 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_B64_PFX = 8 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_B64_CER = 16 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_P10 = 32 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final int mixconfig.MixConfig.FILTER_B64_P10 = 64 [static] |
Referenced by mixconfig.MixConfig.showFileDialog().
final String mixconfig.MixConfig.VERSION = "00.05.015" [static] |
Referenced by mixconfig.MixConfig.about().
final String mixconfig.MixConfig.IMG_MAIN = MixConfig.class.getName() + "_icon.gif" [static, private] |
Referenced by mixconfig.MixConfig.about(), and mixconfig.MixConfig.main().
final String mixconfig.MixConfig.MSG_COULD_NOT_INITIALISE [static, private] |
Initial value:
MixConfig.class.getName() + "_couldNotInitialise"
Referenced by mixconfig.MixConfig.init(), and mixconfig.MixConfig.main().
final String mixconfig.MixConfig.MSG_CONFIG_FILE_NOT_FOUND [static, private] |
Initial value:
MixConfig.class.getName() + "_configFileNotFound"
Referenced by mixconfig.MixConfig.main().
final String mixconfig.MixConfig.MSG_ERROR_OPEN_FILE [static, private] |
Initial value:
MixConfig.class.getName() + "_errorOpenFile"
Referenced by mixconfig.MixConfig.openFile().
MixConfiguration mixconfig.MixConfig.m_mixConfiguration [static, private] |
The configuration object edited by this MixConfig
application.
Referenced by mixconfig.MixConfig.getMixConfiguration(), mixconfig.MixConfig.init(), mixconfig.MixConfig.main(), and mixconfig.MixConfig.setMixConfiguration().
JPanel mixconfig.MixConfig.m_mainPanel [static, protected] |
Referenced by mixconfig.MixConfig.init().
ChoicePanel mixconfig.MixConfig.m_startPanel [static, private] |
Referenced by mixconfig.MixConfig.init(), and mixconfig.MixConfig.main().
Frame mixconfig.MixConfig.m_MainWindow [static, private] |
Referenced by mixconfig.MixConfig.getMainWindow(), mixconfig.MixConfig.init(), and mixconfig.MixConfig.main().
File mixconfig.MixConfig.m_fileCurrentDir = new File(ClassUtil.getUserDir()) [static, private] |
Referenced by mixconfig.MixConfig.showFileDialog().
String mixconfig.MixConfig.m_currentFileName [static, private] |