public class CliInputView extends CliView<CliInputView.InputOperation,String>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CliInputView.InputOperation
Available operations for this view.
|
| 构造器和说明 |
|---|
CliInputView(CliClient client,
String inputTitle,
java.util.function.Function<String,Boolean> validation) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
cleanUp() |
protected List<org.jline.utils.AttributedString> |
computeFooterLines() |
protected List<org.jline.utils.AttributedString> |
computeHeaderLines() |
protected List<org.jline.utils.AttributedString> |
computeMainHeaderLines() |
protected List<org.jline.utils.AttributedString> |
computeMainLines() |
protected void |
evaluate(CliInputView.InputOperation operation,
String binding) |
protected org.jline.keymap.KeyMap<CliInputView.InputOperation> |
getKeys() |
protected String |
getTitle() |
protected void |
init()
Starts threads if necessary.
|
close, close, close, display, getFooterLines, getHeaderLines, getHeight, getMainHeaderLines, getMainLines, getResult, getTitleLine, getTotalMainWidth, getVisibleMainHeight, getWidth, isRunning, open, resetAllParts, resetMainPart, scrollDown, scrollDown, scrollLeft, scrollRight, scrollUppublic CliInputView(CliClient client, String inputTitle, java.util.function.Function<String,Boolean> validation)
protected void init()
CliViewinit 在类中 CliView<CliInputView.InputOperation,String>protected org.jline.keymap.KeyMap<CliInputView.InputOperation> getKeys()
getKeys 在类中 CliView<CliInputView.InputOperation,String>protected void evaluate(CliInputView.InputOperation operation, String binding)
evaluate 在类中 CliView<CliInputView.InputOperation,String>protected String getTitle()
getTitle 在类中 CliView<CliInputView.InputOperation,String>protected List<org.jline.utils.AttributedString> computeHeaderLines()
protected List<org.jline.utils.AttributedString> computeFooterLines()
protected List<org.jline.utils.AttributedString> computeMainHeaderLines()
protected List<org.jline.utils.AttributedString> computeMainLines()
protected void cleanUp()
cleanUp 在类中 CliView<CliInputView.InputOperation,String>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.