mixconfig.MixConfig Class Reference

Inherits javax::swing::JApplet.

List of all members.

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


Member Function Documentation

mixconfig.MixConfig.[static initializer] (  )  [static, package]

static void mixconfig.MixConfig.main ( String[]  argv  )  [static]

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

Returns:
The current Mix configuration

References mixconfig.MixConfig.m_mixConfiguration.

static void mixconfig.MixConfig.setMixConfiguration ( MixConfiguration  a_mixConfiguration  )  [static]

Sets the Mix configuration to be edited

Parameters:
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

Parameters:
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.

Returns:
the file name of the currently edited configuration

References mixconfig.MixConfig.m_currentFileName.

static void mixconfig.MixConfig.info ( String  a_title,
String[]  a_message 
) [static]

Display an info message dialog

Parameters:
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]

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]

static byte [] mixconfig.MixConfig.openFile ( Component  a_component,
int  type 
) [static]

static void mixconfig.MixConfig.createMixOnCDConfiguration (  )  throws Exception [static, private]


Member Data Documentation

final int mixconfig.MixConfig.SAVE_DIALOG = 1 [static]

final int mixconfig.MixConfig.OPEN_DIALOG = 2 [static]

final int mixconfig.MixConfig.CHOOSE_DIR_DIALOG = 3 [static]

final int mixconfig.MixConfig.FILTER_ALL = 0 [static]

final int mixconfig.MixConfig.FILTER_CER = 1 [static]

final int mixconfig.MixConfig.FILTER_XML = 2 [static]

final int mixconfig.MixConfig.FILTER_PFX = 4 [static]

final int mixconfig.MixConfig.FILTER_B64_PFX = 8 [static]

final int mixconfig.MixConfig.FILTER_B64_CER = 16 [static]

final int mixconfig.MixConfig.FILTER_P10 = 32 [static]

final int mixconfig.MixConfig.FILTER_B64_P10 = 64 [static]

final String mixconfig.MixConfig.VERSION = "00.05.015" [static]

final String mixconfig.MixConfig.IMG_MAIN = MixConfig.class.getName() + "_icon.gif" [static, private]

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().

JPanel mixconfig.MixConfig.m_mainPanel [static, protected]

Frame mixconfig.MixConfig.m_MainWindow [static, private]

File mixconfig.MixConfig.m_fileCurrentDir = new File(ClassUtil.getUserDir()) [static, private]

String mixconfig.MixConfig.m_currentFileName [static, private]


The documentation for this class was generated from the following file:

Generated on Mon Nov 16 23:24:47 2009 for MixConfig by  doxygen 1.5.6