Multivalent API

multivalent.std
Class Outliner

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

public class Outliner
extends Behavior

Take basic Manual Page tree, add outliner spans (which in turn add controls open/close arrow, click on title to toggle).

LATER generalize as outliner functionality: take list of important structural (if null, take immediate children of docroot), cover content (arrow iff replaces existing or something), generalize to nested outlines, if full page fits on screen, no outlining, else keep opening sections until fill up screen

Version:
$Revision: 1.3 $ $Date: 2002/01/27 02:52:25 $
See Also:
ManualPageVolume, ManualPage

Field Summary
static java.lang.String MSG_MADE
          Announce that construted outline.
 
Fields inherited from class multivalent.Behavior
ATTR_BEHAVIOR, name_
 
Fields inherited from class multivalent.VObject
attr_
 
Constructor Summary
Outliner()
           
 
Method Summary
 void buildAfter(Document doc)
          Tart up with open/close arrow and span on section bodies.
 
Methods inherited from class multivalent.Behavior
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, semanticEventBefore, 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

MSG_MADE

public static final java.lang.String MSG_MADE
Announce that construted outline.

"madeOutline": arg= Node root-of-outline.

See Also:
Constant Field Values
Constructor Detail

Outliner

public Outliner()
Method Detail

buildAfter

public void buildAfter(Document doc)
Tart up with open/close arrow and span on section bodies. Speeds up page display because don't have to format collapsed sections. Structure: ManualPage -> Section+ -> SectHead Para*

Overrides:
buildAfter in class Behavior

Multivalent API