Class TextTerminalData


  • public class TextTerminalData
    extends java.lang.Object
    The data sent by the server to a polling web component. Includes:
    • an action to be executed by the web component (NONE, VIRTUAL, FLUSH, READ, READ_MASKED, CONTINUE_READ, CLEAR_OLD_INPUT, DISPOSE or ABORT).
    • a boolean value indicating whether the terminal should reset its settings before performing the specified action.
    • a list of TextTerminalData.MessageGroups, each one consisting of a list of settings (represented as TextTerminalData.KeyValues) and a list of prompt messages.
    • Constructor Detail

      • TextTerminalData

        public TextTerminalData()
    • Method Detail

      • isNewGroupRequiredForSetting

        public boolean isNewGroupRequiredForSetting()
      • addSetting

        public void addSetting​(java.lang.String key,
                               java.lang.Object value)
      • addRawMessage

        public void addRawMessage​(java.lang.String message)
      • addMessage

        public java.lang.String addMessage​(java.lang.String message)
      • getActionData

        public java.lang.String getActionData()
      • setActionData

        public void setActionData​(java.lang.String actionData)
      • isResetRequired

        public boolean isResetRequired()
      • setResetRequired

        public void setResetRequired​(boolean resetRequired)
      • isLineResetRequired

        public boolean isLineResetRequired()
      • setLineResetRequired

        public void setLineResetRequired​(boolean lineResetRequired)
      • isMoveToLineStartRequired

        public boolean isMoveToLineStartRequired()
      • setMoveToLineStartRequired

        public void setMoveToLineStartRequired​(boolean moveToLineStartRequired)
      • getBookmark

        public java.lang.String getBookmark()
      • setBookmark

        public void setBookmark​(java.lang.String bookmark)
      • getResetToBookmark

        public java.lang.String getResetToBookmark()
      • setResetToBookmark

        public void setResetToBookmark​(java.lang.String resetToBookmark)
      • isEmpty

        public boolean isEmpty()
      • hasAction

        public boolean hasAction()
      • addKey

        public java.lang.String addKey​(java.lang.String keyStroke)
      • clear

        public void clear()
      • toString

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