public class ScreenFields extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
currentModified |
| Constructor and Description |
|---|
ScreenFields(Screen5250 s) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearFFT() |
protected boolean |
existsAtPos(int lastPos) |
ScreenField |
findByPosition(int targetPosition)
Searches the collection for the target position and returns the ScreenField
object containing that position.
|
ScreenField |
findByPosition(int row,
int col)
Searches the collection for the target position and returns the ScreenField
object containing that position.
|
ScreenField |
findByString(String targetString,
int startPos,
int length,
int dir,
boolean ignoreCase)
Searches the collection for the target string and returns the iOhioField
object containing that string.
|
ScreenField |
getCurrentField() |
int |
getCurrentFieldHighlightedAttr() |
int |
getCurrentFieldPos() |
protected int |
getCurrentFieldShift() |
String |
getCurrentFieldText() |
ScreenField |
getField(int index) |
int |
getFieldCount() |
ScreenField[] |
getFields() |
ScreenField |
getFirstInputField() |
int |
getSize() |
void |
gotoFieldNext() |
void |
gotoFieldPrev() |
boolean |
isCanSendAid()
This routine is used to check if we can send the Aid key to the host
Taken from Section 16.2.1.2 Enter/Rec Adv Key
In the normal unlocked state, when the workstation operator presses the
Enter/Rec Adv key:
1.
|
boolean |
isCurrentField() |
boolean |
isCurrentFieldAutoEnter() |
boolean |
isCurrentFieldBypassField() |
boolean |
isCurrentFieldContinued() |
boolean |
isCurrentFieldContinuedFirst() |
boolean |
isCurrentFieldContinuedLast() |
boolean |
isCurrentFieldContinuedMiddle() |
boolean |
isCurrentFieldDupEnabled() |
boolean |
isCurrentFieldFER() |
boolean |
isCurrentFieldHighlightedEntry() |
boolean |
isCurrentFieldModified() |
boolean |
isCurrentFieldToUpper() |
protected boolean |
isInField() |
protected boolean |
isInField(int pos) |
protected boolean |
isInField(int pos,
boolean chgToField) |
boolean |
isMasterMDT() |
protected void |
readFormatTable(ByteArrayOutputStream baosp,
int readType,
ICodePage codePage) |
protected void |
restoreCurrentField() |
protected void |
saveCurrentField() |
protected void |
setCurrentField(ScreenField sf) |
protected void |
setCurrentFieldFFWs(int ffw1,
int ffw2) |
protected void |
setCurrentFieldMDT() |
protected ScreenField |
setField(int attr,
int row,
int col,
int len,
int ffw1,
int ffw2,
int fcw1,
int fcw2) |
protected void |
setMasterMDT() |
boolean |
withinCurrentField(int pos) |
public ScreenFields(Screen5250 s)
protected void clearFFT()
protected boolean existsAtPos(int lastPos)
public boolean isMasterMDT()
protected void setMasterMDT()
public boolean isCurrentField()
public boolean isCurrentFieldFER()
public boolean isCurrentFieldDupEnabled()
public boolean isCurrentFieldToUpper()
public boolean isCurrentFieldBypassField()
public boolean isCurrentFieldHighlightedEntry()
public boolean isCurrentFieldAutoEnter()
public boolean withinCurrentField(int pos)
public boolean isCurrentFieldContinued()
public boolean isCurrentFieldContinuedFirst()
public boolean isCurrentFieldContinuedMiddle()
public boolean isCurrentFieldContinuedLast()
public boolean isCurrentFieldModified()
public boolean isCanSendAid()
protected void saveCurrentField()
protected void restoreCurrentField()
protected void setCurrentField(ScreenField sf)
protected void setCurrentFieldMDT()
protected void setCurrentFieldFFWs(int ffw1,
int ffw2)
protected ScreenField setField(int attr, int row, int col, int len, int ffw1, int ffw2, int fcw1, int fcw2)
public ScreenField getField(int index)
public ScreenField getCurrentField()
public int getCurrentFieldPos()
protected int getCurrentFieldShift()
public String getCurrentFieldText()
public int getCurrentFieldHighlightedAttr()
public int getSize()
public int getFieldCount()
protected boolean isInField(int pos)
protected boolean isInField()
protected boolean isInField(int pos,
boolean chgToField)
public ScreenField findByString(String targetString, int startPos, int length, int dir, boolean ignoreCase)
targetString - The target string.startPos - The row and column where to start the search. The position
is inclusive (for example, row 1, col 1 means that
position 1,1 will be used as the starting location and
1,1 will be included in the search).length - The length from startPos to include in the search.dir - An OHIO_DIRECTION value:ignoreCase - flag
| Constant | Value | Description |
|---|---|---|
| OS_OHIO_DIRECTION_FORWARD | 0 | Forward (beginning towards end) |
| OS_OHIO_DIRECTION_BACKWARD | 1 | Backward (end towards beginning) |
public ScreenField findByPosition(int targetPosition)
targetPosition - The target row and column expressed as a linear
position within the presentation space.public ScreenField findByPosition(int row, int col)
row - The beginning row to start search with in the presentation space.col - The beginning column to start search with in the presentation space.public ScreenField[] getFields()
public ScreenField getFirstInputField()
public void gotoFieldNext()
public void gotoFieldPrev()
protected void readFormatTable(ByteArrayOutputStream baosp, int readType, ICodePage codePage)
Copyright © 2018. All rights reserved.