public class GofHostField extends Object
The GofHostFields are logical host fields that will be used during identification of he different controls.
Modifier and Type | Field and Description |
---|---|
boolean |
hasBeenProcessed
Flag indicating that this GofHostField has been identified as a control.
|
Constructor and Description |
---|
GofHostField(HostField hostField,
int x,
int y,
int cx,
String text,
boolean isEmpty)
Creates a new GofHostField.
|
Modifier and Type | Method and Description |
---|---|
int |
getCx()
Gets the width of this GofHostField.
|
HostField |
getHostField()
Gets this GofHostField's host field.
|
String |
getText()
Gets the text of the host field.
|
int |
getX()
Gets the start column for this GofHostField.
|
int |
getY()
Gets the start line for this GofHostField.
|
boolean |
isEmpty()
Gets the value of the flag indicating if the HostField is empty.
|
boolean |
isHidden()
Checks if the GofHostField's host field is hidden.
|
boolean |
isProtected()
Checks if the GofHostField's host field is protected.
|
void |
setText(String text)
Sets the text in this GofHostField.
|
public boolean hasBeenProcessed
public GofHostField(HostField hostField, int x, int y, int cx, String text, boolean isEmpty)
hostField
- The host field that this GofHostField is connected to.x
- The start column for the field.y
- The start line for field.cx
- The length of the fieldtext
- The text in the field.isEmpty
- Flag indicating that the host field is empty;public HostField getHostField()
public boolean isProtected()
true
if the host field is protected,
false
otherwise.public boolean isHidden()
true
if the host field is hidden,
false
otherwise.public int getX()
public int getY()
public int getCx()
public boolean isEmpty()
true
if the host field is empty,
false
otherwise.public String getText()
public void setText(String text)
text
- The new text to set.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.