com.hp.lft.sdk.winforms

Class WindowDescription

  • All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, java.lang.Cloneable


    public class WindowDescription
    extends UiObjectDescriptionBase
    The description of a .NET Windows Forms Window test object.
    • Constructor Detail

      • WindowDescription

        public WindowDescription()
        Initializes a new instance of the WindowDescription class.
    • Method Detail

      • setActive

        public void setActive(java.lang.Boolean isActive)
        Sets whether this object is the foreground object.
        Parameters:
        isActive - true if foreground
      • isActive

        public java.lang.Boolean isActive()
        Indicates whether this object is the foreground object
        Returns:
        true if foreground
      • setBorder

        public void setBorder(java.lang.Boolean hasBorder)
        Sets whether this object has a thin-line border.
        Parameters:
        hasBorder - true if has thin-line border
      • hasBorder

        public java.lang.Boolean hasBorder()
        Indicates whether the object has a thin-line border.
        Returns:
        true if has thin-line border
      • setCaption

        public void setCaption(java.lang.Boolean hasCaption)
        Sets whether this object has a title bar.
        Parameters:
        hasCaption - true if has title bar
      • hasCaption

        public java.lang.Boolean hasCaption()
        Indicates whether this object has a title bar.
        Returns:
        true if has title bar
      • setSizebox

        public void setSizebox(java.lang.Boolean hasSizebox)
        Sets whether this object has a sizing border.
        Parameters:
        hasSizebox - true if has sizing border
      • hasSizebox

        public java.lang.Boolean hasSizebox()
        Indicates whether this object has a sizing border.
        Returns:
        true if has sizing border
      • setSystemMenu

        public void setSystemMenu(java.lang.Boolean hasSystemMenu)
        Sets whether this object has a window menu on its title bar.
        Parameters:
        hasSystemMenu - true if has window menu on its title bar
      • hasSystemMenu

        public java.lang.Boolean hasSystemMenu()
        Indicates whether this object has a window menu on its title bar.
        Returns:
        true if has window menu on its title bar
      • setMdiChildWindow

        public void setMdiChildWindow(java.lang.Boolean isMdiChildWindow)
        Sets whether this object is a multiple-document interface (MDI) child window.
        Parameters:
        isMdiChildWindow - true if is MDI child window
      • isMdiChildWindow

        public java.lang.Boolean isMdiChildWindow()
        Indicates whether this object is a multiple-document interface (MDI) child window.
        Returns:
        true if is MDI child window
      • setPopupWindow

        public void setPopupWindow(java.lang.Boolean isPopupWindow)
        Sets whether this object is a pop-up window.
        Parameters:
        isPopupWindow - true if is pop-up window
      • isPopupWindow

        public java.lang.Boolean isPopupWindow()
        Indicates whether this object is a pop-up window.
        Returns:
        true if is pop-up window
      • setToolWindow

        public void setToolWindow(java.lang.Boolean isToolWindow)
        Sets whether this object is intended to be a floating toolbar.
        Parameters:
        isToolWindow - true if is tool window
      • isToolWindow

        public java.lang.Boolean isToolWindow()
        Indicates whether this object is intended to be a floating toolbar.
        Returns:
        true if is tool window
      • setMaximizable

        public void setMaximizable(java.lang.Boolean isMaximizable)
        Sets whether this object can be maximized.
        Parameters:
        isMaximizable - true if can be maximized
      • isMaximizable

        public java.lang.Boolean isMaximizable()
        Indicates whether this object can be maximized.
        Returns:
        true if can be maximized
      • setMinimizable

        public void setMinimizable(java.lang.Boolean isMinimizable)
        Sets whether this object can be minimized.
        Parameters:
        isMinimizable - true if can be minimized
      • isMinimizable

        public java.lang.Boolean isMinimizable()
        Indicates whether this object can be minimized.
        Returns:
        true if can be minimized
      • setTopmost

        public void setTopmost(java.lang.Boolean isTopmost)
        Sets whether this object should stay above all non-topmost windows, even when this object is deactivated.
        Parameters:
        isTopmost - true if should stay above all non-topmost windows
      • isTopmost

        public java.lang.Boolean isTopmost()
        Sets whether this object should stay above all non-topmost windows, even when this object is deactivated.
        Returns:
        true if should stay above all non-topmost windows