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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the WindowDescription class using the builder pattern.protected static class
WindowDescription.Init<T extends WindowDescription.Init<T>>
-
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the WindowDescription class.protected
WindowDescription
(WindowDescription.Init<?> init) -
Method Summary
Modifier 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.void
Sets whether this object is the foreground object.void
Sets whether this object has a thin-line border.void
setCaption
(Boolean hasCaption) Sets whether this object has a title bar.void
setMaximizable
(Boolean isMaximizable) Sets whether this object can be maximized.void
setMdiChildWindow
(Boolean isMdiChildWindow) Sets whether this object is a multiple-document interface (MDI) child window.void
setMinimizable
(Boolean isMinimizable) Sets whether this object can be minimized.void
setPopupWindow
(Boolean isPopupWindow) Sets whether this object is a pop-up window.void
setSizebox
(Boolean hasSizebox) Sets whether this object has a sizing border.void
setSystemMenu
(Boolean hasSystemMenu) Sets whether this object has a window menu on its title bar.void
setToolWindow
(Boolean isToolWindow) Sets whether this object is intended to be a floating toolbar.void
setTopmost
(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.UiObjectDescriptionBase
getAbsoluteLocation, 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, setWindowTitleRegExp
Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
WindowDescription
public WindowDescription()Initializes a new instance of the WindowDescription class. -
WindowDescription
-
-
Method Details
-
setActive
Sets whether this object is the foreground object.- Parameters:
isActive
- true if foreground
-
isActive
Indicates whether this object is the foreground object- Returns:
- true if foreground
-
setBorder
Sets whether this object has a thin-line border.- Parameters:
hasBorder
- true if has thin-line border
-
hasBorder
Indicates whether the object has a thin-line border.- Returns:
- true if has thin-line border
-
setCaption
Sets whether this object has a title bar.- Parameters:
hasCaption
- true if has title bar
-
hasCaption
Indicates whether this object has a title bar.- Returns:
- true if has title bar
-
setSizebox
Sets whether this object has a sizing border.- Parameters:
hasSizebox
- true if has sizing border
-
hasSizebox
Indicates whether this object has a sizing border.- Returns:
- true if has sizing border
-
setSystemMenu
Sets whether this object has a window menu on its title bar.- Parameters:
hasSystemMenu
- true if has window menu on its title bar
-
hasSystemMenu
Indicates whether this object has a window menu on its title bar.- Returns:
- true if has window menu on its title bar
-
setMdiChildWindow
Sets whether this object is a multiple-document interface (MDI) child window.- Parameters:
isMdiChildWindow
- true if is MDI child window
-
isMdiChildWindow
Indicates whether this object is a multiple-document interface (MDI) child window.- Returns:
- true if is MDI child window
-
setPopupWindow
Sets whether this object is a pop-up window.- Parameters:
isPopupWindow
- true if is pop-up window
-
isPopupWindow
Indicates whether this object is a pop-up window.- Returns:
- true if is pop-up window
-
setToolWindow
Sets whether this object is intended to be a floating toolbar.- Parameters:
isToolWindow
- true if is tool window
-
isToolWindow
Indicates whether this object is intended to be a floating toolbar.- Returns:
- true if is tool window
-
setMaximizable
Sets whether this object can be maximized.- Parameters:
isMaximizable
- true if can be maximized
-
isMaximizable
Indicates whether this object can be maximized.- Returns:
- true if can be maximized
-
setMinimizable
Sets whether this object can be minimized.- Parameters:
isMinimizable
- true if can be minimized
-
isMinimizable
Indicates whether this object can be minimized.- Returns:
- true if can be minimized
-
setTopmost
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
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
-