|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.wizard.WizardDisplayer
org.netbeans.api.wizard.displayer.WizardDisplayerImpl
public class WizardDisplayerImpl
Default implementation of WizardDisplayer.
This class is NOT AN API CLASS. There is no
commitment that it will remain backward compatible or even exist in the
future. The API of this library is in the packages org.netbeans.api.wizard
and org.netbeans.spi.wizard
.
Use
WizardDisplayer.showWizard()
or its other static methods to
display wizards in a way which will continue to work over time.
Constructor Summary | |
---|---|
WizardDisplayerImpl()
Default constructor used by WizardDisplayer static methods. |
Method Summary | |
---|---|
protected void |
buildStepTitle()
|
protected javax.swing.JDialog |
createDialog()
|
NavButtonManager |
getButtonManager()
|
java.lang.String |
getCurrentStep()
|
WizardPanel |
getCurrentWizardPanel()
Return the current wizard panel, or null if the currently displayed page is not a WizardPanel. |
DeferredWizardResult |
getDeferredResult()
|
InstructionsPanel |
getInstructions()
|
javax.swing.JPanel |
getOuterPanel()
|
MergeMap |
getSettings()
|
javax.swing.JLabel |
getTtlLabel()
|
javax.swing.JPanel |
getTtlPanel()
|
Wizard |
getWizard()
|
javax.swing.JComponent |
getWizardPanel()
|
java.lang.Object |
getWizardResult()
|
void |
install(java.awt.Container c,
java.lang.Object layoutConstraint,
Wizard awizard,
javax.swing.Action helpAction,
java.util.Map initialProperties,
WizardResultReceiver receiver)
Instance implementation of installInContainer(). |
boolean |
isInSummary()
|
void |
navigateTo(java.lang.String id)
|
void |
setCurrentWizardPanel(javax.swing.JComponent comp)
Set the currently displayed panel. |
void |
setDeferredResult(DeferredWizardResult deferredResult)
|
void |
setInSummary(boolean state)
|
void |
setWizardResult(java.lang.Object wizardResult)
|
java.lang.Object |
show(Wizard awizard,
java.awt.Rectangle bounds,
javax.swing.Action helpAction,
java.util.Map initialProperties)
Show a wizard. |
protected java.lang.Object |
showInDialog(java.awt.Rectangle bounds)
|
Methods inherited from class org.netbeans.api.wizard.WizardDisplayer |
---|
installInContainer, showWizard, showWizard, showWizard, showWizard |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WizardDisplayerImpl()
Method Detail |
---|
protected void buildStepTitle()
public void install(java.awt.Container c, java.lang.Object layoutConstraint, Wizard awizard, javax.swing.Action helpAction, java.util.Map initialProperties, WizardResultReceiver receiver)
WizardDisplayer
install
in class WizardDisplayer
public java.lang.Object show(Wizard awizard, java.awt.Rectangle bounds, javax.swing.Action helpAction, java.util.Map initialProperties)
WizardDisplayer
show
in class WizardDisplayer
awizard
- the Wizard to showbounds
- the bounding rectangle for the wizard dialog on screen, null means "computed from first panel size"helpAction
- An action to be called if the Help button is pressedinitialProperties
- are used to set initial values for screens within the wizard.
This may be null.
finish()
method, if the Wizard was completed by the user.protected javax.swing.JDialog createDialog()
protected java.lang.Object showInDialog(java.awt.Rectangle bounds)
public WizardPanel getCurrentWizardPanel()
public java.lang.String getCurrentStep()
public void setCurrentWizardPanel(javax.swing.JComponent comp)
public void navigateTo(java.lang.String id)
public NavButtonManager getButtonManager()
public DeferredWizardResult getDeferredResult()
public InstructionsPanel getInstructions()
public boolean isInSummary()
public void setInSummary(boolean state)
public javax.swing.JPanel getOuterPanel()
public MergeMap getSettings()
public javax.swing.JLabel getTtlLabel()
public javax.swing.JPanel getTtlPanel()
public Wizard getWizard()
public javax.swing.JComponent getWizardPanel()
public java.lang.Object getWizardResult()
public void setWizardResult(java.lang.Object wizardResult)
public void setDeferredResult(DeferredWizardResult deferredResult)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |