org.problets.domain.state
Class Configuration

java.lang.Object
  extended by org.problets.domain.state.Configuration
All Implemented Interfaces:
java.lang.Cloneable

public class Configuration
extends java.lang.Object
implements java.lang.Cloneable


Field Summary
static java.lang.String aboutTutor
           
static boolean animateFeedback
           
static boolean bailout
           
static boolean currentCodeLined
           
static boolean currentCodeLineNumbered
           
static int currentFeedbackAmount
           
static boolean currentFeedbackFormatted
           
static boolean currentFeedbackLined
           
static int currentFeedbackType
           
static int currentLanguage
           
static int currentLogAmount
           
static boolean currentLogFormatted
           
static boolean currentLogLined
           
static int currentOpenStudentModel
           
static java.lang.String currentProblemSequence
           
static int currentReflection
           
static int currentStatistics
           
static int currentVisualization
           
static int dataRecording
           
static java.lang.String DBASE_SERVER
           
static java.lang.String DBASE_SERVLET
           
static boolean debug
           
static boolean diagnosis
           
static java.lang.String fontName
           
static int fontSize
           
static boolean isTimed
           
static int largeFontSize
           
static boolean newOutputInterface
           
static java.lang.String[] parameterList
           
static java.lang.String persistentStudentModel
           
static boolean showLog
           
static int showMenus
           
static boolean showStats
           
static boolean showTimer
           
static java.lang.String stringFeedbackAmount
           
static java.lang.String stringProblemSequence
           
static int timeLimit
           
static int timeStepSize
           
 
Constructor Summary
Configuration()
          Saves the values of the static data members in local variables
 
Method Summary
 java.lang.Object clone()
           
 void commitChanges()
          Assigns to the static data member currentXY from the local data member savedXY
static int getLanguageConstant(java.lang.String language)
          Given a string, returns the corresponding language constant.
 java.lang.String getStatus()
           
static int parseDataRecording(java.lang.String input)
          Method to translate string into corresponding constant for data Recording option
 void print()
           
 void update(java.lang.String[] valueList)
          Method used by SessionManager to configure the applet based on parameters in the html page
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

aboutTutor

public static final java.lang.String aboutTutor
See Also:
Constant Field Values

currentProblemSequence

public static java.lang.String currentProblemSequence

stringProblemSequence

public static final java.lang.String stringProblemSequence
See Also:
Constant Field Values

currentFeedbackType

public static int currentFeedbackType

currentFeedbackAmount

public static int currentFeedbackAmount

stringFeedbackAmount

public static final java.lang.String stringFeedbackAmount
See Also:
Constant Field Values

animateFeedback

public static boolean animateFeedback

showStats

public static boolean showStats

currentStatistics

public static int currentStatistics

isTimed

public static boolean isTimed

timeLimit

public static int timeLimit

timeStepSize

public static int timeStepSize

showTimer

public static boolean showTimer

showLog

public static boolean showLog

currentLogAmount

public static int currentLogAmount

currentCodeLined

public static boolean currentCodeLined

currentCodeLineNumbered

public static boolean currentCodeLineNumbered

currentFeedbackLined

public static boolean currentFeedbackLined

currentFeedbackFormatted

public static boolean currentFeedbackFormatted

currentLogLined

public static boolean currentLogLined

currentLogFormatted

public static boolean currentLogFormatted

showMenus

public static int showMenus

dataRecording

public static int dataRecording

currentLanguage

public static int currentLanguage

currentReflection

public static int currentReflection

fontName

public static java.lang.String fontName

fontSize

public static final int fontSize
See Also:
Constant Field Values

largeFontSize

public static final int largeFontSize
See Also:
Constant Field Values

DBASE_SERVER

public static final java.lang.String DBASE_SERVER
See Also:
Constant Field Values

DBASE_SERVLET

public static final java.lang.String DBASE_SERVLET
See Also:
Constant Field Values

debug

public static boolean debug

bailout

public static boolean bailout

diagnosis

public static boolean diagnosis

currentVisualization

public static int currentVisualization

persistentStudentModel

public static java.lang.String persistentStudentModel

currentOpenStudentModel

public static int currentOpenStudentModel

newOutputInterface

public static final boolean newOutputInterface
See Also:
Constant Field Values

parameterList

public static final java.lang.String[] parameterList
Constructor Detail

Configuration

public Configuration()
Saves the values of the static data members in local variables

Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

getLanguageConstant

public static int getLanguageConstant(java.lang.String language)
Given a string, returns the corresponding language constant. If string is not a valid language, returns -1. Cannot define this in Constants.java. which is an interface.


update

public void update(java.lang.String[] valueList)
Method used by SessionManager to configure the applet based on parameters in the html page


parseDataRecording

public static int parseDataRecording(java.lang.String input)
Method to translate string into corresponding constant for data Recording option


commitChanges

public void commitChanges()
Assigns to the static data member currentXY from the local data member savedXY


getStatus

public java.lang.String getStatus()

print

public void print()