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

# Interface MultilineLabelHandle

All Superinterfaces:
  `FormComponentHandle`

public interface MultilineLabelHandle extends FormComponentHandle
Handle for the "Multi-line label" form component. The Swing widget is a read-only `JTextArea`-derived component that displays the configured text.

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MultilineLabelHandle`
  `assertDisabled()`
  `MultilineLabelHandle`
  `assertEnabled()`
  `MultilineLabelHandle`
  `assertInvisible()`
  `MultilineLabelHandle`
  `assertText(String expected)`
  Assert that the currently displayed text equals the expected value.
  `MultilineLabelHandle`
  `assertVisible()`
  `String`
  `getText()`
  The currently displayed text, with variable substitution applied.

  ### Methods inherited from interface FormComponentHandle

  `getId, isEnabled, isVisible`

- ## Method Details

  - ### getText

    @NotNull String getText()
    The currently displayed text, with variable substitution applied.

  - ### assertText

    @NotNull MultilineLabelHandle assertText(@NotNull String expected)
    Assert that the currently displayed text equals the expected value.

  - ### assertEnabled

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

  - ### assertDisabled

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

  - ### assertVisible

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

  - ### assertInvisible

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