|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--arlut.csd.JDialog.JDialogBuff
This class is a serializable description of a dialog object that a server is asking a client to present.
If you don't need to send a dialog definition object across an RMI
link, you can just construct a DialogRsrc
directly.
| Field Summary | |
(package private) java.lang.String |
cancelText
|
(package private) static boolean |
debug
|
(package private) java.lang.String |
imageName
|
(package private) java.lang.String |
okText
|
(package private) java.util.Vector |
resources
|
(package private) java.lang.StringBuffer |
text
|
(package private) java.lang.String |
title
|
| Constructor Summary | |
JDialogBuff(java.lang.String Title,
java.lang.String Text)
Constructor for JDialogBuff |
|
JDialogBuff(java.lang.String Title,
java.lang.String Text,
java.lang.String OK,
java.lang.String Cancel)
Constructor with special "Ok" and "Cancel" strings |
|
JDialogBuff(java.lang.String Title,
java.lang.String Text,
java.lang.String OK,
java.lang.String Cancel,
java.lang.String image)
Constructor with special "Ok" and "Cancel" strings |
|
| Method Summary | |
void |
addBoolean(java.lang.String string)
Adds a labeled check box field |
void |
addBoolean(java.lang.String string,
boolean value)
Adds a labeled check box field |
void |
addChoice(java.lang.String label,
java.util.Vector choices)
Adds a choice field to the dialog |
void |
addChoice(java.lang.String label,
java.util.Vector choices,
java.lang.String selectedValue)
Adds a choice field to the dialog |
void |
addDate(java.lang.String label,
java.util.Date currentDate,
java.util.Date maxDate)
Adds a labeled date field |
void |
addMultiString(java.lang.String string,
java.lang.String value)
Adds a labeled multi-line text field |
void |
addPassword(java.lang.String label)
Adds a text-hidden password string field to the dialog |
void |
addPassword(java.lang.String label,
boolean isNew)
Adds a text-hidden password string field to the dialog |
void |
addString(java.lang.String string)
Adds a labeled text field |
void |
addString(java.lang.String string,
java.lang.String value)
Adds a labeled text field |
void |
appendText(java.lang.String text)
Adds a newline and the provided text to the end of the text encoded in this dialog. |
arlut.csd.JDialog.DialogRsrc |
extractDialogRsrc(java.awt.Frame frame)
|
java.lang.String |
getText()
This is a convenience function for the server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
static final boolean debug
java.lang.String title
java.lang.StringBuffer text
java.lang.String okText
java.lang.String cancelText
java.lang.String imageName
java.util.Vector resources
| Constructor Detail |
public JDialogBuff(java.lang.String Title,
java.lang.String Text)
Title - String for title of Dialog box.Text - String for message at top of dialog box.
public JDialogBuff(java.lang.String Title,
java.lang.String Text,
java.lang.String OK,
java.lang.String Cancel)
Title - String for title of Dialog box.Text - String for message at top of dialog box.OK - String for Ok buttonCancel - String for Cancel button
public JDialogBuff(java.lang.String Title,
java.lang.String Text,
java.lang.String OK,
java.lang.String Cancel,
java.lang.String image)
Title - String for title of Dialog box.Text - String for message at top of dialog box.OK - String for Ok buttonCancel - String for Cancel buttonimage - Filename of image to display next to text| Method Detail |
public arlut.csd.JDialog.DialogRsrc extractDialogRsrc(java.awt.Frame frame)
public void addString(java.lang.String string)
Adds a labeled text field
string - String to use as the label
public void addString(java.lang.String string,
java.lang.String value)
Adds a labeled text field
string - String to use as the labelvalue - Initial value for string
public void addMultiString(java.lang.String string,
java.lang.String value)
Adds a labeled multi-line text field
string - String to use as the labelvalue - Initial value for stringpublic void addBoolean(java.lang.String string)
Adds a labeled check box field
string - String to use as the label
public void addBoolean(java.lang.String string,
boolean value)
Adds a labeled check box field
string - String to use as the labelvalue - Initial value
public void addDate(java.lang.String label,
java.util.Date currentDate,
java.util.Date maxDate)
Adds a labeled date field
label - String to use as the labelcurrentDate - Date to initialize the date field tomaxDate - Latest date that the user may choose for this field.
public void addChoice(java.lang.String label,
java.util.Vector choices)
Adds a choice field to the dialog
label - String to use as the labelchoices - Vector of Strings to add to the choice
public void addChoice(java.lang.String label,
java.util.Vector choices,
java.lang.String selectedValue)
Adds a choice field to the dialog
label - String to use as the labelchoices - Vector of Strings to add to the choicepublic void addPassword(java.lang.String label)
Adds a text-hidden password string field to the dialog
label - String to use as label
public void addPassword(java.lang.String label,
boolean isNew)
Adds a text-hidden password string field to the dialog
label - String to use as labelpublic void appendText(java.lang.String text)
Adds a newline and the provided text to the end of the text encoded in this dialog.
public java.lang.String getText()
This is a convenience function for the server.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||