TerminalScrollController
public static final class TerminalScrollController.Null extends Object implements TerminalScrollController
TerminalScrollController
that does nothingTerminalScrollController.Null
Constructor | Description |
---|---|
Null() |
Modifier and Type | Method | Description |
---|---|---|
int |
getScrollingOffset() |
Called by the SwingTerminal to know the 'offset' into the backlog.
|
void |
updateModel(int totalSize,
int screenSize) |
Called by the SwingTerminal when the terminal has changed or more lines are entered into the terminal
|
public void updateModel(int totalSize, int screenSize)
TerminalScrollController
updateModel
in interface TerminalScrollController
totalSize
- Total number of lines in the backlog currentlyscreenSize
- Number of lines covered by the terminal window at its current sizepublic int getScrollingOffset()
TerminalScrollController
getScrollingOffset
in interface TerminalScrollController
Copyright © 2020. All rights reserved.