# ApplicationDisplayMode

Import: `import com.install4j.api.update.ApplicationDisplayMode;`

```java
public final enum ApplicationDisplayMode
```

Enumeration class that represents the different display modes. These values are used as an argument for
[`UpdateChecker.getUpdateDescriptor`](UpdateChecker.md#getupdatedescriptor-string-applicationdisplaymode).

## Constants

### GUI

The invoking application runs with a Swing GUI. Displaying a proxy dialog is acceptable.

### CONSOLE

The invoking application runs on the command line. Asking for proxy information on the command line
is acceptable.

### UNATTENDED

The invoking application does not take user input from a GUI or on the command line. Proxy information
cannot be supplied by the user.

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`values()`](#values) | `ApplicationDisplayMode[]` |  |
| [`valueOf(String)`](#valueof-string) | `ApplicationDisplayMode` |  |
| [`getIntValue()`](#getintvalue) | `int` | Convert to an int value. |
| [`getFromIntValue(int)`](#getfromintvalue-int) | `ApplicationDisplayMode` | Convert int value to constant. |
| [`toString()`](#tostring) | `String` |  |

### values()

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

### valueOf(String)

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

### getIntValue()

```java
public int getIntValue()
```

Convert to an int value.


**Returns:** the int value

### getFromIntValue(int)

```java
public static ApplicationDisplayMode getFromIntValue(int value)
```

Convert int value to constant.


**Parameters:**

- `value` — the int value

**Returns:** the constant

### toString()

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

