Multivalent API

Uses of Class
multivalent.INode

Packages that use INode
multivalent Core system classes. 
multivalent.gui Graphical user interface widgets, natively implemented as Nodes. 
multivalent.node Many types of tree nodes: scrolled panel, fixed format document nodes, media leaves. 
multivalent.std Standard system functionality that is guaranteed to be available locally during runtime. 
multivalent.std.adaptor Media adaptors guaranteed to be available locally: HTML, UNIX manual page, directory, FTP directory, ... 
multivalent.std.adaptor.pdf PDF manipulation: read, render, modify, write.
multivalent.std.lens Lens superclass and standard lenses, such as Magnify and Rot-13. 
multivalent.std.ui Standard user interface controls, such as forward/back buttons and bookmarks. 
phelps.doc Classes related to documents. 
 

Uses of INode in multivalent
 

Subclasses of INode in multivalent
 class Document
          An independent document, generally with content subtree, stylesheet, URI (not URL), Layers of behaviors that implementing genre- or document-specific functionality, and document-wide variables.
 class IScrollPane
          An internal node that scrolls its content as necessary.
 

Fields in multivalent declared as INode
protected  INode Node.parent_
          Parent node in tree - access with Node.getParentNode().
 

Methods in multivalent that return INode
 INode Node.getParentNode()
          DOM2 nomenclature (why not "getParent()"?).
 INode Document.getVisualLayer(java.lang.String name)
          Deprecated. visual layers not special
 INode Document.getVisualLayer(java.lang.String name, java.lang.String classname)
           
 INode Browser.getDocRoot()
           
 INode Browser.getScope()
          Interactive editing should be done only within subtree rooted here.
 

Methods in multivalent with parameters of type INode
static void Span.stretch(Leaf l, INode within)
          Removing leaf from tree, but preserve its span transitions by stretching end transitions to previous node and start transitions to next node.
 void Node.setParentNode(INode p)
          Used by IScrollPane to point scrollbars at it without it pointing at scrollbar.
 void Node.removeTidy(INode root)
          Remove node from tree tidily: don't leave behind empty INode, recursively up to root.
static int Node.cmp(Node ln, int lo, Node rn, int ro, INode top)
          Does first (node,offset) come before (-1), at (0), or after (1) second (node,offset)?
abstract  java.lang.Object MediaAdaptor.parse(INode parent)
          Parses a document's data format and constructs a document tree.
static java.lang.Object MediaAdaptor.parseHelper(java.lang.String txt, java.lang.String adaptor, Layer layer, INode parent)
          It is recommended that media adaptors construct document trees that directly and fully represent the document format.
 void Mark.move(int delta, INode bounds)
          Move by delta units, traversing leaf-to-leaf, bounded inside passed subtree.
 void Leaf.removeTidy(INode root)
          Remove node from tree tidily: don't leave behind empty INode, recursively up to root, and brush span transitions to the size (Span.stretch(Leaf, INode)).
 void Leaf.insert(int startoff, char ch, INode bounds)
          Insert character at point.
 void Leaf.insert(int startoff, java.lang.String txt, INode bounds)
          Insert string of possibly many words at point.
 void Document.setParentNode(INode p)
           
 boolean Context.paintBefore(Context cx, INode node)
          Upon entering node, Draw background, border,
 boolean Context.paintAfter(Context cx, INode node)
           
 void Browser.setScope(INode scope)
           
 Node Behavior.createUI(java.lang.String type, java.lang.String title, java.lang.Object script, INode parent, java.lang.String category, boolean disabled)
          Convenience function for UI building.
 

Constructors in multivalent with parameters of type INode
Node(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attrs, INode parent)
          Create a node with the given name, attributes and parent, any of which can be null.
Leaf(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attrs, INode parent)
          In most cases a Leaf's attributes are null, as in a word of text, but image nodes have attributes.
IScrollPane(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
INode(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
Document(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
Document(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, Browser br)
           
 

Uses of INode in multivalent.gui
 

Subclasses of INode in multivalent.gui
 class VAlert
          Automatically sizes to include content as given by a URL, and horizontally centers in window, and has no window controls.
 class VButton
          Button widget: click to invoke the associated script (as given by SCRIPT attribute).
 class VCheckbox
          Checkbox widget: toggle ON and OFF.
 class VDialog
          A VFrame that returns an event to its parent Document.
 class VEntry
          Single-line editable text field.
 class VFrame
          Movable, resizable internal window, with title bar.
 class VMenu
          Pure Multivalent menu widget.
 class VMenuButton
          Menu button widget that pops up associated VMenu when mouse pressed.
 class VRadiobox
          Radiobox widget: only on in associated Radiogroup can be selected at the same time.
 class VTextArea
          Editable area (not necessarily all text).
 

Constructors in multivalent.gui with parameters of type INode
VTextArea(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VTextArea(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, INode layout)
           
VSeparator(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attrs, INode parent)
          UI category name often stuffed in name.
VScrollbar(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, int orientation)
           
VRadiobox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, VRadiogroup group)
           
VMenuButton(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VMenuButton(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.lang.String script)
           
VMenu(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VFrame(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VFrame(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.net.URI docuri)
          Content given by passed URL; pass null if want to build subtree yourself.
VEntry(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, int widthchars, java.lang.String initcontent)
           
VEntry(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VDialog(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.net.URI docuri)
           
VDialog(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.net.URI docuri, java.util.Map vals, Behavior in)
           
VCheckbox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VButton(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
VButton(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.lang.String script)
           
VAlert(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attrs, INode parent, java.lang.String src)
           
VAlert(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attrs, INode parent, java.net.URI src)
           
 

Uses of INode in multivalent.node
 

Subclasses of INode in multivalent.node
 class FixedI
          Internal node for use with formats that are already layed out, such as scanned page images, PostScript, PDF, TeX DVI.
 class FixedIClip
          Clips children to be within its bbox, WxH of which are given in constructor and are independent of size and position of children.
 class FixedIHBox
          Fixed-format INode that adjusts to changes in size of children by moving them horizontally.
 class FixedIVBox
          FixedIVBox
 class IClip
          Clips children to be within its bbox, WxH of which are given in constructor and are independent of size and position of children.
 class IGroup
          Logical grouping, like IParaBox except doesn't cause linebreaks.
 class IHBox
          Place children in horizontal line, no line breaking.
 class INodeZero
          Internal node that has zero effect on layout and display.
 class IOutline
          Not used -- done with spans instead, as in Outliner.
 class IParaBox
          Like a paragraph, layout children in a row, wrapping lines as necessary.
 class IRootAbs
          Visual layer containing elements absolutely positioned within current document-- that is, relative to the current document's virtual canvas including scrolling, but independent of content.
 class IRootScreen
          Visual layer containing elements absolutely positioned in document window.
 class IVBox
          Lays out children vertically, top to bottom.
 class IZoom
          Broken Insert node into tree and set zoom factor to implement zooming on subtree.
 class Root
          Documents can contain other documents, and this is the topmost instance.
 

Methods in multivalent.node with parameters of type INode
static boolean FixedI.formatNode(INode p, boolean shrinkwrap, int width, int height, Context cx)
          Fixed internal nodes need to be able to format: make children relative, and reposition children in reponse to changing dimensions.
 

Constructors in multivalent.node with parameters of type INode
LeafZero(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
LeafUnicode(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
LeafUnicode(java.lang.String name, java.lang.String estr, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
LeafText(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
LeafText(java.lang.String name, java.lang.String estr, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
LeafShape(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Shape shape, boolean stroke, boolean fill)
           
LeafShadow(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, Node shadowed)
           
LeafImage(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Image img)
          Take Image from passed parameter.
LeafImage(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.net.URI uri)
          Take Image from passed URI.
LeafBlock(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, int w, int h)
           
IZoom(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attrs, INode parent)
           
IVBox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IRootScreen(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IRootAbs(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IParaBox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IOutline(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IOutline(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, boolean open)
           
INodeZero(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IHBox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IGroup(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
IClip(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Shape clip)
           
IClip(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Shape clip, java.awt.Rectangle bounds)
           
FixedLeafUnicodeKern(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, float[] kern)
           
FixedLeafUnicodeKern(java.lang.String name, java.lang.String estr, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, float[] kern)
           
FixedLeafUnicodeKern(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, double kern)
          Constant kerning.
FixedLeafUnicodeKern(java.lang.String name, java.lang.String estr, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, double kern)
           
FixedLeafUnicode(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
FixedLeafUnicode(java.lang.String name, java.lang.String glyphs, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
FixedLeafShape(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Shape shape, boolean stroke, boolean fill)
           
FixedLeafOCR(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, FixedLeafImage imgnode, java.awt.Rectangle ibbox)
           
FixedLeafImage(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Image img)
           
FixedLeafBlock(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Rectangle bbox)
           
FixedIVBox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
FixedIHBox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
FixedIClip(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Shape clip, java.awt.Rectangle bounds)
           
FixedIClip(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Shape clip)
           
FixedI(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
 

Uses of INode in multivalent.std
 

Methods in multivalent.std that return INode
protected  INode RestoreReport.appendLine(java.lang.String txt)
           
 

Methods in multivalent.std with parameters of type INode
 void Search.search(java.lang.String searchfor, INode root)
           
 

Uses of INode in multivalent.std.adaptor
 

Methods in multivalent.std.adaptor with parameters of type INode
 java.lang.Object Zip.parse(INode parent)
           
 java.lang.Object XML.parse(INode parent)
           
 java.lang.Object Unsupported.parse(INode parent)
           
 java.lang.Object Texinfo.parse(INode parent)
          Read in index, creating on demand.
 java.lang.Object Tar.parse(INode parent)
           
 java.lang.Object RPM.parse(INode parent)
           
 java.lang.Object RawImage.parse(INode parent)
           
 java.lang.Object PerlPOD.parse(INode parent)
           
 java.lang.Object MultivalentAdaptor.parse(INode parent)
           
 java.lang.Object ManualPage.parse(INode root)
          Parse *roff, translate to document tree.
 java.lang.Object JavaClass.parse(INode parent)
           
 java.lang.Object HTML.parse(INode parent)
          Normalizes in direction of XHTML: lowercase tag and attribute names, well nested (except for spans), ...
 java.lang.Object HexDump.parse(INode parent)
           
 java.lang.Object FontSampler.parse(INode parent)
           
 java.lang.Object DirectoryLocal.parse(INode parent)
           
 java.lang.Object DirectoryFTP.parse(INode parent)
           
 boolean CSSContext.paintBefore(Context cx, INode node)
          Border painted before content, so content can overwrite.
 boolean CSSContext.paintAfter(Context cx, INode node)
           
 java.lang.Object ASCII.parse(INode parent)
           
 java.lang.Object AppleWorksWP.parse(INode parent)
           
 

Uses of INode in multivalent.std.adaptor.pdf
 

Methods in multivalent.std.adaptor.pdf with parameters of type INode
 java.lang.Object PDF.parse(INode parent)
          Parses individual page indicated in Document.ATTR_PAGE of parent's containing Document and returns formatted document tree rooted at parent as described above.
static FixedLeafShade FixedLeafShade.getInstance(Dict dict, java.awt.color.ColorSpace cs, java.awt.Rectangle bbox, INode parent, PDFReader pdfr)
          Returns leaf that performs the type of smooth shading (gradient) described by the passed shading dictionary within the area bbox.
 

Constructors in multivalent.std.adaptor.pdf with parameters of type INode
FixedLeafShade(java.lang.String name, Dict dict, INode parent, java.awt.color.ColorSpace cs, java.awt.Rectangle bbox, PDFReader pdfr)
           
 

Uses of INode in multivalent.std.lens
 

Methods in multivalent.std.lens that return INode
 INode LensMan.getVisualLayer()
          Return INode under which all Lens VFrame's are stored.
 

Uses of INode in multivalent.std.ui
 

Methods in multivalent.std.ui with parameters of type INode
 Node History.fault(int id, Span span, INode replace)
           
 

Uses of INode in phelps.doc
 

Methods in phelps.doc with parameters of type INode
static Mark RobustLocation.attach(java.util.Map<java.lang.String,java.lang.Object> attachme, INode toroot)
          Given Hastable of descriptors, return corresponding node/offset, robust to change Returns null if couldn't attach (may throw exception in the future)
 


Multivalent API