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

# Interface SimpleLeadingLabelHandle

All Superinterfaces:
  `FormComponentHandle`

public interface SimpleLeadingLabelHandle extends FormComponentHandle
Handle for the "Leading label" form component. The Swing widget is a `JLabel` occupying the leading-label slot of a form component row, with no center widget. Useful for decorating a form layout with standalone labels.

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SimpleLeadingLabelHandle`
  `assertDisabled()`
  `SimpleLeadingLabelHandle`
  `assertEnabled()`
  `SimpleLeadingLabelHandle`
  `assertInvisible()`
  `SimpleLeadingLabelHandle`
  `assertText(String expected)`
  Assert that the leading label displays the expected value.
  `SimpleLeadingLabelHandle`
  `assertVisible()`
  `String`
  `getText()`
  The current label text.

  ### Methods inherited from interface FormComponentHandle

  `getId, isEnabled, isVisible`

- ## Method Details

  - ### getText

    @NotNull String getText()
    The current label text.

  - ### assertText

    @NotNull SimpleLeadingLabelHandle assertText(@NotNull String expected)
    Assert that the leading label displays the expected value.

  - ### assertEnabled

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

  - ### assertDisabled

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

  - ### assertVisible

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

  - ### assertInvisible

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