Constructor and Description |
---|
EEScreen(HostSession hostSession,
String fileName,
String screenName)
Creates a new EE screen for the current screen
in a host session.
|
EEScreen(String fn,
String name,
PhantomFile f,
int version)
Loads the EE screen containing the host screen definition and
the host fields.
|
Modifier and Type | Method and Description |
---|---|
Point |
getCursorPos()
Gets the initial cursor position.
|
String |
getFileName()
Gets the file name where this screen is store in.
|
int |
getHeight()
Gets the screen height.
|
String |
getName()
Gets this screen name.
|
void |
getScreenData(char[] chs,
int[] cas,
boolean isHiddenTextDisplayed)
Gets the screen data in HostScreen format.
|
int |
getScreenLength()
Gets the current screen length (width * height).
|
Dimension |
getScreenSize()
Gets the screen size.
|
int |
getWidth()
Gets the screen width.
|
boolean |
is3270()
Checks if this screen is 3270 (it is 5250 otherwise).
|
boolean |
isFieldFormatted()
Checks if this host screen is field formatted.
|
void |
refreshHostFields(HostFields fields)
Refreshes the host fields of the current session.
|
public EEScreen(String fn, String name, PhantomFile f, int version) throws IOException
IOException
- for file failures.public EEScreen(HostSession hostSession, String fileName, String screenName)
public String getName()
public String getFileName()
public boolean is3270()
public Dimension getScreenSize()
public int getScreenLength()
public int getWidth()
public int getHeight()
public Point getCursorPos()
public void getScreenData(char[] chs, int[] cas, boolean isHiddenTextDisplayed)
public boolean isFieldFormatted()
public void refreshHostFields(HostFields fields)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.