public class GofEntryFieldIdentifier extends GofControlIdentifierAdapter implements PhantomControlType
templPanelCTRLTYPE_BUTTON, CTRLTYPE_CHECK, CTRLTYPE_COMBO, CTRLTYPE_FRAME, CTRLTYPE_GRAPH, CTRLTYPE_GROUP, CTRLTYPE_INOUT, CTRLTYPE_LIST, CTRLTYPE_MLE, CTRLTYPE_NOTE, CTRLTYPE_OUT, CTRLTYPE_RADIO, CTRLTYPE_RECT, CTRLTYPE_SPIN, CTRLTYPE_SUB, CTRLTYPE_TEXT, CTRLTYPE_TREE, CTRLTYPE_UNKNOWN, CTRLTYPE_USER, CTRLTYPES_COUNT, namesGOF_GUIUNITX, GOF_GUIUNITY, GOF_MARGINX, GOF_MARGINY, GOF_OFFSETX, GOF_OFFSETY, GOF_STEPX, GOF_STEPY| Constructor and Description |
|---|
GofEntryFieldIdentifier() |
| 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)
This class takes every unused GofHostField that is not protected, and creates an
entry field from it.
|
getVirtualSessionManager, identifyCtrlspublic void getControlSettings(IniFile confFile, String subsection)
This class has a setting that affects the look of the entry fields. This is the
entryfieldlayout setting. Valid values for this setting are:
entryfieldlayout=DEFAULT
entryfieldlayout=FONT
entryfieldlayout=COLOR
entryfieldlayout=FONTANDCOLOR
DEFAULT means that no settings are taken from the template panel, default values will be used.
FONT means that the font is taken from template panel, from an output text with the id=E, id=ER, id=ENL or id=ENR (depending on the host fields justification, and if the host field is numeric or not). If this control cannot be found, or if it is not an output text control, default values will be used.
COLOR means that the color is taken from template panel, from an output text with the id=E, id=ER, id=ENL or id=ENR (depending on the host fields justification, and if the host field is numeric or not). If this control cannot be found, or if it is not an output text control, default values will be used.
FONTANDCOLOR means that the font and color are taken from template panel, from an output text with the id=E, id=ER, id=ENL or id=ENR (depending on the host fields justification, and if the host field is numeric or not). If this control cannot be found, or if it is not an output text control, default values will be used.
Any other value will be treated as DEFAULT.
There is also a setting that specifies if there is a filler character to use, and what character this should be. This setting as called entryfieldfiller, and if the filler character is the underscore character, it would look like this:
entryfieldfiller=_
getControlSettings in interface GofControlIdentifiergetControlSettings in class GofControlIdentifierAdapterconfFile - The server ini file.subsection - The name of the subsection used for the current Gui-on-the-Fly settings.public void identifyCtrls(GuiOnTheFlyRuntime gofRuntime, GofHostAreaIdentifier areaIdentifier, PhantomHostScreen phantomHostScreen, HostScreen hostScreen, PhantomPanelData templPanel, PhantomPanelData newPanel, int offsetX, int offsetY)
identifyCtrls in interface GofControlIdentifiergofRuntime - 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.