multivalent.node

Class IVBox

public class IVBox extends INode

Lays out children vertically, top to bottom.

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

Constructor Summary
IVBox(String name, Map<String,Object> attr, INode parent)
Method Summary
booleanformatNode(int width, int height, Context cx)
voidpaintNode(Rectangle docclip, Context cx)
Since children layed out top to bottom, can stop painting when child.bbox.y > clip.y+clip.height.

Constructor Detail

IVBox

public IVBox(String name, Map<String,Object> attr, INode parent)

Method Detail

formatNode

public boolean formatNode(int width, int height, Context cx)

Parameters: width ignored during formatting height ignored during formatting

paintNode

public void paintNode(Rectangle docclip, Context cx)
Since children layed out top to bottom, can stop painting when child.bbox.y > clip.y+clip.height.