Special Options
Learn about other Option implementations for more functionality.
ListOption
ListOptionListOption.<String>createBuilder()
.name(Component.literal("List Option"))
.binding(/* gets and sets a List, requires list field to be not final, does not manipulate the list */)
.controller(StringControllerBuilder::create) // usual controllers, passed to every entry
.initial("") // when adding a new entry to the list, this is the initial value it has
.build()
LabelOption
LabelOptionButtonOption
ButtonOptionLast updated