Class WindowDescription

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

public class WindowDescription extends UiObjectWithLayoutInfoDescription
The description of a PowerBuilder Window test object.
  • Constructor Details

    • WindowDescription

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

      protected WindowDescription(WindowDescription.Init<?> init)
      Initializes a new instance of the WindowDescription class using the Builder pattern.
      Parameters:
      init - the Builder pattern.
  • Method Details

    • setActive

      public void setActive(Boolean isActive)
      Sets whether this window is the foreground window.
      Parameters:
      isActive - sets whether this is the foreground window.
    • isActive

      public Boolean isActive()
      Indicates whether this window is the foreground object
      Returns:
      true when this window is the foreground object.
    • setBorder

      public void setBorder(Boolean hasBorder)
      Sets whether this window has a thin-line border.
      Parameters:
      hasBorder - sets whether this window has a thin-line border.
    • hasBorder

      public Boolean hasBorder()
      Indicates whether this window has a thin-line border.
      Returns:
      true if this window has a thin-line border.
    • setCaption

      public void setCaption(Boolean hasCaption)
      Sets whether this window has a title bar property.
      Parameters:
      hasCaption - sets whether this window has a title bar.
    • hasCaption

      public Boolean hasCaption()
      Indicates whether the window has a title bar.
      Returns:
      true if this window has a title bar.
    • setSizebox

      public void setSizebox(Boolean hasSizebox)
      Sets whether this window has a sizing border.
      Parameters:
      hasSizebox - sets whether this window has a sizing border.
    • hasSizebox

      public Boolean hasSizebox()
      Indicates whether this window has a sizing border.
      Returns:
      true if the window has a sizing border.
    • setSystemMenu

      public void setSystemMenu(Boolean hasSystemMenu)
      Sets whether this window has a window menu on its title bar.
      Parameters:
      hasSystemMenu - sets whether this window has a window menu on its title bar.
    • hasSystemMenu

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

      public void setChildWindow(Boolean isChildWindow)
      Set whether this window is a child window.
      Parameters:
      isChildWindow - sets whether this window is a child window.
    • isChildWindow

      public Boolean isChildWindow()
      Indicates whether this window is a child window.
      Returns:
      true if the window is a child window.
    • setOwnedWindow

      public void setOwnedWindow(Boolean isOwnedWindow)
      Set whether this window has an owner window.
      Parameters:
      isOwnedWindow - sets whether this window has an owner window.
    • isOwnedWindow

      public Boolean isOwnedWindow()
      Indicates whether this window has an owner window.
      Returns:
      true if the window has an owner window.
    • setIsMdiChildWindow

      public void setIsMdiChildWindow(Boolean isMdiChildWindow)
      Set whether this window is a multiple-document interface (MDI) child window.
      Parameters:
      isMdiChildWindow - sets whether this window is a multiple-document interface (MDI) child window.
    • isMdiChildWindow

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

      public void setPopupWindow(Boolean isPopupWindow)
      Set whether this window is a pop-up window.
      Parameters:
      isPopupWindow - sets whether this window is a pop-up window.
    • isPopupWindow

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

      public void setToolWindow(Boolean isToolWindow)
      Set whether this window is a tool window (a window intended to be used as a floating toolbar).
      Parameters:
      isToolWindow - sets whether this window is a tool window.
    • isToolWindow

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

      public void setMaximizable(Boolean isMaximizable)
      Sets whether this window can be maximized.
      Parameters:
      isMaximizable - sets whether this window can be maximized.
    • isMaximizable

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

      public void setMinimizable(Boolean isMinimizable)
      Set whether this window can be minimized.
      Parameters:
      isMinimizable - sets whether this window can be minimized.
    • isMinimizable

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

      public void setTopmost(Boolean isTopmost)
      Set whether this window is placed above all non-topmost windows and remains in place, even when this window is deactivated.
      Parameters:
      isTopmost - sets whether this window is placed above all non-topmost windows.
    • isTopmost

      public Boolean isTopmost()
      Indicates whether this window is placed above all non-topmost windows and remains in place, even when this window is deactivated.
      Returns:
      true if this window is placed above all non-topmost windows.