public abstract class Updater<Painter extends ErrorStripePainter> extends java.lang.Object implements Disposable
Disposable.Parent
Modifier | Constructor and Description |
---|---|
protected |
Updater(Painter painter,
javax.swing.JScrollBar bar) |
protected |
Updater(Painter painter,
javax.swing.JScrollPane pane) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
int |
findNextIndex(int current) |
int |
findPreviousIndex(int current) |
protected ErrorStripe |
getErrorStripe(java.lang.Object object) |
protected ShortcutSet |
getNextErrorShortcut() |
protected ShortcutSet |
getPreviousErrorShortcut() |
protected void |
onMouseClick(Painter painter,
int index) |
protected void |
onMouseClick(Painter painter,
int x,
int y) |
protected void |
onMouseMove(Painter painter,
int index) |
protected void |
onMouseMove(Painter painter,
int x,
int y) |
protected void |
onSelect(Painter painter,
int index) |
void |
selectNext(int index) |
void |
selectPrevious(int index) |
void |
update() |
protected abstract void |
update(Painter painter) |
protected void |
update(Painter painter,
int index,
java.lang.Object object) |
protected Updater(Painter painter, javax.swing.JScrollPane pane)
protected Updater(Painter painter, javax.swing.JScrollBar bar)
public void dispose()
Disposable
dispose
in interface Disposable
protected void onMouseMove(Painter painter, int x, int y)
protected void onMouseMove(Painter painter, int index)
protected void onMouseClick(Painter painter, int x, int y)
protected void onMouseClick(Painter painter, int index)
protected void onSelect(Painter painter, int index)
protected ShortcutSet getNextErrorShortcut()
public void selectNext(int index)
protected ShortcutSet getPreviousErrorShortcut()
public void selectPrevious(int index)
protected abstract void update(Painter painter)
protected void update(Painter painter, int index, java.lang.Object object)
protected ErrorStripe getErrorStripe(java.lang.Object object)
public final void update()
public int findNextIndex(int current)
public int findPreviousIndex(int current)