Package com.hp.lft.sdk.stdwin
Class WindowDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.stdwin.UiObjectBaseDescription
com.hp.lft.sdk.stdwin.UiObjectWithLayoutInfoDescription
com.hp.lft.sdk.stdwin.WindowDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
- Direct Known Subclasses:
- DialogDescription
The description of a standard Windows Window test object.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the WindowDescription class using the builder pattern.protected static classWindowDescription.Init<T extends WindowDescription.Init<T>>Helper class for WindowDescription.Builder.
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the WindowDescription class.protectedWindowDescription(WindowDescription.Init<?> init) Initializes a new instance of the WindowDescription class using the Builder pattern.
- 
Method SummaryModifier and TypeMethodDescriptionIndicates whether this window has a thin-line border.Indicates whether the window has a title bar.Indicates whether this window has a sizing border.Indicates whether this window has a window menu on its title bar.isActive()Indicates whether this window is the foreground objectIndicates whether this window is a child window.Indicates whether this window can be maximized.Indicates whether this window is a multiple-document interface (MDI) child window.Indicates whether this window can be minimized.Indicates whether this window has an owner window.Indicates whether this window is a pop-up window.Indicates whether this window is a tool window (a window intended to be used as a floating toolbar).Indicates whether this window is placed above all non-topmost windows and remains in place, even when this window is deactivated.voidSets whether this window is the foreground window.voidSets whether this window has a thin-line border.voidsetCaption(Boolean hasCaption) Sets whether this window has a title bar property.voidsetChildWindow(Boolean isChildWindow) Set whether this window is a child window.voidsetIsMdiChildWindow(Boolean isMdiChildWindow) Set whether this window is a multiple-document interface (MDI) child window.voidsetMaximizable(Boolean isMaximizable) Sets whether this window can be maximized.voidsetMinimizable(Boolean isMinimizable) Set whether this window can be minimized.voidsetOwnedWindow(Boolean isOwnedWindow) Set whether this window has an owner window.voidsetPopupWindow(Boolean isPopupWindow) Set whether this window is a pop-up window.voidsetSizebox(Boolean hasSizebox) Sets whether this window has a sizing border.voidsetSystemMenu(Boolean hasSystemMenu) Sets whether this window has a window menu on its title bar.voidsetToolWindow(Boolean isToolWindow) Set whether this window is a tool window (a window intended to be used as a floating toolbar).voidsetTopmost(Boolean isTopmost) Set whether this window is placed above all non-topmost windows and remains in place, even when this window is deactivated.Methods inherited from class com.hp.lft.sdk.stdwin.UiObjectWithLayoutInfoDescriptionisRightAligned, isRightToLeftLayout, isRightToLeftReading, setRightAligned, setRightToLeftLayout, setRightToLeftReadingMethods inherited from class com.hp.lft.sdk.stdwin.UiObjectBaseDescriptiongetAbsoluteLocation, getAccessibleName, getAttachedText, getLocation, getNativeClass, getSize, getText, getWindowClassRegExp, getWindowExtendedStyle, getWindowExtendedStyleAsLong, getWindowId, getWindowStyle, getWindowStyleAsLong, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAccessibleName, setAccessibleName, setAttachedText, setAttachedText, setEnabled, setFocused, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowExtendedStyle, setWindowExtendedStyle, setWindowId, setWindowStyle, setWindowStyle, setWindowTitleRegExp, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
WindowDescriptionpublic WindowDescription()Initializes a new instance of the WindowDescription class.
- 
WindowDescriptionInitializes a new instance of the WindowDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setActiveSets whether this window is the foreground window.- Parameters:
- isActive- sets whether this is the foreground window.
 
- 
isActiveIndicates whether this window is the foreground object- Returns:
- true when this window is the foreground object.
 
- 
setBorderSets whether this window has a thin-line border.- Parameters:
- hasBorder- sets whether this window has a thin-line border.
 
- 
hasBorderIndicates whether this window has a thin-line border.- Returns:
- true if this window has a thin-line border.
 
- 
setCaptionSets whether this window has a title bar property.- Parameters:
- hasCaption- sets whether this window has a title bar.
 
- 
hasCaptionIndicates whether the window has a title bar.- Returns:
- true if this window has a title bar.
 
- 
setSizeboxSets whether this window has a sizing border.- Parameters:
- hasSizebox- sets whether this window has a sizing border.
 
- 
hasSizeboxIndicates whether this window has a sizing border.- Returns:
- true if the window has a sizing border.
 
- 
setSystemMenuSets 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.
 
- 
hasSystemMenuIndicates whether this window has a window menu on its title bar.- Returns:
- true if this window has a window menu on its title bar.
 
- 
setChildWindowSet whether this window is a child window.- Parameters:
- isChildWindow- sets whether this window is a child window.
 
- 
isChildWindowIndicates whether this window is a child window.- Returns:
- true if the window is a child window.
 
- 
setOwnedWindowSet whether this window has an owner window.- Parameters:
- isOwnedWindow- sets whether this window has an owner window.
 
- 
isOwnedWindowIndicates whether this window has an owner window.- Returns:
- true if the window has an owner window.
 
- 
setIsMdiChildWindowSet 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.
 
- 
isMdiChildWindowIndicates whether this window is a multiple-document interface (MDI) child window.- Returns:
- true if this window is a multiple-document interface (MDI) child window.
 
- 
setPopupWindowSet whether this window is a pop-up window.- Parameters:
- isPopupWindow- sets whether this window is a pop-up window.
 
- 
isPopupWindowIndicates whether this window is a pop-up window.- Returns:
- true if the window is a pop-up window.
 
- 
setToolWindowSet 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.
 
- 
isToolWindowIndicates 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.
 
- 
setMaximizableSets whether this window can be maximized.- Parameters:
- isMaximizable- sets whether this window can be maximized.
 
- 
isMaximizableIndicates whether this window can be maximized.- Returns:
- true if this window can be maximized.
 
- 
setMinimizableSet whether this window can be minimized.- Parameters:
- isMinimizable- sets whether this window can be minimized.
 
- 
isMinimizableIndicates whether this window can be minimized.- Returns:
- true if this window can be minimized.
 
- 
setTopmostSet 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.
 
- 
isTopmostIndicates 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.
 
 
-