Multivalent API

multivalent.std
Class SimpleAnchorScrollTo

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Behavior
          extended by multivalent.std.SimpleAnchorScrollTo

public class SimpleAnchorScrollTo
extends Behavior

Scroll to simple anchor, both HTML NAME/ID attr and AnchorSpan annotations. XPointer support will be implemented in same way.

Version:
$Revision: 1.6 $ $Date: 2002/03/24 01:55:33 $

Field Summary
 
Fields inherited from class multivalent.Behavior
ATTR_BEHAVIOR, name_
 
Fields inherited from class multivalent.VObject
attr_
 
Constructor Summary
SimpleAnchorScrollTo()
           
 
Method Summary
 void scrollTo(IScrollPane isp, java.lang.String ref)
          Scroll to anchor/id/ref within Document.
 boolean semanticEventBefore(SemanticEvent se, java.lang.String msg)
          Scroll in Before so other scrollers, such as forward/backward menu or XPointer, can override (by scrolling again).
 
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, paintAfter, 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

SimpleAnchorScrollTo

public SimpleAnchorScrollTo()
Method Detail

semanticEventBefore

public boolean semanticEventBefore(SemanticEvent se,
                                   java.lang.String msg)
Scroll in Before so other scrollers, such as forward/backward menu or XPointer, can override (by scrolling again).

Overrides:
semanticEventBefore in class Behavior

scrollTo

public void scrollTo(IScrollPane isp,
                     java.lang.String ref)
Scroll to anchor/id/ref within Document.


Multivalent API