public class CliTableResultView extends CliResultView<CliTableResultView.ResultTableOperation>
Modifier and Type | Class and Description |
---|---|
static class |
CliTableResultView.ResultTableOperation
Available operations for this view.
|
MAX_COLUMN_WIDTH, NO_ROW_SELECTED, previousResults, REFRESH_INTERVALS, refreshInterval, resultDescriptor, results, selectedRow
Constructor and Description |
---|
CliTableResultView(CliClient client,
ResultDescriptor resultDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected int |
computeColumnWidth(int idx) |
protected List<org.jline.utils.AttributedString> |
computeFooterLines() |
protected List<org.jline.utils.AttributedString> |
computeHeaderLines() |
protected List<org.jline.utils.AttributedString> |
computeMainHeaderLines() |
protected void |
evaluate(CliTableResultView.ResultTableOperation operation,
String binding) |
protected org.jline.keymap.KeyMap<CliTableResultView.ResultTableOperation> |
getKeys() |
protected String[] |
getRow(String[] resultRow) |
protected String |
getTitle() |
protected void |
refresh() |
cleanUp, computeMainLines, decreaseRefreshInterval, increaseRefreshInterval, init, isRetrieving, openRow, selectRowDown, selectRowUp, stopRetrieval
close, close, close, display, getFooterLines, getHeaderLines, getHeight, getMainHeaderLines, getMainLines, getResult, getTitleLine, getTotalMainWidth, getVisibleMainHeight, getWidth, isRunning, open, resetAllParts, resetMainPart, scrollDown, scrollDown, scrollLeft, scrollRight, scrollUp
public CliTableResultView(CliClient client, ResultDescriptor resultDescriptor)
protected String[] getRow(String[] resultRow)
getRow
in class CliResultView<CliTableResultView.ResultTableOperation>
protected int computeColumnWidth(int idx)
computeColumnWidth
in class CliResultView<CliTableResultView.ResultTableOperation>
protected void refresh()
refresh
in class CliResultView<CliTableResultView.ResultTableOperation>
protected org.jline.keymap.KeyMap<CliTableResultView.ResultTableOperation> getKeys()
getKeys
in class CliView<CliTableResultView.ResultTableOperation,Void>
protected void evaluate(CliTableResultView.ResultTableOperation operation, String binding)
evaluate
in class CliView<CliTableResultView.ResultTableOperation,Void>
protected String getTitle()
getTitle
in class CliView<CliTableResultView.ResultTableOperation,Void>
protected List<org.jline.utils.AttributedString> computeHeaderLines()
computeHeaderLines
in class CliView<CliTableResultView.ResultTableOperation,Void>
protected List<org.jline.utils.AttributedString> computeMainHeaderLines()
computeMainHeaderLines
in class CliView<CliTableResultView.ResultTableOperation,Void>
protected List<org.jline.utils.AttributedString> computeFooterLines()
computeFooterLines
in class CliView<CliTableResultView.ResultTableOperation,Void>
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.