# IndeterminateStateComponent

Import: `import com.install4j.api.laf.IndeterminateStateComponent;`

```java
interface IndeterminateStateComponent
```

Interface that must be implemented by a tri-state check box.
Tri-state check boxes are returned by [`LookAndFeelEnhancer.createTriStateCheckBox`](LookAndFeelEnhancer.md#createtristatecheckbox).

Note that when `JCheckBox#setSelected(boolean)` is called,
the indeterminate state must be set to false.

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`setIndeterminate(boolean)`](#setindeterminate-boolean) | `void` | Sets whether the checkbox is in the third, indeterminate state. |

### setIndeterminate(boolean)

```java
void setIndeterminate(boolean indeterminate)
```

Sets whether the checkbox is in the third, indeterminate state.


**Parameters:**

- `indeterminate` — if `false` is passed, the checkbox must revert
to the previous determinate state.

