# ControlButtonType

Import: `import com.install4j.api.context.ControlButtonType;`

```java
public final enum ControlButtonType
```

Types of navigation buttons in the user interface. This is used by methods in
[`WizardContext`](WizardContext.md) and in the styles API.


**See also:**

- [WizardContext](WizardContext.md)
- [ControlButton](../styles/ControlButton.md)
- [ControlButtonContainer](../styles/ControlButtonContainer.md)

## Constants

### PREVIOUS

The button to go to the previous screen.

### NEXT

The button to go to the next screen.

### CANCEL

The button to cancel the installer application.

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`values()`](#values) | `ControlButtonType[]` |  |
| [`valueOf(String)`](#valueof-string) | `ControlButtonType` |  |
| [`toString()`](#tostring) | `String` |  |

### values()

```java
public static ControlButtonType[] values()
```

### valueOf(String)

```java
public static ControlButtonType valueOf(String name)
```

### toString()

```java
public String toString()
```

