public interface Scrollable
Modifier and Type | Method and Description |
---|---|
void |
scrollLines(int firstLine,
int lastLine,
int distance)
Scroll a range of lines of this Scrollable according to given distance.
|
void scrollLines(int firstLine, int lastLine, int distance) throws IOException
firstLine
- first line of the range to be scrolled (top line is 0)lastLine
- last (inclusive) line of the range to be scrolleddistance
- if > 0: move lines up, else if < 0: move lines down.IOException
Copyright © 2016. All rights reserved.