Modifier and Type | Field and Description |
---|---|
boolean |
doNewMessageAfterSendKey
Flag causes a new message after each send key.
|
boolean |
doTranslate
Flag to use translation table before displaying the message.
|
boolean |
doUpdate
Flag to update message box with new data for each host change.
|
PhantomHostField |
hostField
The host field (may be null if the panel doesn't have a screen name).
|
String |
hostFieldName
The host field name.
|
int |
icon
The selected icon in (client format, defined in NetPhantomConstants).
|
static int |
ICON_CRITICAL
Critical icon.
|
static int |
ICON_INFORMATION
Information icon.
|
static int |
ICON_WARNING
Warning icon.
|
boolean |
is5250SystemMessage
This flag indicates it is a host field that only displays
information during the 5250 error state.
|
PhantomObject |
object
The connected object.
|
String |
objectName
The name of the connected object.
|
Constructor and Description |
---|
PhantomMessageBox(PhantomFile file,
PhantomPanelData panel)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Checks if two message boxes are equal.
|
void |
load(PhantomFile file,
PhantomPanelData panel)
Loads the message box definition from the Phantom Panel file.
|
void |
save(PhantomOutputFile file)
Saves the message box definition to the Phantom Panel file.
|
void |
updateReferences(ApplicationReferences refs)
Updates the Applications References instance.
|
public static final int ICON_INFORMATION
public static final int ICON_WARNING
public static final int ICON_CRITICAL
public int icon
public String hostFieldName
public PhantomHostField hostField
public boolean doUpdate
public boolean doTranslate
public boolean doNewMessageAfterSendKey
public boolean is5250SystemMessage
public String objectName
public PhantomObject object
public PhantomMessageBox(PhantomFile file, PhantomPanelData panel) throws IOException
IOException
public void load(PhantomFile file, PhantomPanelData panel) throws IOException
Base: + icon BYTE + hostField BYTE [9] + reserved BYTE [4] + doUpdate BYTE + doTranslate BYTE + doNewMessageAfterSendKey BYTE + is5250SystemMessage BYTE + object BYTE [9] + reserved BYTE [3]
IOException
- if an I/O error occurs.public void save(PhantomOutputFile file) throws IOException
Base: + icon BYTE + hostField BYTE [9] + reserved BYTE [4] + doUpdate BYTE + doTranslate BYTE + doNewMessageAfterSendKey BYTE + is5250SystemMessage BYTE + object BYTE [9] + reserved BYTE [3]
file
- the open file to write to.IOException
- if an I/O error occurs.public void updateReferences(ApplicationReferences refs)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.