com.japisoft.xmlpad.dialog
Class DialogManager

java.lang.Object
  extended bycom.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
           
 
Constructor Summary
DialogManager()
           
 
Method Summary
static void setDialogManagerDelegate(DialogManagerDelegate manager)
           
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final int OK
See Also:
Constant Field Values

CANCEL

public static final int CANCEL
See Also:
Constant Field Values
Constructor Detail

DialogManager

public DialogManager()
Method Detail

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 parent
dialogTitle - The title of the dialog
title - The main title
comment - The user comment
icon - An icon
pane - The user UI element
Returns:
an Action Id like OKAction.ID


Copyright © 2006 JAPISoft. All Rights Reserved.