Package me.kzheart.klib.command.api
Class CommandHelpStyle
java.lang.Object
me.kzheart.klib.command.api.CommandHelpStyle
Java 平台返回契约;模板、校验和快照由 Kotlin 值对象实现。
旧 Kotlin 调用 if (style.header() != null) style.header().length 依赖平台类型;CLASSIC 仍可返回 null。
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enum -
Method Summary
Modifier and TypeMethodDescriptionintstatic CommandHelpStyle.Builderbuilder(CommandHelpStyle.Preset preset) intintentry()footer()group()header()hover()intnext()intpageSize()static CommandHelpStylepreset(CommandHelpStyle.Preset preset) previous()usage()
-
Method Details
-
preset
-
builder
-
toBuilder
-
header
-
entry
-
description
-
usage
-
previous
-
next
-
hover
-
group
-
pageSize
public int pageSize() -
clearLines
public int clearLines() -
commandColor
public int commandColor() -
literalColor
public int literalColor() -
argumentColor
public int argumentColor()
-