Multivalent API

multivalent.node
Class FixedLeafBlock

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Node
          extended by multivalent.Leaf
              extended by multivalent.node.LeafBlock
                  extended by multivalent.node.FixedLeafBlock
All Implemented Interfaces:
java.lang.Cloneable, Fixed

public class FixedLeafBlock
extends LeafBlock
implements Fixed

Version:
$Revision$ $Date$

Field Summary
 java.awt.Rectangle ibbox_
           
 
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
FixedLeafBlock(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent, java.awt.Rectangle bbox)
           
 
Method Summary
 boolean formatNodeContent(Context cx, int start, int end)
           
 java.awt.Rectangle getIbbox()
          An "ibbox", or initial bbox, holds the absolute coordinates vs relative ones in bboxes.
 
Methods inherited from class multivalent.node.LeafBlock
formatBeforeAfter, paintNode
 
Methods inherited from class multivalent.Leaf
append, checkRep, clipboardBeforeAfter, clipboardNode, copy, cut, delete, dx, dy, eatme, eventBeforeAfter, eventNode, formatNode, getFirstLeaf, getLastLeaf, insert, insert, isLeaf, lengthTo, markDirtySubtreeDown, offset2rel, paintBeforeAfter, paintNodeContent, paste, paste, removeTidy, setName, split, subelement, subelementCalc, subelementHit
 
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, size, 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
 

Field Detail

ibbox_

public java.awt.Rectangle ibbox_
Constructor Detail

FixedLeafBlock

public FixedLeafBlock(java.lang.String name,
                      java.util.Map<java.lang.String,java.lang.Object> attr,
                      INode parent,
                      java.awt.Rectangle bbox)
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)
Overrides:
formatNodeContent in class Leaf

Multivalent API