public class TDialogLauncher extends java.lang.Object implements ApplyNotifier
Traversable, thus the "T" prefix.| Constructor and Description | 
|---|
TDialogLauncher(java.awt.Component parent,
               java.lang.String title,
               Traversable traversable,
               Namespace data)  | 
TDialogLauncher(java.awt.Component parent,
               java.lang.String title,
               Traversable traversable,
               Namespace data,
               DialogRunnerCallback dialogCallback)
The traversable's onEntry(...) method is called as a side effect
  of constructing the TDialogLauncher. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addApplyListener(ApplyListener applyListener)
Adds an  
ApplyListener that will be called when the
  user applies or cancels changes. | 
void | 
dispose()  | 
protected void | 
fireApply()
Fires the "apply" message to all registered  
ApplyListener
  objects. | 
protected void | 
fireCancel()
Fires the "cancel" message to all registered  
ApplyListener
  objects. | 
java.awt.Dimension | 
getDefaultInitialSize()  | 
java.awt.Dimension | 
getInitialSize()  | 
java.awt.Component | 
getParent()  | 
static java.awt.Dimension | 
getPreferredDefaultInitialSize()  | 
java.lang.String | 
getTitle()  | 
protected TraversableContext | 
getTraversableContext()  | 
oracle.bali.ewt.dialog.JEWTDialog | 
initDialog()
Initializes the JEWTDialog that the TDialogLauncher will use to host
  the Traversable. 
 | 
protected TDialog | 
newDialog()  | 
void | 
removeApplyListener(ApplyListener applyListener)
Removes a previously added  
ApplyListener so that it
  no longer receives notification when the user applies or cancels
  changes. | 
void | 
setDialogHeader(oracle.bali.ewt.dialog.DialogHeader header)
Sets the dialog header. 
 | 
void | 
setInitialSize(java.awt.Dimension initialSize)  | 
void | 
setInitialSize(int x,
              int y)  | 
void | 
setPackDialog(boolean pack)  | 
static void | 
setPreferredDefaultInitialSize(java.awt.Dimension defaultSize)  | 
boolean | 
showDialog()
Shows dialog with OK, Cancel, and Help buttons. 
 | 
public TDialogLauncher(java.awt.Component parent,
                       java.lang.String title,
                       Traversable traversable,
                       Namespace data)
public TDialogLauncher(java.awt.Component parent,
                       java.lang.String title,
                       Traversable traversable,
                       Namespace data,
                       DialogRunnerCallback dialogCallback)
java.lang.IllegalArgumentException - if the traversable is
  null.public void setDialogHeader(oracle.bali.ewt.dialog.DialogHeader header)
header - the dialog header.public void addApplyListener(ApplyListener applyListener)
ApplyNotifierApplyListener that will be called when the
  user applies or cancels changes.addApplyListener in interface ApplyNotifierpublic void removeApplyListener(ApplyListener applyListener)
ApplyNotifierApplyListener so that it
  no longer receives notification when the user applies or cancels
  changes.removeApplyListener in interface ApplyNotifierpublic java.awt.Component getParent()
public java.lang.String getTitle()
public java.awt.Dimension getInitialSize()
public void setInitialSize(java.awt.Dimension initialSize)
public void setInitialSize(int x,
                           int y)
public void setPackDialog(boolean pack)
public java.awt.Dimension getDefaultInitialSize()
public static java.awt.Dimension getPreferredDefaultInitialSize()
public static void setPreferredDefaultInitialSize(java.awt.Dimension defaultSize)
public oracle.bali.ewt.dialog.JEWTDialog initDialog()
public boolean showDialog()
Namespace must not be null, or else an
  IllegalArgumentException is thrown.true if OK was selected; false
  if Cancel was selected or if the specified Traversable
  is null.java.lang.IllegalArgumentException - if the specified Namespace is null.public void dispose()
protected TraversableContext getTraversableContext()
protected TDialog newDialog()
protected void fireApply()
ApplyListener
  objects.protected void fireCancel()
ApplyListener
  objects.