# MultilineHtmlLabelHandle

Import: `import com.install4j.api.test.formcomponents.MultilineHtmlLabelHandle;`

```java
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`](../ui/ScreenHandle.md#multilinehtmllabel).

## Inherited from

- [FormComponentHandle](FormComponentHandle.md) — 7 methods

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`getText()`](#gettext) | `String` | The displayed text with HTML markup stripped. |
| [`assertTextContains(String)`](#asserttextcontains-string) | `MultilineHtmlLabelHandle` | Assert that the displayed text contains the given substring. |
| [`assertEnabled()`](#assertenabled) | `MultilineHtmlLabelHandle` |  |
| [`assertDisabled()`](#assertdisabled) | `MultilineHtmlLabelHandle` |  |
| [`assertVisible()`](#assertvisible) | `MultilineHtmlLabelHandle` |  |
| [`assertInvisible()`](#assertinvisible) | `MultilineHtmlLabelHandle` |  |

### getText()

```java
String getText()
```

The displayed text with HTML markup stripped.

### assertTextContains(String)

```java
MultilineHtmlLabelHandle assertTextContains(String substring)
```

Assert that the displayed text contains the given substring.

### assertEnabled()

```java
MultilineHtmlLabelHandle assertEnabled()
```

### assertDisabled()

```java
MultilineHtmlLabelHandle assertDisabled()
```

### assertVisible()

```java
MultilineHtmlLabelHandle assertVisible()
```

### assertInvisible()

```java
MultilineHtmlLabelHandle assertInvisible()
```

