Package geomss.app
Class GeomSS
- java.lang.Object
-
- geomss.app.GeomSS
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.ResourceBundleRESBUNDLEThe 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 GeomSSGUIgetGUIApplication()Return a reference to this program's GUI application or null if we are running in batch mode.AppPreferencesgetPreferences()Return a reference to the user preferences for this application or null if no preferences class has been stored.java.util.ResourceBundlegetResourceBundle()Returns the resource bundle stored with this application.static voidmain(java.lang.String[] args)Entry point for this application.static voidrun_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:MainAppReturns the resource bundle stored with this application. If no resource bundle has been stored, then null is returned.- Specified by:
getResourceBundlein 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:MainAppReturn a reference to this program's GUI application or null if we are running in batch mode.- Specified by:
getGUIApplicationin 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:MainAppReturn a reference to the user preferences for this application or null if no preferences class has been stored.- Specified by:
getPreferencesin interfaceMainApp- Returns:
- a reference to the user preferences for this application.
-
-