jApp
Class ModalDialog
java.lang.Object
jApp.ModalDialog
- Direct Known Subclasses:
- PreviewDialog
public class ModalDialog
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK_OPTION
public static final int OK_OPTION
- See Also:
- Constant Field Values
CANCEL_OPTION
public static final int CANCEL_OPTION
- See Also:
- Constant Field Values
DEFAULT_OPTION
public static final int DEFAULT_OPTION
- See Also:
- Constant Field Values
CLOSED_OPTION
public static final int CLOSED_OPTION
- See Also:
- Constant Field Values
YES_OPTION
public static final int YES_OPTION
- See Also:
- Constant Field Values
NO_OPTION
public static final int NO_OPTION
- See Also:
- Constant Field Values
ModalDialog
public ModalDialog(Document doc,
java.lang.String title)
setReturnValue
protected void setReturnValue(int value)
getReturnValue
public int getReturnValue()
createOkCancelPanel
public static javax.swing.JPanel createOkCancelPanel(ModalDialog dialog)
createOkCancelPanel
public static javax.swing.JPanel createOkCancelPanel(ModalDialog dialog,
boolean defaultToCancel)
createOkPanel
public static javax.swing.JPanel createOkPanel(ModalDialog dialog)
closeDialog
public void closeDialog()
setContent
public void setContent(javax.swing.JComponent comp)
setJMenuBar
public void setJMenuBar(javax.swing.JMenuBar mbar)
showDialog
public int showDialog()
showDialog
public int showDialog(java.awt.Frame parent)
showConfirmDialog
public int showConfirmDialog(java.awt.Component component,
java.lang.String message,
java.lang.String title,
int type)
showInfoMessage
public void showInfoMessage(java.lang.String message,
java.lang.String title)
showErrorMessage
public void showErrorMessage(java.lang.String message,
java.lang.String title)
showWarningMessage
public void showWarningMessage(java.lang.String message,
java.lang.String title)