Class ListDecorator<S extends Sender>
java.lang.Object
ru.cwcode.commands.extra.builder.list.ListDecorator<S>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetFooter(BiFunction<ListContext, S, net.kyori.adventure.text.Component> footer) setHeader(BiFunction<ListContext, S, net.kyori.adventure.text.Component> header) setIndexField(TriFunction<ListContext, Integer, S, net.kyori.adventure.text.Component> indexField) setNoElements(BiFunction<ListContext, S, net.kyori.adventure.text.Component> noElements)
-
Constructor Details
-
ListDecorator
public ListDecorator()
-
-
Method Details
-
setHeader
public ListDecorator<S> setHeader(BiFunction<ListContext, S, net.kyori.adventure.text.Component> header) -
setIndexField
public ListDecorator<S> setIndexField(TriFunction<ListContext, Integer, S, net.kyori.adventure.text.Component> indexField) -
setNoElements
public ListDecorator<S> setNoElements(BiFunction<ListContext, S, net.kyori.adventure.text.Component> noElements)
-