com.hp.lft.sdk.powerbuilder

Interface Window

    • Method Detail

      • isActive

        boolean isActive()
                  throws GeneralLeanFtException
        Indicates whether the window is the foreground object (currently active).
        Returns:
        true when the window is the foreground object (currently active).
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • hasBorder

        boolean hasBorder()
                   throws GeneralLeanFtException
        Indicates whether the window has a thin-line border.
        Returns:
        true when the window has a thin-line border.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • hasCaption

        boolean hasCaption()
                    throws GeneralLeanFtException
        Indicates whether the window has a title bar.
        Returns:
        true when the window has a title bar.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • hasSizebox

        boolean hasSizebox()
                    throws GeneralLeanFtException
        Indicates whether the window has a sizing border.
        Returns:
        true when the window has a sizing border.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • hasSystemMenu

        boolean hasSystemMenu()
                       throws GeneralLeanFtException
        Indicates whether the window has a window menu on its title bar.
        Returns:
        true when the window has a window menu on its title bar.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isOwnedWindow

        boolean isOwnedWindow()
                       throws GeneralLeanFtException
        Indicates whether the window has an owner window.
        Returns:
        true when the window has an owner window.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isChildWindow

        boolean isChildWindow()
                       throws GeneralLeanFtException
        Indicates whether the window is a child window.
        Returns:
        true when the window is a child window.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isMdiChildWindow

        boolean isMdiChildWindow()
                          throws GeneralLeanFtException
        Indicates whether the window is a multiple-document interface (MDI) child window.
        Returns:
        true when the window is a multiple-document interface (MDI) child window.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isPopupWindow

        boolean isPopupWindow()
                       throws GeneralLeanFtException
        Indicates whether the window is a pop-up window.
        Returns:
        true when the window is a pop-up window..
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isToolWindow

        boolean isToolWindow()
                      throws GeneralLeanFtException
        Indicates whether the window is a tool window (a floating toolbar).
        Returns:
        indicates whether the window is a tool window (a floating toolbar).
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isMaximizable

        boolean isMaximizable()
                       throws GeneralLeanFtException
        Indicates whether the window can be maximized.
        Returns:
        true when the window can be maximized.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isMinimizable

        boolean isMinimizable()
                       throws GeneralLeanFtException
        Indicates whether the window can be minimized.
        Returns:
        true when the window can be minimized.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • isTopmost

        boolean isTopmost()
                   throws GeneralLeanFtException
        Indicates whether the window is placed above all non-topmost windows and remains in place, even when the window is deactivated.
        Returns:
        true when the window is placed above all non-topmost windows and remains in place, even when the window is deactivated..
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • move

        void move(Point point)
           throws GeneralLeanFtException
        Moves the window to the specified absolute location on the screen with a Point object.
        Parameters:
        point - absolute pixel location (X,Y) on the screen
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • move

        void move(int x,
                  int y)
           throws GeneralLeanFtException
        Moves the window to the specified absolute location on the screen with X,Y coordinates.
        Parameters:
        x - the X coordinate to move to.
        y - the Y coordinate to move to.
        Throws:
        GeneralLeanFtException - if error occurs during execution
      • resize

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