Package com.iizix.term.ee
Class EELogic
- java.lang.Object
- com.iizix.term.ee.EELogic
public class EELogic extends java.lang.Object
Loads and handles a step of logic of the EEMaster file.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCompare()
The string to compare with.java.lang.String
getConditionPosition(int cColumns)
Gets the cursor position string as "rROW cCOL", empty string if position = 0.int
getKey()
The key to send.java.lang.String
getNextScreen()
The destination screen, if this statement matches.int
getPos()
The position where the comparison should be done.java.lang.String
getScreen()
The name of the initial screen.void
setCompare(java.lang.String newCompare)
The string to compare with.void
setKey(int newKey)
The key to send.void
setNextScreen(java.lang.String newNextScreen)
The destination screen, if this statement matches.void
setPos(int newPos)
The position where the comparison should be done.void
setScreen(java.lang.String newScreen)
The name of the initial screen.
Constructor Detail
EELogic
public EELogic(java.lang.String newScreen, int newKey, int newPos, java.lang.String newCompare, java.lang.String newNextScreen)
Constructor.
EELogic
public EELogic(XFile f, int version) throws java.io.IOException
Loads a step of logic from the EEM file.- Throws:
java.io.IOException
- for file failures.
Method Detail
getScreen
public java.lang.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 java.lang.String getConditionPosition(int cColumns)
Gets the cursor position string as "rROW cCOL", empty string if position = 0.
getCompare
public java.lang.String getCompare()
The string to compare with.
getNextScreen
public java.lang.String getNextScreen()
The destination screen, if this statement matches.
setScreen
public void setScreen(java.lang.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(java.lang.String newCompare)
The string to compare with.
setNextScreen
public void setNextScreen(java.lang.String newNextScreen)
The destination screen, if this statement matches.