Multivalent API

multivalent.node
Class FixedLeafUnicode

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Node
          extended by multivalent.Leaf
              extended by multivalent.node.LeafText
                  extended by multivalent.node.LeafUnicode
                      extended by multivalent.node.FixedLeafUnicode
All Implemented Interfaces:
java.lang.Cloneable, Fixed
Direct Known Subclasses:
FixedLeafUnicodeKern

public class FixedLeafUnicode
extends LeafUnicode
implements Fixed

Leaf subclass for fixed-formatted ASCII.

Version:
$Revision: 1.3 $ $Date: 2002/02/02 13:41:39 $

Field Summary
 
Fields inherited from class multivalent.node.LeafText
estr_, Widths_
 
Fields inherited from class multivalent.Node
align, ALIGN_INVALID, ATTR_ID, ATTR_SCRIPT, baseline, BASELINE, bbox, BOTH, BOTTOM, CENTER, CHAR, FILL, floats, INHERIT, JUSTIFY, LEFT, MAXNONSTRUCTDEPTH, MIDDLE, name_, NONE, observers_, parent_, PROBEWIDTH, RIGHT, sticky_, stickycnt_, TOP, valid_, valign
 
Fields inherited from class multivalent.VObject
attr_
 
Fields inherited from interface multivalent.node.Fixed
ATTR_REFORMATTED
 
Constructor Summary
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)
           
 
Method Summary
 void dump(int level, boolean recurse)
           
 boolean formatNodeContent(Context cx, int start, int end)
          Similar to paintNodeContent, set right font, measure.
 java.awt.Rectangle getIbbox()
          An "ibbox", or initial bbox, holds the absolute coordinates vs relative ones in bboxes.
 
Methods inherited from class multivalent.node.LeafUnicode
paintNodeContent
 
Methods inherited from class multivalent.node.LeafText
append, append, append, clipboardBeforeAfter, clipboardNode, getText, offset2rel, size, subelementCalc, subelementHit
 
Methods inherited from class multivalent.Leaf
checkRep, copy, cut, delete, dx, dy, eatme, eventBeforeAfter, eventNode, formatBeforeAfter, formatNode, getFirstLeaf, getLastLeaf, insert, insert, isLeaf, lengthTo, markDirtySubtreeDown, paintBeforeAfter, paintNode, paste, paste, removeTidy, setName, split, subelement
 
Methods inherited from class multivalent.Node
addObserver, addSticky, addSticky, breakAfter, breakBefore, childNum, clipboardBeforeAfter, clone, cmp, commonAncestor, commonAncestor, contains, contains, deleteObserver, dump, dump, dump, findBFS, findBFS, findBFS, findDFS, findDFS, findDFS, findDFS, getAbsLocation, getActivesAt, getActivesAt, getActivesAt, getBbox, getBrowser, getDocument, getElementById, getIScrollPane, getName, getNextLeaf, getNextNode, getNodeName, getObservers, getParentNode, getPrevLeaf, getPrevNode, getRelLocation, getRoot, getSticky, indexSticky, intersects, isStruct, isValid, markDirty, markDirtySubtree, markDirtyTo, morphInto, reformat, remove, removeSticky, removeSticky, repaint, repaint, repaint, repaint, scrollTo, scrollTo, setParentNode, setValid, sizeSticky, spanChunky, spanChunky, structChildNum, toString
 
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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface multivalent.node.Fixed
getBbox
 

Constructor Detail

FixedLeafUnicode

public FixedLeafUnicode(java.lang.String name,
                        java.util.Map<java.lang.String,java.lang.Object> attr,
                        INode parent)

FixedLeafUnicode

public FixedLeafUnicode(java.lang.String name,
                        java.lang.String glyphs,
                        java.util.Map<java.lang.String,java.lang.Object> attr,
                        INode parent)
Method Detail

getIbbox

public java.awt.Rectangle getIbbox()
Description copied from interface: Fixed
An "ibbox", or initial bbox, holds the absolute coordinates vs relative ones in bboxes.

Specified by:
getIbbox in interface Fixed

formatNodeContent

public boolean formatNodeContent(Context cx,
                                 int start,
                                 int end)
Description copied from class: LeafUnicode
Similar to paintNodeContent, set right font, measure.

Overrides:
formatNodeContent in class LeafUnicode

dump

public void dump(int level,
                 boolean recurse)

Multivalent API