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 classThis class can be used to construct an instance of the StatusBarDescription class using the builder pattern.protected static classStatusBarDescription.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.voidsetAttachedText(StringProperty attachedText) Sets the static text that is attached to the object.voidsetAttachedText(String attachedText) Sets the static text that is attached to the object.voidSets the items in the status bar.voidsetItemsCount(Integer count) Sets the number of items in the status bar.voidsetRightAligned(Boolean rightAligned) Sets whether the generic right-aligned properties state of test object.voidsetRightToLeftLayout(Boolean rightToLeftLayout) Sets whether the object's horizontal origin is on the right edge state of test object.voidsetRightToLeftReading(Boolean rightToLeftReading) Sets whether the object's text is displayed using right-to-left reading-order properties state of test object.voidsetWindowExtendedStyle(Long windowExtendedStyle) Sets the extended window style of the object as long.voidsetWindowExtendedStyle(EnumSet<WindowExtendedStyles> windowExtendedStyle) Sets the extended window style of the object.voidsetWindowStyle(Long windowStyle) Sets window style of the object as long.voidsetWindowStyle(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, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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- aStringPropertyorRegExpProperty
-
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.
-