Interface CheckboxItem

All Superinterfaces:
PromptItem
All Known Subinterfaces:
SeparatorItem
All Known Implementing Classes:
DefaultCheckboxItem, DefaultSeparatorItem

public interface CheckboxItem extends PromptItem
Interface for checkbox items in the Prompter. Checkbox items are immutable - their checked state is managed by the builder.
  • Method Details

    • isInitiallyChecked

      default boolean isInitiallyChecked()
      Whether this checkbox is initially checked. This represents the default/initial state, not the current selection.
      Returns:
      true if this checkbox is initially checked