# UpdateScheduleSelectorHandle

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

```java
interface UpdateScheduleSelectorHandle extends FormComponentHandle
```

Handle for the "Update schedule selector" form component. The Swing widget is a `JComboBox`
of `com.install4j.runtime.beans.formcomponents.UpdateSchedule` enum values for selecting
an auto-update schedule.

Reach this handle via [`ScreenHandle.updateScheduleSelector`](../ui/ScreenHandle.md#updatescheduleselector).

## Inherited from

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

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`getSchedules()`](#getschedules) | `List<String>` | All schedule labels in the drop-down, as their `toString` forms. |
| [`getSelectedSchedule()`](#getselectedschedule) | `String` | The selected schedule's `toString` form. |
| [`selectSchedule(String)`](#selectschedule-string) | `UpdateScheduleSelectorHandle` | Select the schedule whose label equals the given value. |
| [`assertSelectedSchedule(String)`](#assertselectedschedule-string) | `UpdateScheduleSelectorHandle` | Assert that the currently selected schedule equals the expected value. |
| [`assertEnabled()`](#assertenabled) | `UpdateScheduleSelectorHandle` |  |
| [`assertDisabled()`](#assertdisabled) | `UpdateScheduleSelectorHandle` |  |
| [`assertVisible()`](#assertvisible) | `UpdateScheduleSelectorHandle` |  |
| [`assertInvisible()`](#assertinvisible) | `UpdateScheduleSelectorHandle` |  |

### getSchedules()

```java
List<String> getSchedules()
```

All schedule labels in the drop-down, as their `toString` forms.

### getSelectedSchedule()

```java
String getSelectedSchedule()
```

The selected schedule's `toString` form.

### selectSchedule(String)

```java
UpdateScheduleSelectorHandle selectSchedule(String schedule)
```

Select the schedule whose label equals the given value.

### assertSelectedSchedule(String)

```java
UpdateScheduleSelectorHandle assertSelectedSchedule(String expected)
```

Assert that the currently selected schedule equals the expected value.

### assertEnabled()

```java
UpdateScheduleSelectorHandle assertEnabled()
```

### assertDisabled()

```java
UpdateScheduleSelectorHandle assertDisabled()
```

### assertVisible()

```java
UpdateScheduleSelectorHandle assertVisible()
```

### assertInvisible()

```java
UpdateScheduleSelectorHandle assertInvisible()
```

