Multivalent API

multivalent.node
Class FixedIVBox

java.lang.Object
  extended by multivalent.VObject
      extended by multivalent.Node
          extended by multivalent.INode
              extended by multivalent.node.FixedI
                  extended by multivalent.node.FixedIVBox
All Implemented Interfaces:
java.lang.Cloneable, Fixed

public class FixedIVBox
extends FixedI

FixedIVBox

Version:
$Revision: 1.2 $ $Date: 2002/01/27 02:58:53 $

Field Summary
 
Fields inherited from class multivalent.node.FixedI
ibbox_
 
Fields inherited from class multivalent.INode
border, INSETS, INSETS_ZERO, margin, padding
 
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
FixedIVBox(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> attr, INode parent)
           
 
Method Summary
 void appendChild(Node child)
          Maintain children in order of increasing y coordinate.
 boolean formatNode(int width, int height, Context cx)
          Adjust for changes in height and width of children.
 boolean formatNodeOLD(int width, int height, Context cx)
          Adjust for changes in height and width of children.
 
Methods inherited from class multivalent.node.FixedI
dump, formatNode, getIbbox, reformat
 
Methods inherited from class multivalent.INode
addCategory, breakAfter, breakBefore, checkRep, childAt, childNum, clipboardNode, clone, contains, dx, dy, eventBeforeAfter, eventNode, findDFS, formatBeforeAfter, getElementById, getFirstChild, getFirstLeaf, getLastChild, getLastLeaf, getNextSibling, getPreviousSibling, insertChildAt, isStruct, markDirtySubtreeDown, paintBeforeAfter, paintNode, removeAllChildren, removeChild, removeChildAt, setChildAt, setName, size, structChildAt, structChildNum, structsize
 
Methods inherited from class multivalent.Node
addObserver, addSticky, addSticky, childNum, clipboardBeforeAfter, cmp, commonAncestor, commonAncestor, contains, deleteObserver, dump, dump, findBFS, findBFS, findBFS, findDFS, findDFS, findDFS, getAbsLocation, getActivesAt, getActivesAt, getActivesAt, getBbox, getBrowser, getDocument, getIScrollPane, getName, getNextLeaf, getNextNode, getNodeName, getObservers, getParentNode, getPrevLeaf, getPrevNode, getRelLocation, getRoot, getSticky, indexSticky, intersects, isLeaf, isValid, markDirty, markDirtySubtree, markDirtyTo, morphInto, remove, removeSticky, removeSticky, removeTidy, 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

FixedIVBox

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

appendChild

public void appendChild(Node child)
Maintain children in order of increasing y coordinate.

Overrides:
appendChild in class INode

formatNode

public boolean formatNode(int width,
                          int height,
                          Context cx)
Adjust for changes in height and width of children. Precondition: ibbox is minimum container of children ibboxes. Formatting too late to sort by y as already made decorations whose locations are based on tree structure.

Overrides:
formatNode in class FixedI
See Also:
FixedI

formatNodeOLD

public boolean formatNodeOLD(int width,
                             int height,
                             Context cx)
Adjust for changes in height and width of children.


Multivalent API