fundamentals
Class Globals

java.lang.Object
  |
  +--fundamentals.Globals

public class Globals
extends java.lang.Object

A class for dealing with global properties in Elementa. Designed to instantiated on a per-use basis


Field Summary
static int BEFORE_END
          A constant indicating that the LEA program is finished
static int BEFORE_FINALIZE
          A constant indicating that the LEA program is ready to enter the FINALIZE segment
static int BEFORE_PREMISE
          A constant indicating that the LEA program is ready to enter the PREMISE segment
static int BEFORE_SOLUTION
          A constant indicating that the LEA program is ready to enter the SOLUTION segment
static int BEFORE_TARGET
          A constant indicating that the LEA program is ready to enter the TARGET segment
static int DANISH
           
static int ENGLISH
           
static int FINALIZE
          A constant indicating that the LEA program is in the FINALIZE segment
static int NUMBER_OF_SUBTYPES
           
static int PREAMBLE
          A constant indicating that the LEA program is in the PREAMBLE segment
static int PREMISE
          A constant indicating that the LEA program is in the PREMISE segment
static int SOLUTION
          A constant indicating that the LEA program is in the SOLUTION segment
static int TARGET
          A constant indicating that the LEA program is in the TARGET segment
 
Constructor Summary
Globals()
           
 
Method Summary
 void clearException()
           
 boolean defaultOperationsAllowed()
           
 boolean doubleSelectionsAllowed()
           
 void explainDanish(java.lang.String explanation)
           
 exceptions.UserException getStoredException()
           
 void ignore()
           
 void issue(exceptions.DesignException e)
           
 void issue(exceptions.UserException e)
           
 void report()
           
 void trigDefaultOperations()
           
 void trigDoubleSelections()
           
 void trigStore()
           
 boolean willStore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DANISH

public static final int DANISH
See Also:
Constant Field Values

ENGLISH

public static final int ENGLISH
See Also:
Constant Field Values

PREAMBLE

public static final int PREAMBLE
A constant indicating that the LEA program is in the PREAMBLE segment

See Also:
Constant Field Values

PREMISE

public static final int PREMISE
A constant indicating that the LEA program is in the PREMISE segment

See Also:
Constant Field Values

TARGET

public static final int TARGET
A constant indicating that the LEA program is in the TARGET segment

See Also:
Constant Field Values

SOLUTION

public static final int SOLUTION
A constant indicating that the LEA program is in the SOLUTION segment

See Also:
Constant Field Values

FINALIZE

public static final int FINALIZE
A constant indicating that the LEA program is in the FINALIZE segment

See Also:
Constant Field Values

BEFORE_PREMISE

public static final int BEFORE_PREMISE
A constant indicating that the LEA program is ready to enter the PREMISE segment

See Also:
Constant Field Values

BEFORE_TARGET

public static final int BEFORE_TARGET
A constant indicating that the LEA program is ready to enter the TARGET segment

See Also:
Constant Field Values

BEFORE_SOLUTION

public static final int BEFORE_SOLUTION
A constant indicating that the LEA program is ready to enter the SOLUTION segment

See Also:
Constant Field Values

BEFORE_FINALIZE

public static final int BEFORE_FINALIZE
A constant indicating that the LEA program is ready to enter the FINALIZE segment

See Also:
Constant Field Values

BEFORE_END

public static final int BEFORE_END
A constant indicating that the LEA program is finished

See Also:
Constant Field Values

NUMBER_OF_SUBTYPES

public static final int NUMBER_OF_SUBTYPES
See Also:
Constant Field Values
Constructor Detail

Globals

public Globals()
Method Detail

ignore

public void ignore()

report

public void report()

trigStore

public void trigStore()

willStore

public boolean willStore()

issue

public void issue(exceptions.UserException e)
           throws UserException
UserException

issue

public void issue(exceptions.DesignException e)
           throws DesignException
DesignException

clearException

public void clearException()

getStoredException

public exceptions.UserException getStoredException()

explainDanish

public void explainDanish(java.lang.String explanation)

doubleSelectionsAllowed

public boolean doubleSelectionsAllowed()

trigDoubleSelections

public void trigDoubleSelections()

defaultOperationsAllowed

public boolean defaultOperationsAllowed()

trigDefaultOperations

public void trigDefaultOperations()