Multivalent API

multivalent.node
Class FixedLeafShape

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

public class FixedLeafShape
extends LeafShape
implements Fixed

Holds a Shape.

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

Field Summary
 java.awt.Rectangle ibbox_
           
 
Fields inherited from class multivalent.node.LeafShape
fill_, shape_, stroke_
 
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
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)
           
 
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.LeafShape
eventNode, formatNode, getShape, isFill, isStroke, paintNodeContent, setFill, setStroke
 
Methods inherited from class multivalent.Leaf
append, checkRep, clipboardBeforeAfter, clipboardNode, copy, cut, delete, dx, dy, eatme, eventBeforeAfter, formatBeforeAfter, getFirstLeaf, getLastLeaf, insert, insert, isLeaf, lengthTo, markDirtySubtreeDown, offset2rel, paintBeforeAfter, paintNode, 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

FixedLeafShape

public 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)
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