public static final class TerminalScrollController.Null extends Object implements TerminalScrollController
TerminalScrollController.Null
Constructor and Description |
---|
Null() |
Modifier and Type | Method and 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 © 2016. All rights reserved.