Class TraceccController

java.lang.Object
  extended by TraceccController

public class TraceccController
extends java.lang.Object

Control the options provided to tracecc


Field Summary
static java.lang.String[] allArgs
          The allArgs aray provides string fragments used to construct tracecc command lines.
protected  int boxWidth
           
protected  boolean checkTimes
           
static java.lang.String[] cmdToReadOptions
           
protected  boolean cppComments
           
protected  java.lang.String cwd
          The current working directory
protected  int ideStyle
           
static java.lang.String[] ideStyleNames
           
static java.lang.String[] ideStyles
           
protected  boolean isDebStdout
           
protected  boolean isDebTrace
           
protected  boolean isDebugging
           
protected  boolean lineNumbers
           
protected  boolean logAlways
           
static java.lang.String[] pk
           
protected  boolean timeStamp
           
 
Constructor Summary
TraceccController()
           
 
Method Summary
 void correct_controller()
           
 int getBoxWidth()
           
 boolean getCheckTimes()
           
 boolean getCppComments()
           
 java.lang.String getCwd()
          Retrieve the current working directory.
 boolean getDebStdout()
           
 boolean getDebTrace()
           
 boolean getDebugging()
           
 int getIdeStyle()
           
 boolean getLineNumbers()
           
 boolean getLogAlways()
           
 boolean getTimeStamp()
           
 void initialize()
          Initialize controller.
 dirk_krause.jtools.LogContentsForCommand restoreOptions()
           
 dirk_krause.jtools.LogContentsForCommand runTheProgram()
           
 dirk_krause.jtools.LogContentsForCommand saveOptions()
           
 void setBoxWidth(int i)
           
 void setCheckTimes(boolean b)
           
 void setCppComments(boolean b)
           
 void setCwd(java.lang.String s)
          Set current working directory.
 void setDebStdout(boolean b)
           
 void setDebTrace(boolean b)
           
 void setDebugging(boolean b)
           
 void setIdeStyle(int i)
           
 void setLineNumbers(boolean b)
           
 void setLogAlways(boolean b)
           
 void setTimeStamp(boolean b)
           
 void writeCwd()
          Write current working directory to preferences.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allArgs

public static final java.lang.String[] allArgs
The allArgs aray provides string fragments used to construct tracecc command lines.


cmdToReadOptions

public static final java.lang.String[] cmdToReadOptions

ideStyles

public static final java.lang.String[] ideStyles

ideStyleNames

public static final java.lang.String[] ideStyleNames

pk

public static final java.lang.String[] pk

cwd

protected java.lang.String cwd
The current working directory


isDebugging

protected boolean isDebugging

isDebStdout

protected boolean isDebStdout

isDebTrace

protected boolean isDebTrace

checkTimes

protected boolean checkTimes

lineNumbers

protected boolean lineNumbers

cppComments

protected boolean cppComments

timeStamp

protected boolean timeStamp

logAlways

protected boolean logAlways

ideStyle

protected int ideStyle

boxWidth

protected int boxWidth
Constructor Detail

TraceccController

public TraceccController()
Method Detail

getDebugging

public boolean getDebugging()

setDebugging

public void setDebugging(boolean b)

getDebStdout

public boolean getDebStdout()

setDebStdout

public void setDebStdout(boolean b)

getDebTrace

public boolean getDebTrace()

setDebTrace

public void setDebTrace(boolean b)

getCheckTimes

public boolean getCheckTimes()

setCheckTimes

public void setCheckTimes(boolean b)

getLineNumbers

public boolean getLineNumbers()

setLineNumbers

public void setLineNumbers(boolean b)

getCppComments

public boolean getCppComments()

setCppComments

public void setCppComments(boolean b)

getTimeStamp

public boolean getTimeStamp()

setTimeStamp

public void setTimeStamp(boolean b)

getIdeStyle

public int getIdeStyle()

setIdeStyle

public void setIdeStyle(int i)

getBoxWidth

public int getBoxWidth()

setBoxWidth

public void setBoxWidth(int i)

getLogAlways

public boolean getLogAlways()

setLogAlways

public void setLogAlways(boolean b)

getCwd

public java.lang.String getCwd()
Retrieve the current working directory.

Returns:
The directory.

setCwd

public void setCwd(java.lang.String s)
Set current working directory.

Parameters:
s - The new current directory

writeCwd

public void writeCwd()
Write current working directory to preferences.


correct_controller

public void correct_controller()

initialize

public void initialize()
Initialize controller.


restoreOptions

public dirk_krause.jtools.LogContentsForCommand restoreOptions()

saveOptions

public dirk_krause.jtools.LogContentsForCommand saveOptions()

runTheProgram

public dirk_krause.jtools.LogContentsForCommand runTheProgram()