multivalent.gui

Class VEntry

public class VEntry extends VTextArea

Single-line editable text field. Like VTextArea, except typing Return invokes SCRIPT attribute, if any.

Version: $Revision: 1.2 $ $Date: 2002/01/27 02:01:06 $

Constructor Summary
VEntry(String name, Map<String,Object> attr, INode parent, int widthchars, String initcontent)
VEntry(String name, Map<String,Object> attr, INode parent)
Method Summary
booleaneventNode(AWTEvent e, Point rel)
Typing return invokes SCRIPT attribute, if any.
intgetWidthChars()
voidinvoke()
Before executing the script, the Entry's content is collected as the TEXT entry to this widget, where it can be referred to by the script as "$TEXT".
voidsetContent(String text)
voidsetWidthChars(int widthchars)

Constructor Detail

VEntry

public VEntry(String name, Map<String,Object> attr, INode parent, int widthchars, String initcontent)

VEntry

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

Method Detail

eventNode

public boolean eventNode(AWTEvent e, Point rel)
Typing return invokes SCRIPT attribute, if any.

getWidthChars

public int getWidthChars()

invoke

public void invoke()
Before executing the script, the Entry's content is collected as the TEXT entry to this widget, where it can be referred to by the script as "$TEXT".

setContent

public void setContent(String text)

setWidthChars

public void setWidthChars(int widthchars)