Interface DialogModel.Input

All Known Implementing Classes:
DialogModel.Range, DialogModel.Single, DialogModel.Text, DialogModel.Toggle
Enclosing class:
DialogModel

@Internal public static sealed interface DialogModel.Input permits DialogModel.Text, DialogModel.Toggle, DialogModel.Single, DialogModel.Range
A form control; positional wire keys are mapped back to the original handles on submission.
  • Method Summary

    Modifier and Type
    Method
    Description
    key()
    Positional wire key, not the module's form input key.
    net.kyori.adventure.text.Component
    Already-localized control label.
  • Method Details

    • key

      String key()
      Positional wire key, not the module's form input key.
    • label

      net.kyori.adventure.text.Component label()
      Already-localized control label.