oracle.ide.panels
Interface DialogCallbacks
- public interface DialogCallbacks
This interface defines callback methods that are implemented by a
a Traversable
-based Launcher dialog for the sake of
Traversable
dailog that need to update the state of the
Launcher dialog's components. A launcher dialog receives an instance of
DialogCallbacks
through the TraversableContext
passed into its onEntry(...)
method:
DialogCallbacks callbacks = traversableContext.getDialogCallbacks();
Field Summary |
static java.lang.String |
DT_NAME
|
Method Summary |
void |
enableOKButton(boolean ok)
A dailog calls this method to update the status of the
OK button. |
DT_NAME
public static final java.lang.String DT_NAME
- See Also:
- Constant Field Values
enableOKButton
public void enableOKButton(boolean ok)
- A dailog calls this method to update the status of the
OK button. if the argumentvalue of
false
means that the OK button must be disabled. A value of
true
means that the OK button should be enabled.
However, the launcher dialog is allowed to override the true
value and put a button in a disabled state, if appropriate.
Copyright © 1997, 2004, Oracle. All rights reserved.