com.hp.lft.sdk.sap.gui

Interface Label

    • Method Detail

      • getText

        java.lang.String getText()
                          throws GeneralLeanFtException
        Returns either the text of the label or the icon name.
        Returns:
        the text or the icon name.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getIconName

        java.lang.String getIconName()
                              throws GeneralLeanFtException
        Returns the name of the icon used in the label.
        Returns:
        the name of the icon.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getMaxLength

        int getMaxLength()
                  throws GeneralLeanFtException
        Returns the maximum number of characters that can be displayed in the label.
        Returns:
        the maximum number of characters.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getRelativeId

        java.lang.String getRelativeId()
                                throws GeneralLeanFtException
        Returns the object's unique identifier relative to the parent window ID.
        Returns:
        the UID in text format.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • setCursorPosition

        void setCursorPosition(int pos)
                        throws GeneralLeanFtException
        Sets the position of the cursor within the static text label.
        Parameters:
        pos - the 0-based character position.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.