public abstract class DialogCallbacks
extends java.lang.Object
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();
| Constructor and Description |
|---|
DialogCallbacks() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
enableOKButton(boolean ok)
A dailog calls this method to update the status of the OK button.
|
public abstract void enableOKButton(boolean ok)
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.