multivalent.gui

Class VAlert

public class VAlert extends IVBox

Automatically sizes to include content as given by a URL, and horizontally centers in window, and has no window controls. As in Apple's Aqua, Alerts are not free to roam about the screen, but rather are bound to the window to which they refer and hence remain clearly associate to it. Remember that URL can be systemresource:/. To this content is appended a horizontal rule and close button.

Version: $Revision: 1.4 $ $Date: 2002/11/08 06:03:17 $

Constructor Summary
VAlert(String name, Map<String,Object> attrs, INode parent, String src)
VAlert(String name, Map<String,Object> attrs, INode parent, URI src)
Method Summary
booleaneventNode(AWTEvent e, Point rel)
Block events to rest of tree.
booleanformatNode(int width, int height, Context cx)

Constructor Detail

VAlert

public VAlert(String name, Map<String,Object> attrs, INode parent, String src)

VAlert

public VAlert(String name, Map<String,Object> attrs, INode parent, URI src)

Method Detail

eventNode

public boolean eventNode(AWTEvent e, Point rel)
Block events to rest of tree.

formatNode

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