com.hp.lft.sdk.te

Interface Screen

    • Method Detail

      • getCursorPosition

                                                    Position getCursorPosition()
                            throws GeneralLeanFtException
        Returns the Terminal Emulator screen current row and current column.
        Returns:
        Terminal Emulator screen current row and current column.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getInputFieldCount

        int getInputFieldCount()
                        throws GeneralLeanFtException
        Returns the Terminal Emulator screen input field count.
        Returns:
        Terminal Emulator screen input field count.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getProtectedFieldCount

        int getProtectedFieldCount()
                            throws GeneralLeanFtException
        Returns the Terminal Emulator screen protected field count.
        Returns:
        Terminal Emulator screen protected field count.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • sendTEKeys

        void sendTEKeys(java.lang.String keys)
                 throws GeneralLeanFtException
        Sends a keystroke or string of keystrokes to the current cursor position in the emulator screen.
        Parameters:
        keys - The string to type in the object. The string can include constants from the Keys class, which represent keyboard keys.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setText

        void setText(java.lang.String text,
                     Position position)
              throws GeneralLeanFtException
        Copies a string to a specific location in the emulator screen.
        Parameters:
        text - The text that will be written in the specified position within the emulator screen.
        position - The specified Position within the emulator screen.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setText

        void setText(java.lang.String text,
                     int row,
                     int column)
              throws GeneralLeanFtException
        Copies a string to a specific location in the emulator screen.
        Parameters:
        text - The text that will be written in the specified position within the emulator screen.
        row - The row position within the emulator screen.
        column - The column position within the emulator screen.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setText

        void setText(java.lang.String text)
              throws GeneralLeanFtException
        Copies a string to a specific location in the emulator screen.
        Parameters:
        text - The text that will be written in the specified position within the emulator screen.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setCursorPosition

        void setCursorPosition(int row,
                               int column)
                        throws GeneralLeanFtException
        Changes the position of the cursor within the emulator screen.
        Parameters:
        row - The row position within the emulator screen.
        column - The column position within the emulator screen.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.