multivalent.gui
public class VTextArea extends IScrollPane
Content kept as subtree, available as string from getContent().
Version: $Revision: 1.3 $ $Date: 2003/06/02 05:21:29 $
Constructor Summary | |
---|---|
VTextArea(String name, Map<String,Object> attr, INode parent) | |
VTextArea(String name, Map<String,Object> attr, INode parent, INode layout) |
Method Summary | |
---|---|
boolean | breakAfter() |
boolean | breakBefore() |
boolean | eventNode(AWTEvent e, Point rel) If no content, route mouse to 0-length leaf, so can click and type. |
protected void | fixContent() appendChild() adds to formatting node, which is VTextArea's first and only child, instead. |
boolean | formatNode(int width, int height, Context cx) |
String | getContent() Collect up textual leaves into a space-separated String. |
void | paintNode(Rectangle docclip, Context cx) |
Parameters: layout INode, defaults to IParaBox. Content should be added to this node, which should be the single child of VTextArea.