Class BaseHelpTheme<S extends CommandSource,C>
java.lang.Object
studio.mevera.imperat.command.tree.help.theme.BaseHelpTheme<S,C>
- All Implemented Interfaces:
HelpTheme<S,C>
- Direct Known Subclasses:
TextBasedHelpTheme,TextHelpTheme
public abstract class BaseHelpTheme<S extends CommandSource,C>
extends Object
implements HelpTheme<S,C>
-
Nested Class Summary
Nested classes/interfaces inherited from interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
HelpTheme.Option<T> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseHelpTheme(Function<C, HelpComponent<S, C>> componentFactory) -
Method Summary
Modifier and TypeMethodDescriptionfinal HelpComponent<S,C> abstract Cfinal @NotNull HelpComponent<S,C> getFooter(ExecutionContext<S> context) abstract CgetFooterContent(ExecutionContext<S> context) final @NotNull HelpComponent<S,C> getHeader(ExecutionContext<S> context) abstract CgetHeaderContent(ExecutionContext<S> context) <T> TgetOptionValue(@NotNull HelpTheme.Option<T> option) <T> voidsetOptionValue(@NotNull HelpTheme.Option<T> option, T value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface studio.mevera.imperat.command.tree.help.theme.HelpTheme
getUsageFormatter
-
Constructor Details
-
BaseHelpTheme
-
-
Method Details
-
createEmptyContent
-
getHeaderContent
-
createEmptyComponent
- Specified by:
createEmptyComponentin interfaceHelpTheme<S extends CommandSource,C>
-
getHeader
- Specified by:
getHeaderin interfaceHelpTheme<S extends CommandSource,C>
-
getOptionValue
- Specified by:
getOptionValuein interfaceHelpTheme<S extends CommandSource,C>
-
setOptionValue
- Specified by:
setOptionValuein interfaceHelpTheme<S extends CommandSource,C>
-