|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.panels.TDialogLauncher
This classes launches a dialog whose content area is a single
Traversable
, thus the "T" prefix.
Constructor Summary | |
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. |
Method Summary | |
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.lang.String |
getHelpID()
|
java.awt.Dimension |
getInitialSize()
|
java.awt.Component |
getParent()
|
static java.awt.Dimension |
getPreferredDefaultInitialSize()
|
java.lang.String |
getTitle()
|
Traversable |
getTraversable()
|
protected TraversableContext |
getTraversableContext()
|
protected oracle.bali.ewt.dialog.JEWTDialog |
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 |
setHelpID(java.lang.String helpID)
|
void |
setInitialSize(java.awt.Dimension initialSize)
|
static void |
setPreferredDefaultInitialSize(java.awt.Dimension defaultSize)
|
boolean |
showDialog()
Shows dialog with OK, Cancel, and Help buttons. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
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 TDialogLauncher(java.awt.Component parent, java.lang.String title, Traversable traversable, Namespace data)
Method Detail |
public void addApplyListener(ApplyListener applyListener)
ApplyNotifier
ApplyListener
that will be called when the
user applies or cancels changes.
addApplyListener
in interface ApplyNotifier
public void removeApplyListener(ApplyListener applyListener)
ApplyNotifier
ApplyListener
so that it
no longer receives notification when the user applies or cancels
changes.
removeApplyListener
in interface ApplyNotifier
public java.awt.Component getParent()
public java.lang.String getTitle()
public Traversable getTraversable()
public java.lang.String getHelpID()
public void setHelpID(java.lang.String helpID)
public java.awt.Dimension getInitialSize()
public void setInitialSize(java.awt.Dimension initialSize)
public java.awt.Dimension getDefaultInitialSize()
public static java.awt.Dimension getPreferredDefaultInitialSize()
public static void setPreferredDefaultInitialSize(java.awt.Dimension defaultSize)
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 oracle.bali.ewt.dialog.JEWTDialog newDialog()
protected void fireApply()
ApplyListener
objects.
protected void fireCancel()
ApplyListener
objects.
|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©1997, 2003, Oracle. All rights reserved.