Share this page

com.hp.lft.sdk.wpf

## Class CalendarDescription

- java.lang.Object
- - com.hp.lft.sdk.internal.PropertiesDescriptionBase
  - - com.hp.lft.sdk.PropertiesDescription
    - - com.hp.lft.sdk.DescriptionBase
      - - com.hp.lft.sdk.wpf.UiObjectDescriptionBase
        - - com.hp.lft.sdk.wpf.CalendarDescription

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

      public class CalendarDescription
      extends UiObjectDescriptionBase

  The description of a WPF calendar or date picker control test object.

- - ### Nested Class Summary

    Modifier and Type | Class and Description
    --- | ---
    `static class` | `CalendarDescription.Builder` This class can be used to construct an instance of the CalendarDescription class using the builder pattern.
    `protected static class` | `CalendarDescription.Init<T extends CalendarDescription.Init<T>>`

  - ### Field Summary

    - ### Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase

      `properties`

  - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `` | `CalendarDescription()` Constructs a new instance of CalendarDescription.
    `protected` | `CalendarDescription(CalendarDescription.Init<?> init)`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `StringProperty` | `getHelpText()` Returns the help text associated with this object.
    `StringProperty` | `getParentText()` Returns the text associated with the parent object of this object.
    `void` | `setHelpText(java.lang.String helpText)` Sets the help text associated with this object.
    `void` | `setHelpText(StringProperty helpText)` Sets the help text associated with this object.
    `void` | `setParentText(java.lang.String parentText)` Sets the text associated with the parent object of this object.
    `void` | `setParentText(StringProperty parentText)` Sets the text associated with the parent object of this object.

    - ### Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase

      `canFocus, getAbsoluteLocation, getAttachedText, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getObjectProperties, getSize, getText, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setCanFocus, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setObjectProperties, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExp`

    - ### Methods inherited from class com.hp.lft.sdk.DescriptionBase

      `cloneTo, getIndex, getIndexType, getVRI, setIndex, setIndexType, 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 Detail

    - #### CalendarDescription

          public CalendarDescription()

      Constructs a new instance of CalendarDescription.

    - #### CalendarDescription

          protected CalendarDescription(CalendarDescription.Init<?> init)

  - ### Method Detail

    - #### setParentText

          public void setParentText(java.lang.String parentText)

      Sets the text associated with the parent object of this object.
      Parameters:
        `parentText` - the text to associate with the parent object

    - #### setParentText

          public void setParentText(StringProperty parentText)

      Sets the text associated with the parent object of this object.
      Parameters:
        `parentText` - a StringProperty or RegExpProperty

    - #### getParentText

          public StringProperty getParentText()

      Returns the text associated with the parent object of this object.
      Returns:
        parentText the text associated with the parent

    - #### setHelpText

          public void setHelpText(java.lang.String helpText)

      Sets the help text associated with this object.
      Parameters:
        `helpText` - the help text associated with the this object

    - #### setHelpText

          public void setHelpText(StringProperty helpText)

      Sets the help text associated with this object.
      Parameters:
        `helpText` - a `StringProperty` or `RegExpProperty`

    - #### getHelpText

          public StringProperty getHelpText()

      Returns the help text associated with this object.
      Returns:
        helpText the help text

Tips to improve your search results... UFT Developer Java SDK Reference Version 15.0-15.0.2 UFT Developer SDK Reference All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: