common • net.kernelpanicsoft.archie.config.builder • LongMapBuilder
LongMapBuilder
class LongMapBuilder(resetButtonKey: Component, fieldNameKey: Component, value: Map<String, Long>) : MapFieldBuilder<Long, LongListEntry, LongMapBuilder> Constructors
LongMapBuilder
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, Long>>>tooltipSupplier
var tooltipSupplier: Function<MutableList<MutableEntry<String, Long>>, Optional<Array<Component>>>valueErrorSupplier
open var valueErrorSupplier: (Long) -> Optional<Component>?valueTooltipSupplier
open var valueTooltipSupplier: (Long) -> Optional<Array<Component>>?Functions
build
open override fun build(): NestedListListEntry<MutableEntry<String, Long>, MultiElementListEntry<MutableEntry<String, Long>>>buildEntry
fun buildEntry(): AbstractConfigListEntry<Any>getCellErrorSupplier
open fun getCellErrorSupplier(): Function<MutableEntry<String, Long>, Optional<Component>>getDefaultValue
@Nullablefun getDefaultValue(): @Nullable Supplier<MutableList<MutableEntry<String, Long>>>?isRequireRestart
open fun isRequireRestart(): BooleanrequireRestart
open fun requireRestart(): LongMapBuilderopen fun requireRestart(requireRestart: Boolean)setAddButtonTooltip
open fun setAddButtonTooltip(addTooltip: Component): LongMapBuildersetCellErrorSupplier
open fun setCellErrorSupplier(cellErrorSupplier: Function<MutableEntry<String, Long>, Optional<Component>>): LongMapBuildersetDefaultValue
open fun setDefaultValue(defaultValue: Supplier<MutableList<MutableEntry<String, Long>>>): LongMapBuilderopen fun setDefaultValue(defaultValue: MutableList<MutableEntry<String, Long>>): LongMapBuildersetDisplayRequirement
@Contract(mutates = "this")@ApiStatus.Experimentalfun setDisplayRequirement(requirement: Requirement): LongMapBuildersetErrorSupplier
open fun setErrorSupplier(errorSupplier: Function<MutableList<MutableEntry<String, Long>>, Optional<Component>>): LongMapBuildersetRemoveButtonTooltip
open fun setRemoveButtonTooltip(removeTooltip: Component): LongMapBuildersetRequirement
@Contract(mutates = "this")@ApiStatus.Experimentalfun setRequirement(requirement: Requirement): LongMapBuildersetTooltip
open fun setTooltip(tooltip: Optional<Array<Component>>): LongMapBuilderopen fun setTooltip(vararg tooltip: Component): LongMapBuildersetTooltipSupplier
open fun setTooltipSupplier(tooltipSupplier: Supplier<Optional<Array<Component>>>): LongMapBuildervalueBuilder
open override fun ConfigEntryBuilder.valueBuilder(title: Component, value: Long, list: NestedListListEntry<MutableEntry<String, Long>, MultiElementListEntry<MutableEntry<String, Long>>>): AbstractFieldBuilder<Long, LongListEntry, *>valueFactory
open override fun valueFactory(): Long