public class CliRowView extends CliView<CliRowView.RowOperation,Void>
Modifier and Type | Class and Description |
---|---|
static class |
CliRowView.RowOperation
Available operations for this view.
|
Constructor and Description |
---|
CliRowView(org.jline.terminal.Terminal terminal,
String[] columnNames,
String[] columnTypes,
String[] row) |
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(CliRowView.RowOperation operation,
String binding) |
protected org.jline.keymap.KeyMap<CliRowView.RowOperation> |
getKeys() |
protected String |
getTitle() |
protected void |
init()
Starts threads if necessary.
|
clearTerminal, close, close, close, display, getFooterLines, getHeaderLines, getHeight, getMainHeaderLines, getMainLines, getResult, getTerminalHeight, getTerminalWidth, getTitleLine, getTotalMainWidth, getVisibleMainHeight, getWidth, isRunning, open, resetAllParts, resetMainPart, scrollDown, scrollDown, scrollLeft, scrollRight, scrollUp
protected void init()
CliView
init
in class CliView<CliRowView.RowOperation,Void>
protected org.jline.keymap.KeyMap<CliRowView.RowOperation> getKeys()
getKeys
in class CliView<CliRowView.RowOperation,Void>
protected void evaluate(CliRowView.RowOperation operation, String binding)
evaluate
in class CliView<CliRowView.RowOperation,Void>
protected String getTitle()
getTitle
in class CliView<CliRowView.RowOperation,Void>
protected List<org.jline.utils.AttributedString> computeHeaderLines()
computeHeaderLines
in class CliView<CliRowView.RowOperation,Void>
protected List<org.jline.utils.AttributedString> computeFooterLines()
computeFooterLines
in class CliView<CliRowView.RowOperation,Void>
protected List<org.jline.utils.AttributedString> computeMainHeaderLines()
computeMainHeaderLines
in class CliView<CliRowView.RowOperation,Void>
protected List<org.jline.utils.AttributedString> computeMainLines()
computeMainLines
in class CliView<CliRowView.RowOperation,Void>
protected void cleanUp()
cleanUp
in class CliView<CliRowView.RowOperation,Void>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.