public static interface TextService.Pagination<TString,TCommandSource>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<TString> |
getContents() |
java.util.Optional<TString> |
getFooter() |
java.util.Optional<TString> |
getHeader() |
int |
getLinesPerPage() |
TString |
getPadding() |
java.util.Optional<TString> |
getTitle() |
void |
sendTo(TCommandSource commandSource)
Sends this
TextService.Pagination to the provided TCommandSource |
void |
sendToConsole()
Sends this
TextService.Pagination to the console |
java.lang.Iterable<TString> getContents()
TextService.Paginationjava.util.Optional<TString> getTitle()
TextService.Paginationjava.util.Optional<TString> getHeader()
TextService.Paginationjava.util.Optional<TString> getFooter()
TextService.PaginationTString getPadding()
TextService.Paginationint getLinesPerPage()
TextService.Paginationvoid sendTo(TCommandSource commandSource)
TextService.Pagination to the provided TCommandSourcecommandSource - The TCommandSource to send the TextService.Pagination tovoid sendToConsole()
TextService.Pagination to the console