public class EEMaster extends Object
Modifier and Type | Class and Description |
---|---|
class |
EEMaster.EEField
Loads the EE field from the EE screen file.
|
class |
EEMaster.EEFile
Loads the EE file.
|
class |
EEMaster.EELogic
Loads and handles a step of logic of the EEMaster file.
|
class |
EEMaster.EERuntime
Handles all logic assigned to a EE(M) file in a "live" session.
|
class |
EEMaster.EEScreen
Loads the EE screen from the EE file.
|
Modifier and Type | Field and Description |
---|---|
static int |
K_ATTENTION |
static int |
K_BACKSPACE |
static int |
K_BACKWARDWORDTAB |
static int |
K_BLUE |
static int |
K_CAPSLOCK |
static int |
K_CLEAR |
static int |
K_CMDKEY |
static int |
K_CURSORDOWNFAST |
static int |
K_CURSORLEFTFAST |
static int |
K_CURSORRIGHTFAST |
static int |
K_CURSORSELECT |
static int |
K_CURSORUPFAST |
static int |
K_DBCS |
static int |
K_DELETE |
static int |
K_DESTRUCTBACKSPACE |
static int |
K_DEVICECANCEL |
static int |
K_DOWN |
static int |
K_EEOF |
static int |
K_END |
static int |
K_ENTER |
static int |
K_ERASEINPUT |
static int |
K_FIELDEXIT |
static int |
K_FIELDMINUS |
static int |
K_FIELDPLUS |
static int |
K_FORWARWORDTAB |
static int |
K_GETCURSOR |
static int |
K_GOTOSESS1 |
static int |
K_GOTOSESS2 |
static int |
K_GOTOSESS3 |
static int |
K_GOTOSESS4 |
static int |
K_GOTOSESS5 |
static int |
K_GREEN |
static int |
K_HELP |
static int |
K_HEXADECIMAL |
static int |
K_HOME |
static int |
K_INSERT |
static int |
K_INSERTTOGGLE |
static int |
K_JUMP |
static int |
K_LEFT |
static int |
K_LEFTTAB |
static int |
K_LOCATECURSOR |
static int |
K_NEWLINE |
static int |
K_NUMLOCK |
static int |
K_OVERRUNQUEUE |
static int |
K_PA1 |
static int |
K_PA2 |
static int |
K_PA3 |
static int |
K_PCPRINT |
static int |
K_PF1 |
static int |
K_PF10 |
static int |
K_PF11 |
static int |
K_PF12 |
static int |
K_PF13 |
static int |
K_PF14 |
static int |
K_PF15 |
static int |
K_PF16 |
static int |
K_PF17 |
static int |
K_PF18 |
static int |
K_PF19 |
static int |
K_PF2 |
static int |
K_PF20 |
static int |
K_PF21 |
static int |
K_PF22 |
static int |
K_PF23 |
static int |
K_PF24 |
static int |
K_PF3 |
static int |
K_PF4 |
static int |
K_PF5 |
static int |
K_PF6 |
static int |
K_PF7 |
static int |
K_PF8 |
static int |
K_PF9 |
static int |
K_PGDOWN |
static int |
K_PGUP |
static int |
K_PINK |
static int |
K_PLUSKEY |
static int |
K_PMALTCURSOR |
static int |
K_PRINT |
static int |
K_PRINTPS |
static int |
K_RECORDBACKSPCE |
static int |
K_RED |
static int |
K_RESET |
static int |
K_RESETHOSTCOLORS |
static int |
K_RESETREVVIDEO |
static int |
K_REVERSEVIDEO |
static int |
K_RIGHT |
static int |
K_RIGHTTAB |
static int |
K_SCRLK |
static int |
K_SPACE |
static int |
K_SYSTEMREQUEST |
static int |
K_TEST |
static int |
K_TURQUOISE |
static int |
K_UNDERSCORE |
static int |
K_UP |
static int |
K_WHITE |
static int |
K_WORDDELETE |
static int |
K_YELLOW |
Constructor and Description |
---|
EEMaster()
Constructor used when catching an EE file.
|
Modifier and Type | Method and Description |
---|---|
void |
addScreen(EEMaster.EEScreen screen)
Adds a new EEScreen to the table.
|
static boolean |
catchScreenAsEE(HostSession hostSession,
String fileName,
String screenName,
boolean doAppend)
Catch a screen as EE.
|
static boolean |
createNewEEMFile(String newFileName)
Create a new, empty EEM file.
|
Enumeration<EEMaster.EEScreen> |
getAllScreens()
Gets all the screens.
|
int |
getDelay()
Gets the delay defined for the EEM file.
|
static EEMaster |
getEEMaster(String fn)
Creates a shared instance.
|
EEMaster.EEScreen |
getFirstScreen()
Gets the first screen.
|
int |
getFlags()
Gets the flags defined for the EEM file.
|
EEMaster.EEScreen |
getInitialScreen()
Gets the initial EE screen.
|
EEMaster.EEScreen |
getLastScreen()
Gets the last screen.
|
EEMaster.EELogic[] |
getLogic()
Gets the logic statements for the EEM file.
|
EEMaster.EEScreen |
getPreviousNextScreen(EEMaster.EEScreen current,
int dir)
Gets the previous or next screen.
|
EEMaster.EEScreen |
getScreen(String name)
Gets the EE screen from a name.
|
void |
setDelay(int newDelay)
Sets the delay defined for the EEM file.
|
void |
setEEFileNames(String[] newNames)
Sets the EE file names array defined for the EEM file.
|
void |
setFileName(String newName)
Sets the name of the EEM file.
|
void |
setFlags(int newFlags)
Sets the delay defined for the EEM file.
|
void |
setInitialScreen(int newScreen)
Sets the initial screen defined for the EEM file.
|
void |
setLogic(EEMaster.EELogic[] newLogic)
Sets the logic statements for the EEM file.
|
void |
setUnSaved(boolean newState)
Sets the unSaved member to indicate if the instance is written ot file yet.
|
boolean |
write()
Write the content of the instance to a file.
|
public static final int K_LEFTTAB
public static final int K_CLEAR
public static final int K_DELETE
public static final int K_ENTER
public static final int K_EEOF
public static final int K_HELP
public static final int K_INSERT
public static final int K_JUMP
public static final int K_LEFT
public static final int K_NEWLINE
public static final int K_SPACE
public static final int K_PRINT
public static final int K_RESET
public static final int K_RIGHTTAB
public static final int K_UP
public static final int K_DOWN
public static final int K_DBCS
public static final int K_CAPSLOCK
public static final int K_RIGHT
public static final int K_HOME
public static final int K_PF1
public static final int K_PF2
public static final int K_PF3
public static final int K_PF4
public static final int K_PF5
public static final int K_PF6
public static final int K_PF7
public static final int K_PF8
public static final int K_PF9
public static final int K_PF10
public static final int K_PF11
public static final int K_PF12
public static final int K_PF13
public static final int K_PF14
public static final int K_PF15
public static final int K_PF16
public static final int K_PF17
public static final int K_PF18
public static final int K_PF19
public static final int K_PF20
public static final int K_PF21
public static final int K_PF22
public static final int K_PF23
public static final int K_PF24
public static final int K_PLUSKEY
public static final int K_END
public static final int K_SCRLK
public static final int K_NUMLOCK
public static final int K_PGUP
public static final int K_PGDOWN
public static final int K_PA1
public static final int K_PA2
public static final int K_PA3
public static final int K_TEST
public static final int K_WORDDELETE
public static final int K_FIELDEXIT
public static final int K_ERASEINPUT
public static final int K_SYSTEMREQUEST
public static final int K_INSERTTOGGLE
public static final int K_CURSORSELECT
public static final int K_CURSORLEFTFAST
public static final int K_GETCURSOR
public static final int K_LOCATECURSOR
public static final int K_ATTENTION
public static final int K_DEVICECANCEL
public static final int K_PRINTPS
public static final int K_CURSORUPFAST
public static final int K_CURSORDOWNFAST
public static final int K_HEXADECIMAL
public static final int K_CMDKEY
public static final int K_CURSORRIGHTFAST
public static final int K_UNDERSCORE
public static final int K_RESETREVVIDEO
public static final int K_RED
public static final int K_PINK
public static final int K_GREEN
public static final int K_YELLOW
public static final int K_BLUE
public static final int K_TURQUOISE
public static final int K_WHITE
public static final int K_RESETHOSTCOLORS
public static final int K_GOTOSESS1
public static final int K_GOTOSESS2
public static final int K_GOTOSESS3
public static final int K_GOTOSESS4
public static final int K_GOTOSESS5
public static final int K_PCPRINT
public static final int K_FORWARWORDTAB
public static final int K_BACKWARDWORDTAB
public static final int K_FIELDMINUS
public static final int K_FIELDPLUS
public static final int K_RECORDBACKSPCE
public static final int K_OVERRUNQUEUE
public static final int K_PMALTCURSOR
public static final int K_BACKSPACE
public static final int K_REVERSEVIDEO
public static final int K_DESTRUCTBACKSPACE
public static EEMaster getEEMaster(String fn) throws IOException
IOException
- for file failures.public static boolean catchScreenAsEE(HostSession hostSession, String fileName, String screenName, boolean doAppend) throws IOException
The screen name must be 1 through 20 characters long using the default ASCII (OEM) character set, otherwise an IOException is thrown.
The flag "doAppend" indicates if the screen name should be appended to the file name specified. If the file exists prior to calling this method with "doAppend=false", the file is overwritten.
IOException
- for file errors.public final void setFileName(String newName)
public final void setUnSaved(boolean newState)
public final void setEEFileNames(String[] newNames) throws IOException
IOException
public final void setInitialScreen(int newScreen)
public final int getFlags()
public final void setFlags(int newFlags)
public final int getDelay()
public final void setDelay(int newDelay)
public final void setLogic(EEMaster.EELogic[] newLogic)
public static boolean createNewEEMFile(String newFileName) throws IOException
IOException
public final boolean write() throws IOException
IOException
public void addScreen(EEMaster.EEScreen screen)
public EEMaster.EEScreen getInitialScreen()
public EEMaster.EEScreen getScreen(String name)
public Enumeration<EEMaster.EEScreen> getAllScreens()
public EEMaster.EEScreen getFirstScreen()
public EEMaster.EEScreen getLastScreen()
public EEMaster.EEScreen getPreviousNextScreen(EEMaster.EEScreen current, int dir)
dir
- direction to move, set to -1 for previous or 1 for next.public final EEMaster.EELogic[] getLogic()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.