com.hp.lft.sdk.sap.gui

Interface Window

    • Method Detail

      • getText

        java.lang.String getText()
                          throws GeneralLeanFtException
        Returns the text associated with the object.
        Returns:
        the text associated with the object.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getWorkingPaneSize

        java.awt.Dimension getWorkingPaneSize()
                                       throws GeneralLeanFtException
        Returns the size of the working pane in character metric. The working pane is the area between the toolbar and the status bar.
        Returns:
        the size of the working pane.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getTransaction

        java.lang.String getTransaction()
                                 throws GeneralLeanFtException
        Returns the transaction the user is executing.
        Returns:
        the transaction.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • getProgram

        java.lang.String getProgram()
                             throws GeneralLeanFtException
        Returns the name of the SAP source program that is executing.
        Returns:
        the name of the program.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • resize

        void resize(java.awt.Dimension size)
             throws GeneralLeanFtException
        Resizes the window so that the available working area has the specified width and height in character metric.
        Parameters:
        size - the target size.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • resize

        void resize(int width,
                    int height)
             throws GeneralLeanFtException
        Resizes the window to the specified dimensions.
        Parameters:
        width - in pixels.
        height - in pixels.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.
      • selectMenuItemById

        void selectMenuItemById(java.lang.String menuItemId)
                         throws GeneralLeanFtException
        Selects an item from a context menu. A context menu is accessed with a right click.
        Parameters:
        menuItemId - the ID of the menu item.
        Throws:
        GeneralLeanFtException - if an error occurs during execution.