Package net.william278.paginedown
Class ListOptions.Builder
- java.lang.Object
-
- net.william278.paginedown.ListOptions.Builder
-
- Enclosing class:
- ListOptions
public static class ListOptions.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull ListOptions
build()
@NotNull ListOptions.Builder
setCommand(@NotNull java.lang.String command)
@NotNull ListOptions.Builder
setEscapeItemsMineDown(boolean escapeItemsMineDown)
@NotNull ListOptions.Builder
setFooterFormat(@NotNull java.lang.String footerFormat)
@NotNull ListOptions.Builder
setHeaderFormat(@NotNull java.lang.String headerFormat)
@NotNull ListOptions.Builder
setItemSeparator(@NotNull java.lang.String itemSeparator)
@NotNull ListOptions.Builder
setItemsPerPage(int itemsPerPage)
@NotNull ListOptions.Builder
setNextButtonFormat(@NotNull java.lang.String nextButtonFormat)
@NotNull ListOptions.Builder
setPageJumperCurrentPageFormat(@NotNull java.lang.String pageJumperCurrentPageFormat)
@NotNull ListOptions.Builder
setPageJumperEndButtons(int pageJumperEndButtons)
@NotNull ListOptions.Builder
setPageJumperGroupSeparator(@NotNull java.lang.String pageJumperGroupSeparator)
@NotNull ListOptions.Builder
setPageJumperPageFormat(@NotNull java.lang.String pageJumperPageFormat)
@NotNull ListOptions.Builder
setPageJumperPageSeparator(@NotNull java.lang.String pageJumperPageSeparator)
@NotNull ListOptions.Builder
setPageJumpersFormat(@NotNull java.lang.String pageJumpersFormat)
@NotNull ListOptions.Builder
setPageJumperStartButtons(int pageJumperStartButtons)
@NotNull ListOptions.Builder
setPreviousButtonFormat(@NotNull java.lang.String previousButtonFormat)
@NotNull ListOptions.Builder
setSpaceAfterHeader(boolean spaceAfterHeader)
@NotNull ListOptions.Builder
setSpaceBeforeFooter(boolean spaceBeforeFooter)
@NotNull ListOptions.Builder
setThemeColor(@NotNull java.awt.Color themeColor)
@NotNull ListOptions.Builder
setTopic(@NotNull java.lang.String topic)
-
-
-
Method Detail
-
setHeaderFormat
@NotNull public @NotNull ListOptions.Builder setHeaderFormat(@NotNull @NotNull java.lang.String headerFormat)
-
setFooterFormat
@NotNull public @NotNull ListOptions.Builder setFooterFormat(@NotNull @NotNull java.lang.String footerFormat)
-
setItemSeparator
@NotNull public @NotNull ListOptions.Builder setItemSeparator(@NotNull @NotNull java.lang.String itemSeparator)
-
setThemeColor
@NotNull public @NotNull ListOptions.Builder setThemeColor(@NotNull @NotNull java.awt.Color themeColor)
-
setSpaceAfterHeader
@NotNull public @NotNull ListOptions.Builder setSpaceAfterHeader(boolean spaceAfterHeader)
-
setSpaceBeforeFooter
@NotNull public @NotNull ListOptions.Builder setSpaceBeforeFooter(boolean spaceBeforeFooter)
-
setItemsPerPage
@NotNull public @NotNull ListOptions.Builder setItemsPerPage(int itemsPerPage)
-
setTopic
@NotNull public @NotNull ListOptions.Builder setTopic(@NotNull @NotNull java.lang.String topic)
-
setCommand
@NotNull public @NotNull ListOptions.Builder setCommand(@NotNull @NotNull java.lang.String command)
-
setEscapeItemsMineDown
@NotNull public @NotNull ListOptions.Builder setEscapeItemsMineDown(boolean escapeItemsMineDown)
-
setPageJumpersFormat
@NotNull public @NotNull ListOptions.Builder setPageJumpersFormat(@NotNull @NotNull java.lang.String pageJumpersFormat)
-
setPageJumperPageSeparator
@NotNull public @NotNull ListOptions.Builder setPageJumperPageSeparator(@NotNull @NotNull java.lang.String pageJumperPageSeparator)
-
setPageJumperPageFormat
@NotNull public @NotNull ListOptions.Builder setPageJumperPageFormat(@NotNull @NotNull java.lang.String pageJumperPageFormat)
-
setPageJumperGroupSeparator
@NotNull public @NotNull ListOptions.Builder setPageJumperGroupSeparator(@NotNull @NotNull java.lang.String pageJumperGroupSeparator)
-
setPageJumperCurrentPageFormat
@NotNull public @NotNull ListOptions.Builder setPageJumperCurrentPageFormat(@NotNull @NotNull java.lang.String pageJumperCurrentPageFormat)
-
setPreviousButtonFormat
@NotNull public @NotNull ListOptions.Builder setPreviousButtonFormat(@NotNull @NotNull java.lang.String previousButtonFormat)
-
setNextButtonFormat
@NotNull public @NotNull ListOptions.Builder setNextButtonFormat(@NotNull @NotNull java.lang.String nextButtonFormat)
-
setPageJumperStartButtons
@NotNull public @NotNull ListOptions.Builder setPageJumperStartButtons(int pageJumperStartButtons)
-
setPageJumperEndButtons
@NotNull public @NotNull ListOptions.Builder setPageJumperEndButtons(int pageJumperEndButtons)
-
build
@NotNull public @NotNull ListOptions build()
-
-