Open topic with navigation

com.hp.lft.sdk.web

## Class ImageDescription.Init<T extends ImageDescription.Init<T>>

- java.lang.Object
- - com.hp.lft.sdk.DescriptionBase.Init<T>
  - - com.hp.lft.sdk.web.WebBaseDescription.Init<T>
    - - com.hp.lft.sdk.web.WebElementDescription.Init<T>
      - - com.hp.lft.sdk.web.ImageDescription.Init<T>

- Direct Known Subclasses:
    ImageDescription.Builder
  Enclosing class:
    ImageDescription

      protected abstract static class ImageDescription.Init<T extends ImageDescription.Init<T>>
      extends WebElementDescription.Init<T>

  Helper class for ImageDescription.Builder.

- - ### Constructor Summary

    Modifier | Constructor and Description
    --- | ---
    `protected` | `Init()`

  - ### Method Summary

    Modifier and Type | Method and Description
    --- | ---
    `T` | `alt(java.lang.String alt)` Initializes the image's tooltip text.
    `T` | `alt(StringProperty alt)` Initializes the image's tooltip text.
    `ImageDescription` | `build()` Returns the built description instance (builder pattern).
    `T` | `href(java.lang.String href)` Initializes the location to which the browser navigates when the image is clicked.
    `T` | `href(StringProperty href)` Initializes the location to which the browser navigates when the image is clicked.
    `T` | `src(java.lang.String src)` Initializes the image source in URL format.
    `T` | `src(StringProperty src)` Initializes the image source in URL format.
    `T` | `target(java.lang.String target)` Initializes the name of the frame that will be navigated when user clicks on the frame.
    `T` | `target(StringProperty target)` Initializes the name of the frame that will be navigated when user clicks on the frame.
    `T` | `type(ImageType type)` Initializes the image type.

    - ### Methods inherited from class com.hp.lft.sdk.web.WebElementDescription.Init

      `accessibilityName, accessibilityName, cssSelector, cssSelector, role, role, xpath, xpath`

    - ### Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.Init

      `absoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visible`

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

      `index, self, vri, vri`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Init

          protected Init()

  - ### Method Detail

    - #### build

          public ImageDescription build()

      Description copied from class: `DescriptionBase.Init`
      Returns the built description instance (builder pattern).
      Overrides:
        `build` in class `WebElementDescription.Init<T extends ImageDescription.Init<T>>`
      Returns:
        The built description instance (builder pattern).

    - #### alt

          public T alt(java.lang.String alt)

      Initializes the image's tooltip text.
      Parameters:
        `alt` - the image's tooltip text.
      Returns:
        the description instance with the update state (builder pattern).

    - #### alt

          public T alt(StringProperty alt)

      Initializes the image's tooltip text.
      Parameters:
        `alt` - a StringProperty(or RegExpProperty) representing the image's tooltip text.
      Returns:
        the description instance with the update state (builder pattern).

    - #### src

          public T src(java.lang.String src)

      Initializes the image source in URL format.
      Parameters:
        `src` - the image source in URL format.
      Returns:
        the description instance with the update state (builder pattern).

    - #### src

          public T src(StringProperty src)

      Initializes the image source in URL format.
      Parameters:
        `src` - a StringProperty(or RegExpProperty) representing the image source in URL format.
      Returns:
        the description instance with the update state (builder pattern).

    - #### target

          public T target(java.lang.String target)

      Initializes the name of the frame that will be navigated when user clicks on the frame.
      Parameters:
        `target` - the name of the frame that will be navigated when user clicks on the frame.
      Returns:
        the description instance with the update state (builder pattern).

    - #### target

          public T target(StringProperty target)

      Initializes the name of the frame that will be navigated when user clicks on the frame.
      Parameters:
        `target` - a StringProperty(or RegExpProperty) representing the name of the frame that will be navigated when user clicks on the frame.
      Returns:
        the description instance with the update state (builder pattern).

    - #### href

          public T href(java.lang.String href)

      Initializes the location to which the browser navigates when the image is clicked.
      Parameters:
        `href` - the location to which the browser navigates when the image is clicked.
      Returns:
        the description instance with the update state (builder pattern).

    - #### href

          public T href(StringProperty href)

      Initializes the location to which the browser navigates when the image is clicked.
      Parameters:
        `href` - a StringProperty(or RegExpProperty) representing the location to which the browser navigates when the image is clicked.
      Returns:
        the description instance with the update state (builder pattern).

    - #### type

          public T type(ImageType type)

      Initializes the image type.
      Parameters:
        `type` - the image type.
      Returns:
        the description instance with the update state (builder pattern).