|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DialogFactory
Provides functionalities to show a dialog box in a GUI.
Method Summary | |
---|---|
CustomizerDialog |
createCustomizerDialog(AbstractCustomizer customizer,
boolean modal,
EnumSet<CustomizerDialog.ButtonMask> buttonMask)
Builds a new dialog box from a single customizer. |
CustomizerDialog |
createCustomizerDialog(ArrayList<AbstractCustomizer> customizers,
int selected,
String title,
boolean modal,
EnumSet<CustomizerDialog.ButtonMask> buttonMask)
Creates a new dialog box from the given array of AbstractCustomizer 's, laying them out in
a JTabbedPane . |
MDIComponent |
createDialog(String title,
boolean modal,
JComponent innerPane)
Wraps the given component in a dialog box appropriate for the current GUI. |
int |
showConfirmDialog(Object message,
String title,
int optionType)
|
int |
showConfirmDialog(Object message,
String title,
int optionType,
int messageType)
|
int |
showDontAskMeAgainConfirmDialog(String message,
String title,
String dontAskMeAgainKey,
int messageType)
Describe showDontAskMeAgainConfirmDialog method here. |
String |
showInputDialog(Object message,
String title,
int messageType)
|
Object |
showInputDialog(Object message,
String title,
int messageType,
Object[] choices,
Object initialChoice)
|
String |
showInputDialog(Object message,
String title,
int messageType,
String initialValue)
|
void |
showMessageDialog(Object message,
String title,
int messageType)
|
Method Detail |
---|
MDIComponent createDialog(String title, boolean modal, JComponent innerPane)
CustomizerDialog createCustomizerDialog(ArrayList<AbstractCustomizer> customizers, int selected, String title, boolean modal, EnumSet<CustomizerDialog.ButtonMask> buttonMask)
AbstractCustomizer
's, laying them out in
a JTabbedPane
.setOkButtonClosesDialog
.
title
- the dialog title ; if null
, the title of the first customizer is used.selected
- index of the selected customizer on start-upbuttonMask
- buttons to be displayed : a mask computed from predefinite masks OR'd togetherCustomizerDialog createCustomizerDialog(AbstractCustomizer customizer, boolean modal, EnumSet<CustomizerDialog.ButtonMask> buttonMask)
void showMessageDialog(Object message, String title, int messageType)
JOptionPane
int showConfirmDialog(Object message, String title, int optionType)
JOptionPane
int showConfirmDialog(Object message, String title, int optionType, int messageType)
JOptionPane
int showDontAskMeAgainConfirmDialog(String message, String title, String dontAskMeAgainKey, int messageType)
showDontAskMeAgainConfirmDialog
method here.
message
- Un message textuel.title
- voir javax.swing#JOptionPane
dontAskMeAgainKey
- une clef de propriété de type jpicedt.ui.dialog
.messageType
- voir javax.swing.JOptionPane.
javax.swing#JOptionPane
, renvoie JOptionPane.YES_OPTION
ou
JOptionPane.NO_OPTION
.String showInputDialog(Object message, String title, int messageType)
JOptionPane
String showInputDialog(Object message, String title, int messageType, String initialValue)
JOptionPane
Object showInputDialog(Object message, String title, int messageType, Object[] choices, Object initialChoice)
JOptionPane
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |