public class GofButtonAreaIdentifier extends GofHostAreaIdentifierAdapter
areaGofHostFields, phantomControls
FLOW_LAYOUT
Constructor and Description |
---|
GofButtonAreaIdentifier() |
Modifier and Type | Method and Description |
---|---|
void |
getAreaSettings(IniFile confFile,
String subsection)
Loads setting for the controll from the server ini-file.
|
Vector<GofHostField> |
identifyArea(Vector<GofHostField> gofHostFields,
int x,
int y,
int w,
int h)
A method that identifies which of the Gui-on-the-fly host fields that belong to the area.
|
void |
layout()
This method should layout the controls belonging to this area according to the layout rule
specified in the configuration file.
|
addControl, getAreasGofHostFields
public void getAreaSettings(IniFile confFile, String subsection)
getAreaSettings
in interface GofHostAreaIdentifier
getAreaSettings
in class GofHostAreaIdentifierAdapter
confFile
- The server ini file.subsection
- The section containing the Gui-on-the-fly settings to be used.public Vector<GofHostField> identifyArea(Vector<GofHostField> gofHostFields, int x, int y, int w, int h)
identifyArea
in interface GofHostAreaIdentifier
identifyArea
in class GofHostAreaIdentifierAdapter
gofHostFields
- A Vector
containing all the GofHostFields in the part of the
screen area to be analyzed.x
- The start column of the area to be analyzed.y
- The start line of the area to be analyzed.w
- The width of the area to be analyzed.h
- The height of the area to be analyzed.Vector
containing all the unused Gui-on-the-fly host fields.GofHostAreaIdentifierAdapter.areaGofHostFields
public void layout()
layout
in interface GofHostAreaIdentifier
layout
in class GofHostAreaIdentifierAdapter
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.