|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectpt.moredata.netbeans.modules.moredatatemplates.wizard.WizardArrayIterator
Interator in the array of panels used in the wizard
| Constructor Summary | |
WizardArrayIterator(org.openide.WizardDescriptor.Panel[] apanel,
Data wizardData)
Constructor for the WizardArrayIterator object receiving the panel list and the reference to the data. |
|
| Method Summary | |
void |
addChangeListener(javax.swing.event.ChangeListener changelistener)
Add a new listener for handling a change event. |
org.openide.WizardDescriptor.Panel |
current()
Get the current panel |
Data |
getData()
Gets the object containing the information collected during the wizard iteration. |
WizardPanel |
getPanel(int panelOrder)
Gets the panel for the wanted wizard step. |
boolean |
hasNext()
Check if the wizard has more steps forward. |
boolean |
hasPrevious()
Check if there is more steps backward |
void |
initialize(org.openide.loaders.TemplateWizard templatewizard)
Initialization of the wizard. |
protected org.openide.WizardDescriptor.Panel[] |
initializePanels()
Initialize the panels. |
java.util.Set |
instantiate(org.openide.loaders.TemplateWizard templatewizard)
Method called when the user chooses finish in the wizard execution. |
java.lang.String |
name()
Get the localized string that identify the iteration step (x of y) I think that is here tha the current step of the wizard is displayed. |
void |
nextPanel()
Execute the actions needed after the user selected next in the panel buttons. |
void |
previousPanel()
Iterate into the previous panel. |
void |
removeChangeListener(javax.swing.event.ChangeListener changelistener)
Remove a listener to the change event. |
void |
uninitialize(org.openide.loaders.TemplateWizard templatewizard)
Executed by netbeans when finish the wizard execution. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WizardArrayIterator(org.openide.WizardDescriptor.Panel[] apanel,
Data wizardData)
apanel - The panels where the wizard iterates.wizardData - A reference to the the object where the data is collected| Method Detail |
public Data getData()
getData in interface WizardInterfacepublic WizardPanel getPanel(int panelOrder)
getPanel in interface WizardInterfacepanelOrder - The order of the panel wanted
public java.util.Set instantiate(org.openide.loaders.TemplateWizard templatewizard)
instantiate in interface org.openide.loaders.TemplateWizard.Iteratortemplatewizard - A reference to the template wizard
public void initialize(org.openide.loaders.TemplateWizard templatewizard)
initialize in interface org.openide.loaders.TemplateWizard.Iteratortemplatewizard - The default template wizard of netbeanspublic void uninitialize(org.openide.loaders.TemplateWizard templatewizard)
uninitialize in interface org.openide.loaders.TemplateWizard.Iteratortemplatewizard - The default template wizard of netbeansprotected org.openide.WizardDescriptor.Panel[] initializePanels()
public org.openide.WizardDescriptor.Panel current()
current in interface org.openide.WizardDescriptor.Iteratorpublic java.lang.String name()
name in interface org.openide.WizardDescriptor.Iteratorpublic boolean hasNext()
hasNext in interface org.openide.WizardDescriptor.Iteratorpublic boolean hasPrevious()
hasPrevious in interface org.openide.WizardDescriptor.Iteratorpublic void nextPanel()
nextPanel in interface org.openide.WizardDescriptor.Iteratorpublic void previousPanel()
previousPanel in interface org.openide.WizardDescriptor.Iteratorpublic void addChangeListener(javax.swing.event.ChangeListener changelistener)
addChangeListener in interface org.openide.WizardDescriptor.Iteratorchangelistener - A reference to the listener to be registered.public void removeChangeListener(javax.swing.event.ChangeListener changelistener)
removeChangeListener in interface org.openide.WizardDescriptor.Iteratorchangelistener - The listener to be removed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||