Interface Console
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
JLine3Console
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommandHandler(@NonNull UUID uniqueId, @NonNull ConsoleInputHandler handler) voidaddTabCompleteHandler(@NonNull UUID uniqueId, @NonNull ConsoleTabCompleteHandler handler) booleanvoidvoidcommandHistory(@Nullable Collection<String> history) voidcommandInputValue(@NonNull String commandInputValue) voidvoidvoidintdisplayLength(@NonNull String string) voidvoidvoidvoidforceWriteLine(@NonNull String text) booleanprompt()voidreadLine()voidremoveCommandHandler(@NonNull UUID uniqueId) voidvoidremoveTabCompleteHandler(@NonNull UUID uniqueId) voidvoidstartAnimation(@NonNull AbstractConsoleAnimation animation) voidtogglePrinting(boolean enabled) booleanvoidusingMatchingHistoryComplete(boolean matchingHistoryComplete) intwidth()Methods inherited from interface AutoCloseable
close
-
Method Details
-
runningAnimations
-
startAnimation
-
animationRunning
boolean animationRunning() -
togglePrinting
void togglePrinting(boolean enabled) -
printingEnabled
boolean printingEnabled() -
commandHistory
-
commandHistory
-
commandInputValue
-
readLine
-
enableAllHandlers
void enableAllHandlers() -
disableAllHandlers
void disableAllHandlers() -
enableAllCommandHandlers
void enableAllCommandHandlers() -
disableAllCommandHandlers
void disableAllCommandHandlers() -
enableAllTabCompleteHandlers
void enableAllTabCompleteHandlers() -
disableAllTabCompleteHandlers
void disableAllTabCompleteHandlers() -
addCommandHandler
-
removeCommandHandler
-
addTabCompleteHandler
-
removeTabCompleteHandler
-
writeRaw
-
forceWriteLine
-
writeLine
-
usingMatchingHistoryComplete
boolean usingMatchingHistoryComplete() -
usingMatchingHistoryComplete
void usingMatchingHistoryComplete(boolean matchingHistoryComplete) -
prompt
-
prompt
-
resetPrompt
void resetPrompt() -
removePrompt
void removePrompt() -
emptyPrompt
void emptyPrompt() -
clearScreen
void clearScreen() -
width
int width() -
displayLength
-