common • net.kernelpanicsoft.archie.config.builder • StringMapBuilder
StringMapBuilder
class StringMapBuilder(resetButtonKey: Component, fieldNameKey: Component, value: Map<String, String>) : MapFieldBuilder<String, StringListEntry, StringMapBuilder> Constructors
StringMapBuilder
Properties
addTooltip
val addTooltip: ComponentdeleteButtonEnabled
expanded
fieldNameKey
@NotNull@get:NotNullval fieldNameKey: @NotNull ComponentinsertButtonEnabled
insertInFront
var insertInFront: BooleankeyErrorSupplier
open var keyErrorSupplier: (String) -> Optional<Component>?removeTooltip
val removeTooltip: ComponentresetButtonKey
@NotNull@get:NotNullval resetButtonKey: @NotNull ComponentsaveConsumer
var saveConsumer: Consumer<MutableList<MutableEntry<String, String>>>tooltipSupplier
var tooltipSupplier: Function<MutableList<MutableEntry<String, String>>, Optional<Array<Component>>>valueErrorSupplier
open var valueErrorSupplier: (String) -> Optional<Component>?valueTooltipSupplier
open var valueTooltipSupplier: (String) -> Optional<Array<Component>>?Functions
build
open override fun build(): NestedListListEntry<MutableEntry<String, String>, MultiElementListEntry<MutableEntry<String, String>>>buildEntry
fun buildEntry(): AbstractConfigListEntry<Any>getCellErrorSupplier
open fun getCellErrorSupplier(): Function<MutableEntry<String, String>, Optional<Component>>getDefaultValue
@Nullablefun getDefaultValue(): @Nullable Supplier<MutableList<MutableEntry<String, String>>>?isRequireRestart
open fun isRequireRestart(): BooleanrequireRestart
open fun requireRestart(): StringMapBuilderopen fun requireRestart(requireRestart: Boolean)setAddButtonTooltip
open fun setAddButtonTooltip(addTooltip: Component): StringMapBuildersetCellErrorSupplier
open fun setCellErrorSupplier(cellErrorSupplier: Function<MutableEntry<String, String>, Optional<Component>>): StringMapBuildersetDefaultValue
open fun setDefaultValue(defaultValue: Supplier<MutableList<MutableEntry<String, String>>>): StringMapBuilderopen fun setDefaultValue(defaultValue: MutableList<MutableEntry<String, String>>): StringMapBuildersetDisplayRequirement
@Contract(mutates = "this")@ApiStatus.Experimentalfun setDisplayRequirement(requirement: Requirement): StringMapBuildersetErrorSupplier
open fun setErrorSupplier(errorSupplier: Function<MutableList<MutableEntry<String, String>>, Optional<Component>>): StringMapBuildersetRemoveButtonTooltip
open fun setRemoveButtonTooltip(removeTooltip: Component): StringMapBuildersetRequirement
@Contract(mutates = "this")@ApiStatus.Experimentalfun setRequirement(requirement: Requirement): StringMapBuildersetTooltip
open fun setTooltip(tooltip: Optional<Array<Component>>): StringMapBuilderopen fun setTooltip(vararg tooltip: Component): StringMapBuildersetTooltipSupplier
open fun setTooltipSupplier(tooltipSupplier: Supplier<Optional<Array<Component>>>): StringMapBuildervalueBuilder
open override fun ConfigEntryBuilder.valueBuilder(title: Component, value: String, list: NestedListListEntry<MutableEntry<String, String>, MultiElementListEntry<MutableEntry<String, String>>>): AbstractFieldBuilder<String, StringListEntry, *>valueFactory
open override fun valueFactory(): String