gov.sandia.ccaffeine.dc.user_iface.gui
Class Args

java.lang.Object
  extended by gov.sandia.ccaffeine.dc.user_iface.gui.Args

public class Args
extends java.lang.Object

Simple argument class for the Builders. Not all arguments make sense in all contexts.


Field Summary
 java.lang.String argv0
          String that indicates the 0th argument of the command line (not provided by Java)
 java.awt.Color bgcolor
           
 int builderPort
          Port for the BuilderClient to connect to.
static int DEFAULTBUILDERPORT
           
 java.lang.String fileName
          A previously saved .bld file that will be loaded at start-up.
 java.lang.String hostName
          Remote host for connecting.
 double scaleFont
          double that indicates the scaling for the font in the GUI.
 boolean serverIsPython
           
 boolean tutorialMode
           
 
Constructor Summary
Args()
           
Args(java.lang.String argv0)
           
Args(java.lang.String argv0, java.lang.String[] s)
          Create an Args with the String array argument; parseArgs does not need to be called
 
Method Summary
 void parseArgs(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULTBUILDERPORT

public static final int DEFAULTBUILDERPORT
See Also:
Constant Field Values

builderPort

public int builderPort
Port for the BuilderClient to connect to.


hostName

public java.lang.String hostName
Remote host for connecting.


fileName

public java.lang.String fileName
A previously saved .bld file that will be loaded at start-up. Null indicates there is no initial file.


argv0

public java.lang.String argv0
String that indicates the 0th argument of the command line (not provided by Java)


serverIsPython

public boolean serverIsPython

scaleFont

public double scaleFont
double that indicates the scaling for the font in the GUI.


bgcolor

public java.awt.Color bgcolor

tutorialMode

public boolean tutorialMode
Constructor Detail

Args

public Args()

Args

public Args(java.lang.String argv0)

Args

public Args(java.lang.String argv0,
            java.lang.String[] s)
Create an Args with the String array argument; parseArgs does not need to be called

Method Detail

parseArgs

public void parseArgs(java.lang.String[] args)