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 BrowseScrollViz

    java.lang.Object
      multivalent.VObject
          multivalent.Behavior
              multivalent.std.BrowseScrollViz

public class BrowseScrollViz
extends Behavior

Record last scroll positions on document and mark on scrollbar. One-hour hack, based on multivalent.std.ScrollbarViz.

Version:
  $Revision: 1.2 $ $Date: 2002/02/01 04:27:51 $

Field Summary

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

Fields inherited from class multivalent.VObject
`attr_`

Constructor Summary
`BrowseScrollViz()`

Method Summary
`boolean` | `paintAfter(Context cx, Node n)` Decorate scrollbar.
`boolean` | `semanticEventBefore(SemanticEvent se, java.lang.String msg)` On `Document.MSG_FORMATTED` to add observer on scrollbar.

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`

Constructor Detail

### BrowseScrollViz

    public BrowseScrollViz()

Method Detail

### semanticEventBefore

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

  On `Document.MSG_FORMATTED` to add observer on scrollbar. On `Document.MSG_CLOSE` to record y-scroll position.

  Overrides:
    `semanticEventBefore` in class `Behavior`

### paintAfter

    public boolean paintAfter(Context cx,
                              Node n)

  Decorate scrollbar.

  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