Class StatusBarDescription

java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable

public class StatusBarDescription extends UiObjectDescriptionBase
The description of a .NET Windows Forms StatusBar test object.
  • Constructor Details

    • StatusBarDescription

      public StatusBarDescription()
      Constructs a new StatusBarDescription.
    • StatusBarDescription

      protected StatusBarDescription(StatusBarDescription.Init<?> init)
  • Method Details

    • setItems

      public void setItems(String[] items)
      Sets the items in the status bar.
      Parameters:
      items - the items
    • getItems

      public String[] getItems()
      Returns the items in the status bar.
      Returns:
      the items
    • setItemsCount

      public void setItemsCount(Integer count)
      Sets the number of items in the status bar.
      Parameters:
      count - the item count
    • getItemsCount

      public Integer getItemsCount()
      Returns the number of items in the status bar.
      Returns:
      the item count
    • setRightAligned

      public void setRightAligned(Boolean rightAligned)
      Sets whether the generic right-aligned properties state of test object.
      Parameters:
      rightAligned - the generic right-aligned properties state of test object.
    • isRightAligned

      public Boolean isRightAligned()
      Indicates whether the object has generic right-aligned properties.
      Returns:
      true, if the current object has generic right-aligned properties.
    • setRightToLeftLayout

      public void setRightToLeftLayout(Boolean rightToLeftLayout)
      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

      public Boolean 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

      public void setRightToLeftReading(Boolean rightToLeftReading)
      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

      public Boolean 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

      public void setAttachedText(String attachedText)
      Sets the static text that is attached to the object.
      Parameters:
      attachedText - the the static text that is attached to this object.
    • setAttachedText

      public void setAttachedText(StringProperty attachedText)
      Sets the static text that is attached to the object.
      Parameters:
      attachedText - a StringProperty or RegExpProperty
    • getAttachedText

      public StringProperty getAttachedText()
      Returns the static text that is attached to this object.
      Returns:
      the static text that is attached to this object.
    • getWindowExtendedStyle

      public EnumSet<WindowExtendedStyles> getWindowExtendedStyle()
      Returns the extended window style of the object.
      Returns:
      the extended window style of the object.
    • setWindowExtendedStyle

      public void setWindowExtendedStyle(EnumSet<WindowExtendedStyles> windowExtendedStyle)
      Sets the extended window style of the object.
      Parameters:
      windowExtendedStyle - the extended window style of the object.
    • getWindowExtendedStyleAsLong

      public Long getWindowExtendedStyleAsLong()
      Returns the extended window style of the object as long.
      Returns:
      the extended window style of the object as long.
    • setWindowExtendedStyle

      public void setWindowExtendedStyle(Long windowExtendedStyle)
      Sets the extended window style of the object as long.
      Parameters:
      windowExtendedStyle - the extended window style of the object as long.
    • getWindowStyle

      public EnumSet<WindowStyles> getWindowStyle()
      Returns the window style of the object.
      Returns:
      the window style of the object.
    • setWindowStyle

      public void setWindowStyle(EnumSet<WindowStyles> windowStyle)
      Sets window style of the object.
      Parameters:
      windowStyle - window style of the object.
    • getWindowStyleAsLong

      public Long getWindowStyleAsLong()
      Returns the window style of the object as long.
      Returns:
      the window style of the object as long.
    • setWindowStyle

      public void setWindowStyle(Long windowStyle)
      Sets window style of the object as long.
      Parameters:
      windowStyle - window style of the object as long.