|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.xoetrope.html.XHtmlWidget
net.xoetrope.html.XMessageBox
public class XMessageBox
Creates a simple modal MessageBox with a label for the text and a close button
Copyright (c) Xoetrope Ltd., 1998-2004
License: see license.txt $Revision: 2.7 $
| Field Summary | |
|---|---|
protected netscape.javascript.JSObject |
obj
|
protected XEdit |
prompt
|
| Fields inherited from class net.xoetrope.html.XHtmlWidget |
|---|
currentProject, divElement, htmlDoc, imageElement, inputElement, labelElement, metaElement, olElement, selectElement, tableElement, textareaElement, ulElement |
| Constructor Summary | |
|---|---|
XMessageBox()
Create a new instance of message box. |
|
XMessageBox(java.lang.String msg)
Create a new XMessageBox with a specific text |
|
| Method Summary | |
|---|---|
void |
add(XEdit edit)
Add an edit field to the message box |
java.lang.String |
getText()
Get the text displayed in the message box |
void |
setup(java.lang.String msg)
Setup the content of the message box |
void |
setup(java.lang.String title,
java.lang.String msg,
java.lang.Object size,
java.lang.Object page)
Setup the content of the message box |
| Methods inherited from class net.xoetrope.html.XHtmlWidget |
|---|
addEvent, setObject, setObject, setObject, setObject, setObject, setObject, setObject, setObject, setObject, setObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected netscape.javascript.JSObject obj
protected XEdit prompt
| Constructor Detail |
|---|
public XMessageBox()
public XMessageBox(java.lang.String msg)
msg - the message to display| Method Detail |
|---|
public void setup(java.lang.String msg)
msg - the text of the messagepublic void add(XEdit edit)
the - edit fieldpublic java.lang.String getText()
public void setup(java.lang.String title,
java.lang.String msg,
java.lang.Object size,
java.lang.Object page)
XMessageBoxSetup
setup in interface XMessageBoxSetuptitle - the message box title or captionmsg - the text of the messagesize - the size of the owner pagepage - the content page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||