public interface GofControlIdentifier
Each of the classes implementing this interface can load their own settings from the configuration file.
The class implementing this interface must have a default constructor, without any parameters, since it will be created dynamically from the class name.
Modifier and Type | Field and Description |
---|---|
static int |
GOF_GUIUNITX
The unit for Gui-on-the-fly for GUI control positioning in X.
|
static int |
GOF_GUIUNITY
The unit for Gui-on-the-fly for GUI control positioning in Y.
|
static int |
GOF_MARGINX
The margin for Gui-on-the-fly panels on the left and right side.
|
static int |
GOF_MARGINY
The margin for Gui-on-the-fly panels at the top and bottom.
|
static int |
GOF_OFFSETX
How much can be offset before overlapping another field that is also offset in X.
|
static int |
GOF_OFFSETY
How much can be offset before overlapping another field that is also offset in Y.
|
static int |
GOF_STEPX
The inter-line spacing for Gui-on-the-fly controls in X.
|
static int |
GOF_STEPY
The inter-line spacing for Gui-on-the-fly controls in Y.
|
Modifier and Type | Method and Description |
---|---|
void |
getControlSettings(IniFile confFile,
String subsection)
This method should read all the settings needed by the control identifier from the
configuration file.
|
void |
identifyCtrls(GuiOnTheFlyRuntime gofRuntime,
GofHostAreaIdentifier areaIdentifier,
PhantomHostScreen phantomHostScreen,
HostScreen hostScreen,
PhantomPanelData templPanel,
PhantomPanelData newPanel,
int offsetX,
int offsetY)
This method is where the class implementing this interface does all its work.
|
static final int GOF_GUIUNITX
static final int GOF_GUIUNITY
static final int GOF_STEPX
static final int GOF_STEPY
static final int GOF_MARGINX
static final int GOF_MARGINY
static final int GOF_OFFSETX
static final int GOF_OFFSETY
void getControlSettings(IniFile confFile, String subsection)
confFile
- The server ini file.void identifyCtrls(GuiOnTheFlyRuntime gofRuntime, GofHostAreaIdentifier areaIdentifier, PhantomHostScreen phantomHostScreen, HostScreen hostScreen, PhantomPanelData templPanel, PhantomPanelData newPanel, int offsetX, int offsetY)
The classes implementing this interface should implement the following steps:
gofRuntime
- The GuiOnTheFlyRuntime instance.areaIdentifier
- The areaIdentifier in which the controls 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.