Package geomss.app
Class GeomSS
- java.lang.Object
-
- geomss.app.GeomSS
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.ResourceBundle
RESBUNDLE
The resource bundle containing the string resources for this application.
-
Constructor Summary
Constructors Constructor Description GeomSS()
Constructor for our application that displays the GUI.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeomSSGUI
getGUIApplication()
Return a reference to this program's GUI application or null if we are running in batch mode.AppPreferences
getPreferences()
Return a reference to the user preferences for this application or null if no preferences class has been stored.java.util.ResourceBundle
getResourceBundle()
Returns the resource bundle stored with this application.static void
main(java.lang.String[] args)
Entry point for this application.static void
run_batch(java.lang.String[] args)
Runs the application in batch mode.
-
-
-
Field Detail
-
RESBUNDLE
public static final java.util.ResourceBundle RESBUNDLE
The resource bundle containing the string resources for this application. Resource bundles are useful for localizing applications. New localities (languages) can be added by adding properties files only -- no code modifications.
-
-
Constructor Detail
-
GeomSS
public GeomSS() throws java.lang.Exception
Constructor for our application that displays the GUI.- Throws:
java.lang.Exception
- if there is any problem starting the program.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Entry point for this application. This is where it starts up from.- Parameters:
args
- Command line arguments.
-
run_batch
public static void run_batch(java.lang.String[] args)
Runs the application in batch mode.- Parameters:
args
- Command line arguments
-
getResourceBundle
public final java.util.ResourceBundle getResourceBundle()
Description copied from interface:MainApp
Returns the resource bundle stored with this application. If no resource bundle has been stored, then null is returned.- Specified by:
getResourceBundle
in interfaceMainApp
- Returns:
- the resource bundle stored with this application. If no resource bundle has been stored, then null is returned.
-
getGUIApplication
public final GeomSSGUI getGUIApplication()
Description copied from interface:MainApp
Return a reference to this program's GUI application or null if we are running in batch mode.- Specified by:
getGUIApplication
in interfaceMainApp
- Returns:
- a reference to this program's GUI application or null if we are running in batch mode.
-
getPreferences
public final AppPreferences getPreferences()
Description copied from interface:MainApp
Return a reference to the user preferences for this application or null if no preferences class has been stored.- Specified by:
getPreferences
in interfaceMainApp
- Returns:
- a reference to the user preferences for this application.
-
-