Class CommandListBox
java.lang.Object
com.sk89q.worldedit.util.formatting.component.TextComponentProducer
com.sk89q.worldedit.util.formatting.component.MessageBox
com.sk89q.worldedit.util.formatting.component.PaginationBox
com.sk89q.worldedit.util.formatting.component.CommandListBox
-
Constructor Summary
ConstructorDescriptionCommandListBox
(String title, String pageCommand, String helpCommand) Create a new box. -
Method Summary
Modifier and TypeMethodDescriptionvoid
appendCommand
(String alias, com.sk89q.worldedit.util.formatting.text.Component description) void
appendCommand
(String alias, com.sk89q.worldedit.util.formatting.text.Component description, String insertion) void
appendCommand
(String alias, String description, String insertion) Deprecated.com.sk89q.worldedit.util.formatting.text.Component
getComponent
(int number) int
boolean
void
setHidingHelp
(boolean hideHelp) Methods inherited from class com.sk89q.worldedit.util.formatting.component.PaginationBox
create, create, formatForConsole, fromComponents, fromStrings, getCurrentPage, setComponentsPerPage
Methods inherited from class com.sk89q.worldedit.util.formatting.component.MessageBox
centerAndBorder, getContents
Methods inherited from class com.sk89q.worldedit.util.formatting.component.TextComponentProducer
append, append, getBuilder, newline, reset
-
Constructor Details
-
CommandListBox
Create a new box.- Parameters:
title
- the title
-
-
Method Details
-
getComponent
public com.sk89q.worldedit.util.formatting.text.Component getComponent(int number) - Specified by:
getComponent
in classPaginationBox
-
getComponentsSize
public int getComponentsSize()- Specified by:
getComponentsSize
in classPaginationBox
-
appendCommand
public void appendCommand(String alias, com.sk89q.worldedit.util.formatting.text.Component description) -
appendCommand
Deprecated. -
appendCommand
-
isHidingHelp
public boolean isHidingHelp() -
setHidingHelp
public void setHidingHelp(boolean hideHelp)
-