public class GofListContMarkIdentifier extends GofControlIdentifierAdapter
templPanel
GOF_GUIUNITX, GOF_GUIUNITY, GOF_MARGINX, GOF_MARGINY, GOF_OFFSETX, GOF_OFFSETY, GOF_STEPX, GOF_STEPY
Constructor and Description |
---|
GofListContMarkIdentifier() |
Modifier and Type | Method and Description |
---|---|
void |
getControlSettings(IniFile confFile,
String subsection)
Loads setting for the control from the server ini-file.
|
void |
identifyCtrls(GuiOnTheFlyRuntime gofRuntime,
GofHostAreaIdentifier areaIdentifier,
PhantomHostScreen phantomHostScreen,
HostScreen hostScreen,
PhantomPanelData templPanel,
PhantomPanelData newPanel,
int offsetX,
int offsetY)
Tries to find a list continuation mark in the area's
GofHostFields . |
getVirtualSessionManager, identifyCtrls
public void getControlSettings(IniFile confFile, String subsection)
This class needs to settings from the configuration file. The first setting, called listcontmark, is used to specify the texts that are valid continuation marks. A typcal example would be like the one below:
listcontmark=+,More,MORE
The second setting, called listcontpos
, is used to specify from
which column to start search for the continuation mark. This can either be the
real column, or a column relative to the right side. In the later case it is
specified as a negative value.
listcontpos=-13In this example the search for the continuation mark would only be done in the last 13 columns.
getControlSettings
in interface GofControlIdentifier
getControlSettings
in class GofControlIdentifierAdapter
confFile
- The server ini file.subsection
- The name of the GOF subsection that we are currently loading settings from.public void identifyCtrls(GuiOnTheFlyRuntime gofRuntime, GofHostAreaIdentifier areaIdentifier, PhantomHostScreen phantomHostScreen, HostScreen hostScreen, PhantomPanelData templPanel, PhantomPanelData newPanel, int offsetX, int offsetY)
GofHostFields
.
A list continuation mark is mark used by the AS/400 as mark at the end of subfile that is displayed to inform the user if there are more list pages in the subfile. Typical list continuation marks are:
+ (plus sign, created with the Display File option *PLUS) More (created with the Display File option *MORE) Bottom (created with the Display File option *MORE)If a continuation mark is found, a flag is set to mark this, and the line on which the mark was found is saved as the last line for the list.
If a continuation mark has been found, the search will be terminated.
gofRuntime
- The GuiOnTheFlyRuntime instance.areaIdentifier
- The areaIdentifier in which the entry fields should be identified..phantomHostScreen
- The Phantom host screen corresponding to the host screen.hostScreen
- The host screen that we are trying to build a GOF panel for.newPanel
- The newly created Gui-on-the-fly runtime panel.offsetX
- The offset in columns for popup window.offsetY
- The offset in lines for popup window.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.