Class WindowDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable
Direct Known Subclasses:
DialogDescription, InternalFrameDescription

public class WindowDescription extends UiObjectBaseDescription
The description of a Java 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

    • setJavaWindow

      public void setJavaWindow(Boolean isJavaWindow)
      Sets whether the object is a Java window.
      Parameters:
      isJavaWindow - true if a Java window.
    • isJavaWindow

      public Boolean isJavaWindow()
      Indicates whether the object is a Java window.
      Returns:
      true if is a Java window.
    • setMaximizable

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

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

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

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

      public void setResizable(Boolean isResizable)
      Sets whether this window can be resized.
      Parameters:
      isResizable - true if can be resized.
    • isResizable

      public Boolean isResizable()
      Indicates whether this window can be resized.
      Returns:
      true if can be resized.
    • setTitle

      public void setTitle(String title)
      Sets the window title.
      Parameters:
      title - the window title.
    • setTitle

      public void setTitle(StringProperty title)
      Sets the window title.
      Parameters:
      title - a StringProperty or RegExpProperty.
    • getTitle

      public StringProperty getTitle()
      Returns the window title.
      Returns:
      the window title.