org.primordion.xholon.app
Class Xhn

java.lang.Object
  extended byorg.primordion.xholon.app.Xhn

public class Xhn
extends java.lang.Object

Xholon launcher.

Since:
0.3 (Created on December 19, 2005)
Author:
Ken Webb

Field Summary
static java.lang.String modelFileSuffix
           
 
Constructor Summary
Xhn()
          Constructor.
 
Method Summary
 void launch(java.lang.String[] args, java.lang.String title)
          Parse the input arguments, and launch with or without a GUI.
 void launchGui(java.lang.String modelName, java.lang.String title)
          Start the GUI, and optionally load a model.
 void launchNogui(java.lang.String modelName)
          Execute a model without the GUI.
static void main(java.lang.String[] args)
          main
 void usage()
          Show usage.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelFileSuffix

public static final java.lang.String modelFileSuffix
See Also:
Constant Field Values
Constructor Detail

Xhn

public Xhn()
Constructor.

Method Detail

launch

public void launch(java.lang.String[] args,
                   java.lang.String title)
Parse the input arguments, and launch with or without a GUI.

Parameters:
args - Two optional command line arguments.
title - A title, such as at the top of the GUI window.

launchGui

public void launchGui(java.lang.String modelName,
                      java.lang.String title)
Start the GUI, and optionally load a model.

Parameters:
modelName - The name of a model to load (ex: HelloWorld_xhn.xml), or null.

launchNogui

public void launchNogui(java.lang.String modelName)
Execute a model without the GUI.

Parameters:
modelName - The name of a model to load (ex: HelloWorld_xhn.xml). This parameter cannot be null.

usage

public void usage()
Show usage.


main

public static void main(java.lang.String[] args)
main

Parameters:
args - Two optional command line arguments.