MultilineHtmlLabelHandle (install4j API)
Description: declaration: package: com.install4j.api.test.formcomponents, interface: MultilineHtmlLabelHandle

# Interface MultilineHtmlLabelHandle

All Superinterfaces:
  `FormComponentHandle`

public interface MultilineHtmlLabelHandle extends FormComponentHandle
Handle for the "Multi-line HTML label" form component. The Swing widget is a `JTextPane` rendering HTML.

Reach this handle via `ScreenHandle.multilineHtmlLabel()`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MultilineHtmlLabelHandle`
  `assertDisabled()`
  `MultilineHtmlLabelHandle`
  `assertEnabled()`
  `MultilineHtmlLabelHandle`
  `assertInvisible()`
  `MultilineHtmlLabelHandle`
  `assertTextContains(String substring)`
  Assert that the displayed text contains the given substring.
  `MultilineHtmlLabelHandle`
  `assertVisible()`
  `String`
  `getText()`
  The displayed text with HTML markup stripped.

  ### Methods inherited from interface FormComponentHandle

  `getId, isEnabled, isVisible`

- ## Method Details

  - ### getText

    @NotNull String getText()
    The displayed text with HTML markup stripped.

  - ### assertTextContains

    @NotNull MultilineHtmlLabelHandle assertTextContains(@NotNull String substring)
    Assert that the displayed text contains the given substring.

  - ### assertEnabled

    @NotNull MultilineHtmlLabelHandle assertEnabled()
    Specified by:
      `assertEnabled` in interface `FormComponentHandle`

  - ### assertDisabled

    @NotNull MultilineHtmlLabelHandle assertDisabled()
    Specified by:
      `assertDisabled` in interface `FormComponentHandle`

  - ### assertVisible

    @NotNull MultilineHtmlLabelHandle assertVisible()
    Specified by:
      `assertVisible` in interface `FormComponentHandle`

  - ### assertInvisible

    @NotNull MultilineHtmlLabelHandle assertInvisible()
    Specified by:
      `assertInvisible` in interface `FormComponentHandle`