Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent.std
Class ScrollbarViz

    java.lang.Object
      multivalent.VObject
          multivalent.Behavior
              multivalent.std.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 int` | `tbwidth`

Fields inherited from class multivalent.Behavior
`ATTR_BEHAVIOR, name_`

Fields inherited from class multivalent.VObject
`attr_`

Constructor Summary
`ScrollbarViz()`

Method Summary
`boolean` | `paintAfter(Context cx, Node n)` Decorate scrollbar, using stashed information.
`boolean` | `semanticEventBefore(SemanticEvent se, java.lang.String msg)` On "searchHits", stash results and relevant document.

Methods inherited from class multivalent.Behavior
`buildAfter, buildBefore, checkRep, clipboardAfter, clipboardBefore, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintBefore, putPreference, redo, restore, restoreChildren, save, semanticEventAfter, setName, toString, undo`

Methods inherited from class multivalent.VObject
`attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### tbwidth

    public static int tbwidth

Constructor Detail

### ScrollbarViz

    public ScrollbarViz()

Method Detail

### semanticEventBefore

    public boolean semanticEventBefore(SemanticEvent se,
                                       java.lang.String msg)

  On "searchHits", stash results and relevant document. On `Document.MSG_CLOSE`, clean up stash.

  Overrides:
    `semanticEventBefore` in class `Behavior`

### paintAfter

    public boolean paintAfter(Context cx,
                              Node n)

  Decorate scrollbar, using stashed information.

  Overrides:
    `paintAfter` in class `Behavior`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD