PromptDialog

Undocumented in source.

Constructors

this
this(Shell parent, int style)
Undocumented in source.
this
this(Shell parent)
Undocumented in source.

Members

Functions

alertCheck
void alertCheck(String title, String text, String check, int checkValue)
Undocumented in source. Be warned that the author may not have intended to support it.
confirmEx
void confirmEx(String title, String text, String check, String button0, String button1, String button2, int defaultIndex, int checkValue, int result)
Undocumented in source. Be warned that the author may not have intended to support it.
prompt
void prompt(String title, String text, String check, String value, int checkValue, int result)
Undocumented in source. Be warned that the author may not have intended to support it.
promptUsernameAndPassword
void promptUsernameAndPassword(String title, String text, String check, String user, String pass, int checkValue, int result)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Dialog

style
int style;
Undocumented in source.
parent
Shell parent;
Undocumented in source.
title
String title;
Undocumented in source.
checkSubclass
void checkSubclass()

Checks that this class can be subclassed. <p> IMPORTANT: See the comment in <code>Widget.checkSubclass()</code>. </p>

checkParent
void checkParent(Shell parent)

Throws an exception if the specified widget can not be used as a parent for the receiver.

checkStyle
int checkStyle(Shell parent, int style)
Undocumented in source. Be warned that the author may not have intended to support it.
error
void error(int code)

Does whatever dialog specific cleanup is required, and then uses the code in <code>SWTError.error</code> to handle the error.

getParent
Shell getParent()

Returns the receiver's parent, which must be a <code>Shell</code> or null.

getStyle
int getStyle()

Returns the receiver's style information. <p> Note that, the value which is returned by this method <em>may not match</em> the value which was provided to the constructor when the receiver was created. </p>

getText
String getText()

Returns the receiver's text, which is the string that the window manager will typically display as the receiver's <em>title</em>. If the text has not previously been set, returns an empty string.

setText
void setText(String string)

Sets the receiver's text, which is the string that the window manager will typically display as the receiver's <em>title</em>, to the argument, which must not be null.

Meta