Class ScreenField


  • public class ScreenField
    extends java.lang.Object
    • Field Detail

      • checkCanSend

        protected boolean checkCanSend
      • rightAdjd

        protected boolean rightAdjd
      • manditoried

        protected boolean manditoried
    • Constructor Detail

      • ScreenField

        protected ScreenField​(Screen5250 s)
    • Method Detail

      • setField

        protected ScreenField setField​(int attr,
                                       int len,
                                       int ffw1,
                                       int ffw2,
                                       int fcw1,
                                       int fcw2)
      • setField

        protected ScreenField setField​(int attr,
                                       int row,
                                       int col,
                                       int len,
                                       int ffw1,
                                       int ffw2,
                                       int fcw1,
                                       int fcw2)
      • getAttr

        public int getAttr()
      • getHighlightedAttr

        public int getHighlightedAttr()
      • getLength

        public int getLength()
      • setFFWs

        protected boolean setFFWs​(int ffw1,
                                  int ffw2)
      • getFFW1

        public int getFFW1()
      • getFFW2

        public int getFFW2()
      • setFCWs

        protected void setFCWs​(int fcw1,
                               int fcw2)
      • getFCW1

        public int getFCW1()
      • getFCW2

        public int getFCW2()
      • getFieldLength

        public int getFieldLength()
      • getCursorProgression

        public int getCursorProgression()
      • getFieldId

        public int getFieldId()
      • setFieldId

        protected void setFieldId​(int fi)
      • getCursorRow

        public int getCursorRow()
      • getCursorCol

        public int getCursorCol()
      • changePos

        protected void changePos​(int i)
      • getText

        protected java.lang.String getText()
      • getString

        public java.lang.String getString()
      • setFieldChar

        public void setFieldChar​(char c)
      • setFieldChar

        public void setFieldChar​(int lastPos,
                                 char c)
      • setRightAdjusted

        protected void setRightAdjusted()
      • setManditoryEntered

        protected void setManditoryEntered()
      • resetMDT

        protected void resetMDT()
      • setMDT

        protected void setMDT()
      • isBypassField

        public boolean isBypassField()
      • getAdjustment

        public int getAdjustment()
      • isFER

        public boolean isFER()
      • isMandatoryEnter

        public boolean isMandatoryEnter()
      • isToUpper

        public boolean isToUpper()
      • getFieldShift

        public int getFieldShift()
      • isHiglightedEntry

        public boolean isHiglightedEntry()
      • isAutoEnter

        public boolean isAutoEnter()
      • isSignedNumeric

        public boolean isSignedNumeric()
      • isRightToLeft

        public boolean isRightToLeft()
      • isNumeric

        public boolean isNumeric()
      • isDupEnabled

        public boolean isDupEnabled()
      • isContinued

        public boolean isContinued()
      • isContinuedFirst

        public boolean isContinuedFirst()
      • isContinuedMiddle

        public boolean isContinuedMiddle()
      • isContinuedLast

        public boolean isContinuedLast()
      • isCanSend

        protected boolean isCanSend()
      • isSelectionField

        public boolean isSelectionField()
      • setSelectionFieldInfo

        public void setSelectionFieldInfo​(int type,
                                          int index,
                                          int position)
      • getKeyPos

        protected int getKeyPos​(int row1,
                                int col1)
      • getKeyPos

        protected int getKeyPos​(int pos)
      • getCurrentPos

        public int getCurrentPos()
      • withinField

        public boolean withinField​(int pos)
      • startPos

        public int startPos()
      • startRow

        public int startRow()
        Get the starting row of the field. Offset is 0 so row 6 returned is row 7 mapped to screen
        Returns:
        int starting row of the field offset 0
      • startCol

        public int startCol()
        Get the starting column of the field. Offset is 0 so column 6 returned is column 7 mapped to screen
        Returns:
        int starting column of the field offset 0
      • endPos

        public int endPos()
      • setString

        public void setString​(java.lang.String text)
        Sets the field's text plane to the specified string. If the string is shorter than the length of the field, the rest of the field is cleared. If the string is longer than the field, the text is truncated. A subsequent call to getText on this field will not show the changed text. To see the changed text, do a refresh on the iOhioFields collection and retrieve the refreshed field object.
        Parameters:
        text - - The text to be placed in the field's text plane.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object