multivalent.node

Class LeafShadow

public class LeafShadow extends Leaf

Leaf to shadow structural node in absolute visual space. The document tree is primarily structural, but elements such as floats and menus cut across structure when painted. The node itself is a shadow, but it takes another node to shadow, so it operates as kind of an internal node too.

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

Constructor Summary
LeafShadow(String name, Map<String,Object> attr, INode parent, Node shadowed)
Method Summary
booleaneventNode(AWTEvent e, Point rel)
booleanformatBeforeAfter(int width, int height, Context cx)
booleanformatNode(int width, int height, Context cx)
NodegetShadowed()
voidpaintNode(Rectangle docclip, Context cx)

Constructor Detail

LeafShadow

public LeafShadow(String name, Map<String,Object> attr, INode parent, Node shadowed)

Method Detail

eventNode

public boolean eventNode(AWTEvent e, Point rel)

formatBeforeAfter

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

formatNode

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

getShadowed

public Node getShadowed()

paintNode

public void paintNode(Rectangle docclip, Context cx)