public class HostField extends Object
Modifier and Type | Field and Description |
---|---|
static int |
HFJ_Fill
Field justification: Field is entirely filled.
|
static int |
HFJ_NoAdjust
Field justification: No justification.
|
static int |
HFJ_RightBlank
Field justification: Right justified, blank-filled.
|
static int |
HFJ_RightZero
Field justification: Right justified, zero-filled.
|
static int |
HFT_Alphanumeric
Host field type: Alphanumeric characters only.
|
static int |
HFT_AlphaOnly
Host field type: Alpha characters only.
|
static int |
HFT_AnyCharacter
Host field type: Any character allowed.
|
static int |
HFT_DigitsOnly
Host field type: Digits only.
|
static int |
HFT_ImpliedDecimal
Host field type: Implied decimal number.
|
static int |
HFT_KatakanaShift
Host field type: Katakana shift.
|
static int |
HFT_NumericOnly
Host field type: Numeric only.
|
static int |
HFT_NumericShift
Host field type: Numeric shift.
|
static int |
HFT_SignedNumeric
Host field type: Signed numeric.
|
static int |
HFT_UpperOnly
Host field type: Upper case any character.
|
boolean |
isFieldExitRequired
The field exit key is required to exit this field.
|
boolean |
isHidden
This field is hidden (non-display).
|
boolean |
isLowerTranslatedToUpper
All characters in this field are automatically converted to upper case.
|
boolean |
isProtected
This field is protected.
|
int |
justification
Field justification: the values HFJ_*.
|
int |
length
The length of the field.
|
HostField |
nextField
The next host field.
|
int |
position
Position of the host field in the host screen.
|
int |
screenWidth
The width of the host screen.
|
int |
type
Field type: the values HFT_*.
|
int |
x
Position in X.
|
int |
y
Position in Y.
|
Constructor and Description |
---|
HostField() |
Modifier and Type | Method and Description |
---|---|
HostField |
getNextField()
Gets the next host field.
|
int |
getPos()
Gets the zero-based position of this field on the screen.
|
boolean |
isEmpty(HostScreen screen)
Checks if this field is protected and empty.
|
public static final int HFT_AnyCharacter
public static final int HFT_AlphaOnly
public static final int HFT_Alphanumeric
public static final int HFT_UpperOnly
public static final int HFT_NumericOnly
public static final int HFT_DigitsOnly
public static final int HFT_SignedNumeric
public static final int HFT_ImpliedDecimal
public static final int HFT_NumericShift
public static final int HFT_KatakanaShift
public static final int HFJ_NoAdjust
public static final int HFJ_RightZero
public static final int HFJ_RightBlank
public static final int HFJ_Fill
public int type
public int justification
public boolean isFieldExitRequired
public boolean isHidden
public boolean isProtected
public boolean isLowerTranslatedToUpper
public int x
public int y
public int position
public int length
public int screenWidth
public HostField nextField
public HostField getNextField()
public int getPos()
public boolean isEmpty(HostScreen screen)
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.