|
Extension SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines callback methods that are implemented by a
a Traversable
-based wizard dialog for the sake of
Traversable
panels that need to update the state of the
wizard dialog's decorations. A wizard panel receives an instance of
WizardCallbacks
through the TraversableContext
passed into its onEntry(...)
method:
WizardCallbacks callbacks = traversableContext.getWizardCallbacks();
Field Summary | |
static java.lang.String |
DT_NAME
|
Method Summary | |
void |
wizardEnableButtons(java.lang.Boolean back,
java.lang.Boolean next,
java.lang.Boolean finish)
A panel calls this method to update the status of the Back, Next, and Finish buttons. |
void |
wizardSetInitialFocus(java.awt.Component comp)
A panel calls this method to specify the component on the panel that should have the initial focus. |
void |
wizardSkipCurrentStep()
In the Traversable.onEntry(TraversableContext) method,
a call to wizardSkipCurrentStep() indicates that
the {@link Traversable should be skipped automatically
without being displayed and that the wizard proceed to the next
step. |
void |
wizardUpdateAccessibleDescription(java.lang.String desc)
Updates the wizard's accessible description with the specified string. |
void |
wizardUpdateExpectedTransition(java.lang.Object transition)
A panel calls this method when its expected exit transition changes due to changes in the user's selections in the panel. |
void |
wizardUpdateImage(java.awt.Image image)
A panel calls this method to replace the large image on the left side of the wizard with the specified Image . |
void |
wizardUpdateTitle(java.lang.String title,
java.lang.Boolean showStepNumber)
A panel calls this method to update the string in the wizard dialog's title bar. |
Methods inherited from interface oracle.ide.panels.CommitNotifier |
addCommitListener, removeCommitListener |
Field Detail |
public static final java.lang.String DT_NAME
Method Detail |
public void wizardEnableButtons(java.lang.Boolean back, java.lang.Boolean next, java.lang.Boolean finish)
boolean
arguments, a value of false
means that the
corresponding button must be disabled. A value of
true
means that the button should be enabled.
However, the wizard is allowed to override the true
value and put a button in a disabled state, if appropriate. This
will normally happen when the wizard is at the first or last
panel.
public void wizardSkipCurrentStep()
Traversable.onEntry(TraversableContext)
method,
a call to wizardSkipCurrentStep()
indicates that
the {@link Traversable should be skipped automatically
without being displayed and that the wizard proceed to the next
step.
This method only has an effect if it is called from the
onEntry
method or a method called directly by
onEntry
on the same thread. There is no effect
if this method is called at any other time.
There are two other cases where calling this method will have no effect:
Traversable
will still
be displayed.
public void wizardUpdateAccessibleDescription(java.lang.String desc)
public void wizardUpdateImage(java.awt.Image image)
Image
. Calls to
this method are ignored if the wizard is not showing an image.
public void wizardUpdateTitle(java.lang.String title, java.lang.Boolean showStepNumber)
showStepNumber
is
false
, the step number is suppressed from the
title bar; otherwise, the decision to show the step number is
deferred to the wizard dialog implementation.
public void wizardUpdateExpectedTransition(java.lang.Object transition)
FSM
to determine what the new number of remaining steps
is.
public void wizardSetInitialFocus(java.awt.Component comp)
|
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.