Package com.hp.lft.sdk.winforms
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.winforms.UiObjectDescriptionBase
com.hp.lft.sdk.winforms.WindowDescription
- All Implemented Interfaces:
- CloneableObject,- Description,- com.hp.lft.sdk.internal.DescriptionWithVri,- Cloneable
The description of a .NET Windows Forms 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>>
- 
Field SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the WindowDescription class.protectedWindowDescription(WindowDescription.Init<?> init) 
- 
Method SummaryModifier and TypeMethodDescriptionIndicates whether the object has a thin-line border.Indicates whether this object has a title bar.Indicates whether this object has a sizing border.Indicates whether this object has a window menu on its title bar.isActive()Indicates whether this object is the foreground objectIndicates whether this object can be maximized.Indicates whether this object is a multiple-document interface (MDI) child window.Indicates whether this object can be minimized.Indicates whether this object is a pop-up window.Indicates whether this object is intended to be a floating toolbar.Sets whether this object should stay above all non-topmost windows, even when this object is deactivated.voidSets whether this object is the foreground object.voidSets whether this object has a thin-line border.voidsetCaption(Boolean hasCaption) Sets whether this object has a title bar.voidsetMaximizable(Boolean isMaximizable) Sets whether this object can be maximized.voidsetMdiChildWindow(Boolean isMdiChildWindow) Sets whether this object is a multiple-document interface (MDI) child window.voidsetMinimizable(Boolean isMinimizable) Sets whether this object can be minimized.voidsetPopupWindow(Boolean isPopupWindow) Sets whether this object is a pop-up window.voidsetSizebox(Boolean hasSizebox) Sets whether this object has a sizing border.voidsetSystemMenu(Boolean hasSystemMenu) Sets whether this object has a window menu on its title bar.voidsetToolWindow(Boolean isToolWindow) Sets whether this object is intended to be a floating toolbar.voidsetTopmost(Boolean isTopmost) Sets whether this object should stay above all non-topmost windows, even when this object is deactivated.Methods inherited from class com.hp.lft.sdk.winforms.UiObjectDescriptionBasegetAbsoluteLocation, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowClassRegExp, getWindowId, getWindowTitleRegExp, isChildWindow, isEnabled, isFocused, isOwnedWindow, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setChildWindow, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setOwnedWindow, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowId, 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.
- 
WindowDescription
 
- 
- 
Method Details- 
setActiveSets whether this object is the foreground object.- Parameters:
- isActive- true if foreground
 
- 
isActiveIndicates whether this object is the foreground object- Returns:
- true if foreground
 
- 
setBorderSets whether this object has a thin-line border.- Parameters:
- hasBorder- true if has thin-line border
 
- 
hasBorderIndicates whether the object has a thin-line border.- Returns:
- true if has thin-line border
 
- 
setCaptionSets whether this object has a title bar.- Parameters:
- hasCaption- true if has title bar
 
- 
hasCaptionIndicates whether this object has a title bar.- Returns:
- true if has title bar
 
- 
setSizeboxSets whether this object has a sizing border.- Parameters:
- hasSizebox- true if has sizing border
 
- 
hasSizeboxIndicates whether this object has a sizing border.- Returns:
- true if has sizing border
 
- 
setSystemMenuSets whether this object has a window menu on its title bar.- Parameters:
- hasSystemMenu- true if has window menu on its title bar
 
- 
hasSystemMenuIndicates whether this object has a window menu on its title bar.- Returns:
- true if has window menu on its title bar
 
- 
setMdiChildWindowSets whether this object is a multiple-document interface (MDI) child window.- Parameters:
- isMdiChildWindow- true if is MDI child window
 
- 
isMdiChildWindowIndicates whether this object is a multiple-document interface (MDI) child window.- Returns:
- true if is MDI child window
 
- 
setPopupWindowSets whether this object is a pop-up window.- Parameters:
- isPopupWindow- true if is pop-up window
 
- 
isPopupWindowIndicates whether this object is a pop-up window.- Returns:
- true if is pop-up window
 
- 
setToolWindowSets whether this object is intended to be a floating toolbar.- Parameters:
- isToolWindow- true if is tool window
 
- 
isToolWindowIndicates whether this object is intended to be a floating toolbar.- Returns:
- true if is tool window
 
- 
setMaximizableSets whether this object can be maximized.- Parameters:
- isMaximizable- true if can be maximized
 
- 
isMaximizableIndicates whether this object can be maximized.- Returns:
- true if can be maximized
 
- 
setMinimizableSets whether this object can be minimized.- Parameters:
- isMinimizable- true if can be minimized
 
- 
isMinimizableIndicates whether this object can be minimized.- Returns:
- true if can be minimized
 
- 
setTopmostSets 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
 
- 
isTopmostSets 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
 
 
-