|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcdox.CDox
The main class.
Field Summary | |
static Documentation |
documentation
This is the documentation for CDox, used to display the helpbrowser (amongst other things). |
static java.lang.String |
pluginsDir
This is the plugins directory. |
static java.lang.String |
prefixDir
This can be a prefix where to find the cdox.jar. |
static java.lang.String |
VERSION
The Version. |
Constructor Summary | |
CDox()
Inits the CDox. |
Method Summary | |
static java.lang.String[] |
askForLanguage()
Pops up a dialog and asks for a language to choose. |
static java.awt.Dimension |
getImageDimension()
This method returns the ideal height and size for this screen resolution. |
static Localizer |
getLocalizer()
Gets the Localizer for this application. |
static void |
main(java.lang.String[] args)
Run me. |
static void |
printUsage()
Prints out usage information (possible command line arguments) on stdout and exits. |
static void |
restartCDox()
Shuts the current running CDox down and starts a new one, re-reading the configuration and those things. |
void |
setProgress(int val,
java.lang.String prog)
This method sets the current progress it is called from the CDoxFrame constructor. |
void |
start()
It's here where the application starts. |
int |
stop()
This method should be invoked when CDox is stopped/restarted. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static Documentation documentation
public static final java.lang.String VERSION
public static java.lang.String prefixDir
public static java.lang.String pluginsDir
Constructor Detail |
public CDox()
Method Detail |
public static Localizer getLocalizer()
public static java.lang.String[] askForLanguage()
public void start()
public int stop()
int
value indicating the JOptionPane option chosen.public void setProgress(int val, java.lang.String prog)
val
- the progress value in procents,prog
- the progress String to draw on the splash screen.public static java.awt.Dimension getImageDimension()
public static void restartCDox()
public static void printUsage()
public static void main(java.lang.String[] args) throws java.io.IOException
args
- the arguments.
java.io.IOException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |