Class EELogic

java.lang.Object
com.iizix.term.ee.EELogic

public class EELogic extends Object
Loads and handles a step of logic of the EEMaster file.
Author:
Christopher Mindus
  • Constructor Details

    • EELogic

      public EELogic(String newScreen, int newKey, int newPos, String newCompare, String newNextScreen)
      Constructor.
    • EELogic

      public EELogic(XFile f, int version) throws IOException
      Loads a step of logic from the EEM file.
      Throws:
      IOException - for file failures.
  • Method Details

    • getScreen

      public String getScreen()
      The name of the initial screen.
    • getKey

      public int getKey()
      The key to send.
    • getPos

      public int getPos()
      The position where the comparison should be done.
    • getConditionPosition

      public String getConditionPosition(int cColumns)
      Gets the cursor position string as "rROW cCOL", empty string if position = 0.
    • getCompare

      public String getCompare()
      The string to compare with.
    • getNextScreen

      public String getNextScreen()
      The destination screen, if this statement matches.
    • setScreen

      public void setScreen(String newScreen)
      The name of the initial screen.
    • setKey

      public void setKey(int newKey)
      The key to send.
    • setPos

      public void setPos(int newPos)
      The position where the comparison should be done.
    • setCompare

      public void setCompare(String newCompare)
      The string to compare with.
    • setNextScreen

      public void setNextScreen(String newNextScreen)
      The destination screen, if this statement matches.