Package com.hp.lft.sdk.winforms
Class StatusBarDescription
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.StatusBarDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of a .NET Windows Forms StatusBar test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the StatusBarDescription class using the builder pattern.protected static class
StatusBarDescription.Init<T extends StatusBarDescription.Init<T>>
-
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new StatusBarDescription.protected
-
Method Summary
Modifier and TypeMethodDescriptionReturns the static text that is attached to this object.String[]
getItems()
Returns the items in the status bar.Returns the number of items in the status bar.Returns the extended window style of the object.Returns the extended window style of the object as long.Returns the window style of the object.Returns the window style of the object as long.Indicates whether the object has generic right-aligned properties.Indicates whether the object's horizontal origin is on the right edge.Indicates whether the object's text is displayed using right-to-left reading-order properties.void
setAttachedText
(StringProperty attachedText) Sets the static text that is attached to the object.void
setAttachedText
(String attachedText) Sets the static text that is attached to the object.void
Sets the items in the status bar.void
setItemsCount
(Integer count) Sets the number of items in the status bar.void
setRightAligned
(Boolean rightAligned) Sets whether the generic right-aligned properties state of test object.void
setRightToLeftLayout
(Boolean rightToLeftLayout) Sets whether the object's horizontal origin is on the right edge state of test object.void
setRightToLeftReading
(Boolean rightToLeftReading) Sets whether the object's text is displayed using right-to-left reading-order properties state of test object.void
setWindowExtendedStyle
(Long windowExtendedStyle) Sets the extended window style of the object as long.void
setWindowExtendedStyle
(EnumSet<WindowExtendedStyles> windowExtendedStyle) Sets the extended window style of the object.void
setWindowStyle
(Long windowStyle) Sets window style of the object as long.void
setWindowStyle
(EnumSet<WindowStyles> windowStyle) Sets window style of the object.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
-
StatusBarDescription
public StatusBarDescription()Constructs a new StatusBarDescription. -
StatusBarDescription
-
-
Method Details
-
setItems
Sets the items in the status bar.- Parameters:
items
- the items
-
getItems
Returns the items in the status bar.- Returns:
- the items
-
setItemsCount
Sets the number of items in the status bar.- Parameters:
count
- the item count
-
getItemsCount
Returns the number of items in the status bar.- Returns:
- the item count
-
setRightAligned
Sets whether the generic right-aligned properties state of test object.- Parameters:
rightAligned
- the generic right-aligned properties state of test object.
-
isRightAligned
Indicates whether the object has generic right-aligned properties.- Returns:
- true, if the current object has generic right-aligned properties.
-
setRightToLeftLayout
Sets whether the object's horizontal origin is on the right edge state of test object.- Parameters:
rightToLeftLayout
- the object's horizontal origin is on the right edge.
-
isRightToLeftLayout
Indicates whether the object's horizontal origin is on the right edge.- Returns:
- true, if the object's horizontal origin is on the right edge.
-
setRightToLeftReading
Sets whether the object's text is displayed using right-to-left reading-order properties state of test object.- Parameters:
rightToLeftReading
- the object's text is displayed using right-to-left reading-order properties state of test object.
-
isRightToLeftReading
Indicates whether the object's text is displayed using right-to-left reading-order properties.- Returns:
- true, if the object's text is displayed using right-to-left reading-order properties.
-
setAttachedText
Sets the static text that is attached to the object.- Parameters:
attachedText
- the the static text that is attached to this object.
-
setAttachedText
Sets the static text that is attached to the object.- Parameters:
attachedText
- aStringProperty
orRegExpProperty
-
getAttachedText
Returns the static text that is attached to this object.- Returns:
- the static text that is attached to this object.
-
getWindowExtendedStyle
Returns the extended window style of the object.- Returns:
- the extended window style of the object.
-
setWindowExtendedStyle
Sets the extended window style of the object.- Parameters:
windowExtendedStyle
- the extended window style of the object.
-
getWindowExtendedStyleAsLong
Returns the extended window style of the object as long.- Returns:
- the extended window style of the object as long.
-
setWindowExtendedStyle
Sets the extended window style of the object as long.- Parameters:
windowExtendedStyle
- the extended window style of the object as long.
-
getWindowStyle
Returns the window style of the object.- Returns:
- the window style of the object.
-
setWindowStyle
Sets window style of the object.- Parameters:
windowStyle
- window style of the object.
-
getWindowStyleAsLong
Returns the window style of the object as long.- Returns:
- the window style of the object as long.
-
setWindowStyle
Sets window style of the object as long.- Parameters:
windowStyle
- window style of the object as long.
-