multivalent.std

Class ScrollbarViz

public class ScrollbarViz extends Behavior

Visualization of search results on scrollbar. Somebody at Berkeley ACM DL Conference did it, but TkMan had it first, and probably others before it. TkMan's version is also more general.

Version: $Revision: 1.3 $ $Date: 2003/06/02 05:56:53 $

Field Summary
static inttbwidth
Method Summary
booleanpaintAfter(Context cx, Node n)
Decorate scrollbar, using stashed information.
booleansemanticEventBefore(SemanticEvent se, String msg)
On "searchHits", stash results and relevant document.

Field Detail

tbwidth

public static int tbwidth

Method Detail

paintAfter

public boolean paintAfter(Context cx, Node n)
Decorate scrollbar, using stashed information.

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se, String msg)
On "searchHits", stash results and relevant document. On MSG_CLOSE, clean up stash.