edu.umd.cs.findbugs.sourceViewer
public class NavigableTextPane extends JTextPane
Nested Class Summary | |
---|---|
static class | NavigableTextPane.DistanceComparator |
Constructor Summary | |
---|---|
NavigableTextPane() | |
NavigableTextPane(StyledDocument doc) |
Method Summary | |
---|---|
int | getLineOffset(int line) |
void | scrollLinesToVisible(int startLine, int endLine, Collection<Integer> otherLines) scroll the specified primary lines into view, along
with as many of the other lines as is convenient |
void | scrollLineToVisible(int line, int margin) scroll the specified line into view, with a margin of 'margin' pixels above and below |
void | scrollLineToVisible(int line) scroll the specified line into the middle third of the view |