|
Multivalent API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Node | |
|---|---|
| multivalent | Core system classes. |
| multivalent.devel | Developer tools, templates, and examples: MyBehavior template, document tree viewer, DebugMode, .... |
| multivalent.devel.lens | Document inspection lenses: bbox bounds, character numbers, ruler for layout measuring. |
| 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.span | A collection of general-use spans: hyperlink, highlight, font, color. |
| multivalent.std.ui | Standard user interface controls, such as forward/back buttons and bookmarks. |
| phelps.doc | Classes related to documents. |
| phelps.net | Generally useful utility classes related to networking. |
| Uses of Node in multivalent |
|---|
| Subclasses of Node 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 |
INode
Internal nodes have children. |
class |
IScrollPane
An internal node that scrolls its content as necessary. |
class |
Leaf
Leaf nodes are words of text, XDOC words, images, and so on. |
| Methods in multivalent that return Node | |
|---|---|
Node |
Node.getNextNode()
Get the node immediately following in a depth-first tree walk, returning null if none. |
Node |
Node.getPrevNode()
Get the node immediately previous in a depth-first tree walk, returning null if none. |
Node |
Node.commonAncestor(Node b)
|
Node |
Node.commonAncestor(Node b,
Node top)
|
Node |
Node.findDFS(java.lang.String searchname,
java.lang.String attrname,
java.lang.String attrval,
int maxlevel)
Depth-first search for node with requested combination of name, attribute name, and attribute value. |
protected Node |
Node.findDFS(java.lang.String searchname,
java.lang.String attrname,
java.lang.String attrval,
int level,
int maxlevel)
|
Node |
Node.findDFS(java.lang.String searchname)
Depth-first search for Node with given name. |
Node |
Node.findDFS(java.lang.String searchname,
java.lang.String attrname,
java.lang.String attrval)
Depth-first search for Node with given name and (name, val) attribute pair. |
Node |
Node.findBFS(java.lang.String searchname,
java.lang.String attrname,
java.lang.String attrval,
int maxlevel)
Breadth-first search for node with given name (generic identifier), attribute name, and attribute value. |
Node |
Node.findBFS(java.lang.String searchname)
Breath-first search for node with given name (generic identifier). |
Node |
Node.findBFS(java.lang.String searchname,
java.lang.String attrname,
java.lang.String attrval)
|
static Node[] |
Node.spanChunky(Mark l,
Mark r)
|
static Node[] |
Node.spanChunky(Node l,
Node r)
|
Node |
Node.getElementById(java.lang.String elementId)
|
Node |
INode.getFirstChild()
Returns first child, or null if no children. |
Node |
INode.getLastChild()
Returns last child, or null if no children. |
Node |
INode.childAt(int num)
Returns child at given offset, 0 .. size()-1, inclusive. |
Node |
INode.getPreviousSibling()
DOM2 -- childAt() more efficient. |
Node |
INode.getNextSibling()
DOM2 -- childAt() more efficient. |
Node |
INode.addCategory(Node n,
java.lang.String category)
Add child to correct category, as in UI panel or menu with groups. |
Node |
INode.removeChildAt(int num)
|
Node |
INode.structChildAt(int num)
Some nonstructural nodes (internal nodes with name==null) may be used to better balance trees for better performance. |
Node |
INode.getElementById(java.lang.String elementId)
|
protected Node |
INode.findDFS(java.lang.String searchname,
java.lang.String attrname,
java.lang.String attrval,
int level,
int maxlevel)
|
Node |
Browser.getCurNode()
Returns node under the cursor. |
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. |
| Methods in multivalent with parameters of type Node | |
|---|---|
void |
StyleSheet.activesAdd(java.util.List<ContextListener> actives,
VObject o,
Node parent)
Add all relevant ContextListeners to Context. |
void |
StyleSheet.activesRemove(java.util.List<ContextListener> actives,
VObject o,
Node parent)
|
ContextListener |
StyleSheet.get(java.lang.Object key,
Node context)
|
void |
Span.open(Node start)
During document creation, open span at first leaf to be created after passed node. |
boolean |
Span.close(Node end)
Close span at end of passed Node, and attach Span to tree. |
static int |
Span.closeAll(Node subtree)
Close all spans in subtree. |
boolean |
Span.contains(Node n,
int off)
Is (Node, offset) contained within span? |
void |
Node.morphInto(Node l)
Transfers content into passed Node, destroying original and replacing it in tree. |
boolean |
Node.contains(Node n)
|
Node |
Node.commonAncestor(Node b)
|
Node |
Node.commonAncestor(Node b,
Node top)
|
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)? |
void |
Node.reformat(Node bogus)
High performance reformatting of subtree. |
void |
Node.markDirtyTo(Node rn)
Mark dirty all nodes in a span, parents included. |
java.awt.Point |
Node.getRelLocation(Node relto)
Determine location of node relative to passed node, as for instance location of image relative to its Document. |
static Node[] |
Node.spanChunky(Node l,
Node r)
|
void |
IScrollPane.scrollTo(Node node,
int xoff,
int yoff,
boolean pickplace)
Pickplace option described in VScrollbar. |
int |
INode.childNum(Node n)
Returns sequence number node in list of children, -1 iff no such child. |
void |
INode.appendChild(Node child)
Adds child to end of list of children. |
Node |
INode.addCategory(Node n,
java.lang.String category)
Add child to correct category, as in UI panel or menu with groups. |
void |
INode.setChildAt(Node child,
int num)
|
void |
INode.insertChildAt(Node child,
int num)
|
void |
INode.removeChild(Node child)
Removes child if it exists among list of children. |
boolean |
INode.contains(Node n)
Passed node (null OK) somewhere in subtree? |
int |
INode.structChildNum(Node n)
|
boolean |
CursorMark.paintAfter(Context cx,
Node start)
|
void |
Context.reset(Node n)
|
void |
Context.reset(Node n,
int offset)
|
void |
Context.queueFloat(Node n)
Encountered float, queue up for next time have chance to position. |
void |
Context.eatHeight(int h,
Node lastn,
int lastnoff)
|
void |
Browser.setCurNode(Node newnode,
int newoffset)
The current node under the cursor, either a Leaf or its corresponding IScrollPane. |
boolean |
Browser.tickleActives(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
Used by Leaf (which knows rel) and IHBox and IParaBox. |
void |
Browser.setGrab(EventListener owner,
Node relativeTo)
Delivers subsequent events directly to owner, in coordinates relative to relativeTo. |
boolean |
Behavior.formatBefore(Node node)
A tree walk protocol, called before observed node has been formatted. |
boolean |
Behavior.formatAfter(Node node)
A tree walk protocol, called after observed node has been formatted. |
boolean |
Behavior.paintBefore(Context cx,
Node node)
A tree walk protocol, called before observed node has been painted. |
boolean |
Behavior.paintAfter(Context cx,
Node node)
A tree walk protocol, called before observed node has been painted. |
boolean |
Behavior.clipboardBefore(java.lang.StringBuffer sb,
Node node)
A tree walk protocol, called before observed node has been given a chance to contribute to the growing selection content in the passed StringBuffer. |
boolean |
Behavior.clipboardAfter(java.lang.StringBuffer sb,
Node node)
A tree walk protocol, called after observed node has been given a chance to contribute to the growing selection content in the passed StringBuffer. |
boolean |
Behavior.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
|
boolean |
Behavior.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
During Behavior.eventBefore(AWTEvent, Point, Node), the behaviors that take primary action to that event should do so,
after having given other behaviors the opportunity to filter it during eventBefore. |
| Uses of Node in multivalent.devel |
|---|
| Methods in multivalent.devel that return Node | |
|---|---|
Node |
NodeActivity.getNode()
|
| Methods in multivalent.devel with parameters of type Node | |
|---|---|
void |
ShowDocTree.listNodes(Node n,
java.util.List<Node> l)
Compute liinearized tree of nodes. |
boolean |
ShowDocTree.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
ShowDocTree.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
ShowDocTree.paintAfter(Context cx,
Node ignore)
Entire document constructed dynamically as painted. |
boolean |
NodeActivity.formatBefore(Node node)
|
boolean |
NodeActivity.formatAfter(Node node)
|
boolean |
NodeActivity.paintBefore(Context cx,
Node n)
|
boolean |
NodeActivity.paintAfter(Context cx,
Node n)
|
boolean |
NodeActivity.clipboardBefore(java.lang.StringBuffer sb,
Node node)
|
boolean |
NodeActivity.clipboardAfter(java.lang.StringBuffer sb,
Node node)
|
boolean |
NodeActivity.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
NodeActivity.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
void |
NodeActivity.setNode(Node node)
|
void |
Debug.nodeStats(Node n)
|
boolean |
Debug.paintBefore(Context cx,
Node node)
|
boolean |
Debug.paintAfter(Context cx,
Node node)
Display memory use, free memory, .... |
| Uses of Node in multivalent.devel.lens |
|---|
| Methods in multivalent.devel.lens with parameters of type Node | |
|---|---|
boolean |
Ruler.paintAfter(Context cx,
Node node)
Draw tick marks on top of whatever. |
boolean |
CharNum.paintBefore(Context cx,
Node node)
|
boolean |
CharNum.paintAfter(Context cx,
Node node)
Restores Graphics2D passed in paintBefore. |
boolean |
Bounds.paintAfter(Context cx,
Node node)
|
| Uses of Node in multivalent.gui |
|---|
| Subclasses of Node 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 |
VScrollbar
Scrollbars, both vertical and horizontal. |
class |
VSeparator
Menu separator widget, whose name is used to identify menu categories. |
class |
VTextArea
Editable area (not necessarily all text). |
| Methods in multivalent.gui that return Node | |
|---|---|
Node |
VMenu.addCategory(Node n,
java.lang.String category)
Immediate subtrees of menu are categories: named VSeparator's used to cluster items from disparate behaviors. |
Node |
VMenu.getSelected()
|
| Methods in multivalent.gui with parameters of type Node | |
|---|---|
Node |
VMenu.addCategory(Node n,
java.lang.String category)
Immediate subtrees of menu are categories: named VSeparator's used to cluster items from disparate behaviors. |
void |
VMenu.setSelected(Node n)
Use invoke() to execute any associated script. |
| Uses of Node in multivalent.node |
|---|
| Subclasses of Node 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 |
FixedLeafBlock
|
class |
FixedLeafImage
Holds an Image. |
class |
FixedLeafOCR
Draw by reaching clipping out from who page image that portion corresponding to word. |
class |
FixedLeafShape
Holds a Shape. |
class |
FixedLeafUnicode
Leaf subclass for fixed-formatted ASCII. |
class |
FixedLeafUnicodeKern
Leaf subclass for fixed-formatted Unicode with kerning. |
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 |
LeafBlock
Block empty rectangular placeholder, for replacing advertisements, say. |
class |
LeafImage
Medium-specific leaf node. |
class |
LeafShadow
Leaf to shadow structural node in absolute visual space. |
class |
LeafShape
Holds a Shape, which is painted stroked or filled or both. |
class |
LeafText
Superclass for text leaf nodes. |
class |
LeafUnicode
Leaf subclass for Unicode. |
class |
LeafZero
Leaf node that has zero effect on layout and display. |
class |
Root
Documents can contain other documents, and this is the topmost instance. |
| Methods in multivalent.node that return Node | |
|---|---|
Node |
LeafShadow.getShadowed()
|
| Methods in multivalent.node with parameters of type Node | |
|---|---|
void |
Root.reformat(Node dirty)
|
void |
LeafImage.reformat(Node dirty)
For images, just mark dirty and batch to next repaint. |
void |
IParaBox.reformat(Node dirty)
Needs refurbishing. |
void |
IOutline.appendChild(Node child)
|
void |
FixedIVBox.appendChild(Node child)
Maintain children in order of increasing y coordinate. |
void |
FixedI.reformat(Node dirty)
|
| Constructors in multivalent.node with parameters of type Node | |
|---|---|
NodeCharSequence(Node root)
|
|
LeafShadow(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> attr,
INode parent,
Node shadowed)
|
|
| Uses of Node in multivalent.std |
|---|
| Methods in multivalent.std that return Node | |
|---|---|
Node |
Note.getContent()
|
| Methods in multivalent.std with parameters of type Node | |
|---|---|
static java.lang.String |
VScript.eval(java.lang.Object expr,
Document doc,
java.util.Map<java.lang.String,java.lang.Object> locals,
Node node)
Evaluate an expression, returning result in a String. |
boolean |
SpeedRead.paintBefore(Context cx,
Node node)
|
boolean |
SpeedRead.paintAfter(Context cx,
Node node)
Draw in frame, rather than change content node, format, paint cycle -- probably wrong choice as doesn't compose. |
boolean |
SpeedRead.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
Click in content area to pause. |
boolean |
SpeedRead.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
Arrow keys adjust speed (actually delay). |
boolean |
SlideShowLinks.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
On heartbeat, if in slideshow browser, show next document. |
boolean |
SlideShow.paintBefore(Context cx,
Node node)
|
boolean |
SlideShow.paintAfter(Context cx,
Node node)
|
boolean |
SlideShow.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
Arrow keys, escape, home/end, mouse clicks. |
boolean |
SlideShow.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
|
boolean |
ShowHeaders.paintAfter(Context cx,
Node node)
|
boolean |
ScrollbarViz.paintAfter(Context cx,
Node n)
Decorate scrollbar, using stashed information. |
boolean |
PauseNGo.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
OcrView.formatAfter(Node node)
|
boolean |
OcrView.paintBefore(Context cx,
Node node)
|
boolean |
DisableTree.paintAfter(Context cx,
Node n)
|
boolean |
DisableTree.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
DisableTree.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
ClipProvenance.clipboardAfter(java.lang.StringBuffer sb,
Node node)
The clipboard protocol builds up the text in a StringBuffer. |
boolean |
ClipMarkup.clipboardBefore(java.lang.StringBuffer sb,
Node node)
|
boolean |
BrowseScrollViz.paintAfter(Context cx,
Node n)
Decorate scrollbar. |
| Uses of Node in multivalent.std.adaptor |
|---|
| Methods in multivalent.std.adaptor that return Node | |
|---|---|
Node |
Texinfo.markup(java.net.URI uri,
int offset,
int endoff)
Markup. |
| Methods in multivalent.std.adaptor with parameters of type Node | |
|---|---|
static void |
HTML.go(Node startn,
java.lang.Object replace,
java.lang.Object ouri)
TARGET-aware hyperlink. |
void |
CSS.activesAdd(java.util.List<ContextListener> actives,
VObject o,
Node parent)
|
void |
CSS.activesRemove(java.util.List<ContextListener> actives,
VObject o,
Node parent)
|
| Uses of Node in multivalent.std.adaptor.pdf |
|---|
| Subclasses of Node in multivalent.std.adaptor.pdf | |
|---|---|
class |
FixedLeafShade
INCOMPLETE. |
| Methods in multivalent.std.adaptor.pdf with parameters of type Node | |
|---|---|
boolean |
PDF.formatAfter(Node node)
Enlarge content root to MediaBox. |
boolean |
ContractualObligation.clipboardAfter(java.lang.StringBuffer sb,
Node node)
Enforce copying/extraction restriction. |
| Uses of Node in multivalent.std.lens |
|---|
| Methods in multivalent.std.lens with parameters of type Node | |
|---|---|
boolean |
Rotate.paintBefore(Context cx,
Node node)
|
boolean |
Rescale.paintAfter(Context cx,
Node node)
|
boolean |
PlainView.paintBefore(Context cx,
Node node)
Identity affine transformation. |
boolean |
Mirror.paintBefore(Context cx,
Node node)
|
boolean |
Magnify.paintBefore(Context cx,
Node node)
|
boolean |
LensOp.paintAfter(Context cx,
Node node)
|
boolean |
LensMan.paintBefore(Context cx,
Node notused)
Redraws portions of document covered by lenses, combining effects where lenses intersect. |
boolean |
LensMan.paintAfter(Context cx,
Node root)
While painting lenses, shortcircuit higher ups until done. |
boolean |
LensMan.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
Lens.paintBefore(Context cx,
Node node)
Effect: Graphics2D transformation matrix. |
boolean |
Lens.paintAfter(Context cx,
Node node)
Effect: arbitrary drawing on top. |
boolean |
Cypher.paintBefore(Context cx,
Node node)
Wraps Graphics2D with GraphicsCypher. |
boolean |
Cypher.paintAfter(Context cx,
Node node)
Restores Graphics2D passed in paintBefore. |
boolean |
BitMagnify.paintAfter(Context cx,
Node node)
|
boolean |
BitMagnify.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
Transform mouse coordinates to match magnified. |
boolean |
BitMagnify.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
| Uses of Node in multivalent.std.span |
|---|
| Methods in multivalent.std.span with parameters of type Node | |
|---|---|
boolean |
SidebarSpan.paintAfter(Context cx,
Node n)
|
boolean |
ReplaceWithSpan.paintBefore(Context cx,
Node start)
|
boolean |
OutlineSpan.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
When click, resolve click to leaf, undo elision, scroll to leaf. |
boolean |
Notemark.paintBefore(Context cx,
Node node)
|
boolean |
Notemark.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
MoveTextSpan.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
If no destination point, click-drag to set (re-fire keyboard events out so can still scroll). |
boolean |
MoveTextSpan.paintAfter(Context cx,
Node node)
Draw line between source and destination. |
boolean |
MoveTextSpan.formatAfter(Node node)
After formatted affected area, recompute coordinates of circle and arrow. |
boolean |
LabelSpan.paintBefore(Context cx,
Node start)
|
boolean |
InsertSpan.paintBefore(Context cx,
Node node)
|
boolean |
HyperlinkSpan.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
On a mouse button down, directly receive all furture low-level events by setting a grab in Browser, until a mouse button up. |
boolean |
BoxSpan.paintBefore(Context cx,
Node n)
|
boolean |
BoxSpan.paintAfter(Context cx,
Node n)
|
boolean |
AnchorSpan.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
|
boolean |
ActionSpan.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
| Uses of Node in multivalent.std.ui |
|---|
| Methods in multivalent.std.ui that return Node | |
|---|---|
Node |
History.fault(int id,
Span span,
INode replace)
|
| Methods in multivalent.std.ui with parameters of type Node | |
|---|---|
boolean |
OutlineUI.eventAfter(java.awt.AWTEvent e,
java.awt.Point scrn,
Node obsn)
"Return" invokes smart scroll, which closes up current section, and opens next. |
boolean |
Multipage.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node n)
If at bottom of page, Space and PageDown flip to next page. |
boolean |
FontRender.paintBefore(Context cx,
Node node)
|
boolean |
FontRender.paintAfter(Context cx,
Node node)
|
boolean |
DocumentPopup.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
Button 3 creates the document popup menu by sending semantic event, with CHashMap as arg with following attributes, as applicable: NODE=current node, ACTIVES=active ContextListeners, ACTIVESPAN=first active span, MENU=popup menu (seeded with categories SPECIFIC, NAVIGATE, VIEW, CREATE, SAVE). |
boolean |
BindingsWindoze.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
BindingsTk.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
On button 2 down, take grab; else ignore. |
boolean |
BindingsMacintosh.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
Where possible, convert into a standard key and let BindingsDefault catch it; for example, M-v => ACTION_PASTE. |
boolean |
BindingsEmacs.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
BindingsDefault.eventBefore(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
boolean |
BindingsDefault.eventAfter(java.awt.AWTEvent e,
java.awt.Point rel,
Node obsn)
|
| Uses of Node in phelps.doc |
|---|
| Methods in phelps.doc that return Node | |
|---|---|
static Node |
RobustLocation.attachId(java.lang.String id,
java.lang.String idkey,
Node root)
Search tree rooted at root for ID attribute matching id (stored under key idkey, which is usually "id" or "idref"). |
| Methods in phelps.doc with parameters of type Node | |
|---|---|
static void |
RobustLocation.descriptorFor(Node keepme,
int offset,
Node docroot,
java.util.Map<java.lang.String,java.lang.Object> map)
Given node, write multiple, redundant location descriptors into passed Map. |
static Mark |
RobustLocation.attachContent(Node subroot,
java.lang.String content,
java.lang.String pre,
java.lang.String post)
|
static Node |
RobustLocation.attachId(java.lang.String id,
java.lang.String idkey,
Node root)
Search tree rooted at root for ID attribute matching id (stored under key idkey, which is usually "id" or "idref"). |
static void |
RobustLocation.attachTree(Node n,
java.lang.String[] names,
int[] posns,
int ni,
int fuzz,
int depth,
phelps.doc.RobustLocation.Report sub)
|
| Uses of Node in phelps.net |
|---|
| Methods in phelps.net with parameters of type Node | |
|---|---|
static java.lang.String |
RobustHyperlink.computeSignature(Node root)
Compute signature from document tree. |
|
Multivalent API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||