com.japisoft.xmlpad.dialog
Class DialogManager
java.lang.Object
com.japisoft.xmlpad.dialog.DialogManager
- public class DialogManager
- extends java.lang.Object
- Version:
- 1.0
- Author:
- (c) 2004 JAPISoft / http://www.japisoft.com
Field Summary |
static int |
CANCEL
|
static int |
OK
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final int OK
- See Also:
- Constant Field Values
CANCEL
public static final int CANCEL
- See Also:
- Constant Field Values
DialogManager
public DialogManager()
setDialogManagerDelegate
public static void setDialogManagerDelegate(DialogManagerDelegate manager)
showDialog
public static int showDialog(java.awt.Window owner,
java.lang.String dialogTitle,
java.lang.String title,
java.lang.String comment,
javax.swing.Icon icon,
javax.swing.JComponent pane)
- Parameters:
owner
- dialog or frame parentdialogTitle
- The title of the dialogtitle
- The main titlecomment
- The user commenticon
- An iconpane
- The user UI element
- Returns:
- an Action Id like OKAction.ID
Copyright © 2006 JAPISoft. All Rights Reserved.