IndeterminateStateComponent (install4j API)
Description: declaration: package: com.install4j.api.laf, interface: IndeterminateStateComponent

# Interface IndeterminateStateComponent

public interface IndeterminateStateComponent
Interface that must be implemented by a tri-state check box. Tri-state check boxes are returned by `LookAndFeelEnhancer.createTriStateCheckBox()`.

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `setIndeterminate(boolean indeterminate)`
  Sets whether the checkbox is in the third, indeterminate state.

- ## Method Details

  - ### setIndeterminate

    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.