# MultilineLabelHandle

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

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

## Inherited from

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

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`getText()`](#gettext) | `String` | The currently displayed text, with variable substitution applied. |
| [`assertText(String)`](#asserttext-string) | `MultilineLabelHandle` | Assert that the currently displayed text equals the expected value. |
| [`assertEnabled()`](#assertenabled) | `MultilineLabelHandle` |  |
| [`assertDisabled()`](#assertdisabled) | `MultilineLabelHandle` |  |
| [`assertVisible()`](#assertvisible) | `MultilineLabelHandle` |  |
| [`assertInvisible()`](#assertinvisible) | `MultilineLabelHandle` |  |

### getText()

```java
String getText()
```

The currently displayed text, with variable substitution applied.

### assertText(String)

```java
MultilineLabelHandle assertText(String expected)
```

Assert that the currently displayed text equals the expected value.

### assertEnabled()

```java
MultilineLabelHandle assertEnabled()
```

### assertDisabled()

```java
MultilineLabelHandle assertDisabled()
```

### assertVisible()

```java
MultilineLabelHandle assertVisible()
```

### assertInvisible()

```java
MultilineLabelHandle assertInvisible()
```

