# InstallationTypeSelectorHandle

Import: `import com.install4j.api.test.ui.InstallationTypeSelectorHandle;`

```java
interface InstallationTypeSelectorHandle
```

Drives the JTree on an "Installation type" screen.

Reach this handle via [`ScreenHandle.installationTypeSelector`](ScreenHandle.md#installationtypeselector).

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`getAvailableTypeIds()`](#getavailabletypeids) | `List<String>` | The ids of every installation type displayed on this screen. |
| [`getSelectedTypeId()`](#getselectedtypeid) | `String` | The id of the currently selected installation type, or empty if nothing is selected. |
| [`getTypeName(String)`](#gettypename-string) | `String` | Display name of the installation type with the given id. |
| [`getTypeDescription(String)`](#gettypedescription-string) | `String` | Description of the installation type with the given id. |
| [`isTypeUserCanCustomize(String)`](#istypeusercancustomize-string) | `boolean` | Whether the installation type with the given id lets the user customize the component selection afterward. |
| [`selectType(String)`](#selecttype-string) | `InstallationTypeSelectorHandle` | Select an installation type. |
| [`assertSelectedType(String)`](#assertselectedtype-string) | `InstallationTypeSelectorHandle` | Assert that `typeId` is currently selected. |

### getAvailableTypeIds()

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

The ids of every installation type displayed on this screen.

### getSelectedTypeId()

```java
String getSelectedTypeId()
```

The id of the currently selected installation type, or empty if nothing is selected.

### getTypeName(String)

```java
String getTypeName(String typeId)
```

Display name of the installation type with the given id.

### getTypeDescription(String)

```java
String getTypeDescription(String typeId)
```

Description of the installation type with the given id.

### isTypeUserCanCustomize(String)

```java
boolean isTypeUserCanCustomize(String typeId)
```

Whether the installation type with the given id lets the user customize the component
selection afterward. This controls the visibility of the subsequent components screen.

### selectType(String)

```java
InstallationTypeSelectorHandle selectType(String typeId)
```

Select an installation type.

### assertSelectedType(String)

```java
InstallationTypeSelectorHandle assertSelectedType(String typeId)
```

Assert that `typeId` is currently selected.

