|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.gui.dialog.MessagesDialog
The MessagesDialog
represents a dialog with string
messages and a button to save the messages.
Inner Class Summary | |
protected class |
MessagesDialog.SaveListener
The SaveListener is a listener class of menu
selection to save the content messages. |
Field Summary | |
protected javax.swing.JButton |
button
The button to save. |
protected java.util.Vector |
contents
The content meassages. |
protected java.util.Vector |
contents_saved
The content meassages to save. |
protected java.lang.String |
header
The header meassage. |
private static int |
max_contents
The maximum number of contents. |
Constructor Summary | |
MessagesDialog(java.lang.String header,
java.util.Vector contents)
Constructs a MessagesDialog . |
Method Summary | |
void |
setContentsToSave(java.util.Vector contents)
Sets the content messages to save. |
void |
show(java.awt.Component parent)
Shows a dialog. |
void |
show(java.awt.Component parent,
java.lang.String title,
int type)
Shows a dialog. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected java.lang.String header
protected java.util.Vector contents
protected java.util.Vector contents_saved
protected javax.swing.JButton button
private static final int max_contents
Constructor Detail |
public MessagesDialog(java.lang.String header, java.util.Vector contents)
MessagesDialog
.header
- the header message. It can be null.contents
- the content messages.Method Detail |
public void setContentsToSave(java.util.Vector contents)
contents
- the content messages to save.public void show(java.awt.Component parent)
parent
- the parent component.public void show(java.awt.Component parent, java.lang.String title, int type)
parent
- the parent component.title
- the title.type
- the type.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |