public class CliInputView extends CliView<CliInputView.InputOperation,String>
| Modifier and Type | Class and Description |
|---|---|
static class |
CliInputView.InputOperation
Available operations for this view.
|
| Constructor and Description |
|---|
CliInputView(CliClient client,
String inputTitle,
java.util.function.Function<String,Boolean> validation) |
| Modifier and Type | Method and Description |
|---|---|
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 in class CliView<CliInputView.InputOperation,String>protected org.jline.keymap.KeyMap<CliInputView.InputOperation> getKeys()
getKeys in class CliView<CliInputView.InputOperation,String>protected void evaluate(CliInputView.InputOperation operation, String binding)
evaluate in class CliView<CliInputView.InputOperation,String>protected String getTitle()
getTitle in class CliView<CliInputView.InputOperation,String>protected List<org.jline.utils.AttributedString> computeHeaderLines()
computeHeaderLines in class CliView<CliInputView.InputOperation,String>protected List<org.jline.utils.AttributedString> computeFooterLines()
computeFooterLines in class CliView<CliInputView.InputOperation,String>protected List<org.jline.utils.AttributedString> computeMainHeaderLines()
computeMainHeaderLines in class CliView<CliInputView.InputOperation,String>protected List<org.jline.utils.AttributedString> computeMainLines()
computeMainLines in class CliView<CliInputView.InputOperation,String>protected void cleanUp()
cleanUp in class CliView<CliInputView.InputOperation,String>Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.