multivalent.std
Class Outliner
java.lang.Object
multivalent.VObject
multivalent.Behavior
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. |
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 |
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
Outliner
public Outliner()
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