com.hp.lft.sdk.sap.gui

Interface Editor

    • Method Detail

      • select

        void select(int startPos,
                    int endPos)
             throws GeneralLeanFtException
        Selects the specified section of text and positions the cursor at the end of the selection.
        Parameters:
        startPos - the 0-based position of the first character.
        endPos - the 0-based position of the last character.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setCursorPosition

        void setCursorPosition(int pos)
                        throws GeneralLeanFtException
        Sets the cursor to the specified character position.
        Parameters:
        pos - the character position.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setUnprotectedTextPart

        void setUnprotectedTextPart(java.lang.String text,
                                    int sectionNumber)
                             throws GeneralLeanFtException
        Sets the specified text in the predefined unprotected sections of the text area.
        Parameters:
        text - the text .
        sectionNumber - The 1-based index of the unprotected section in which the text is set. Unprotected sections of the text area are numbered from top to bottom.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.