multivalent.node
public class LeafShape extends Leaf
Version: $Revision: 1.3 $ $Date: 2002/09/27 23:37:04 $
Field Summary | |
---|---|
protected boolean | fill_ |
protected Shape | shape_ |
protected boolean | stroke_ |
Constructor Summary | |
---|---|
LeafShape(String name, Map<String,Object> attr, INode parent, Shape shape, boolean stroke, boolean fill) |
Method Summary | |
---|---|
boolean | eventNode(AWTEvent e, Point rel) Don't allow events to enter -- visual only. |
boolean | formatNode(int width, int height, Context cx) |
Shape | getShape() Returns shape (not a copy). |
boolean | isFill() |
boolean | isStroke() |
boolean | paintNodeContent(Context cx, int start, int end) Fill, then stroke shape. |
void | setFill(boolean b) |
void | setStroke(boolean b) |