|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.openide.WizardDescriptor.ArrayIterator
Special iterator that works on an array of Panels.
| Constructor Summary | |
WizardDescriptor.ArrayIterator()
|
|
WizardDescriptor.ArrayIterator(WizardDescriptor.Panel[] array)
Construct an iterator. |
|
| Method Summary | |
void |
addChangeListener(ChangeListener l)
Add a listener to changes of the current panel. |
WizardDescriptor.Panel |
current()
Get the current panel. |
boolean |
hasNext()
Test whether there is a next panel. |
boolean |
hasPrevious()
Test whether there is a previous panel. |
protected WizardDescriptor.Panel[] |
initializePanels()
Allows subclasses to initialize their arrays of panels when constructed using default constructor. |
String |
name()
Get the name of the current panel. |
void |
nextPanel()
Move to the next panel. |
void |
previousPanel()
Move to the previous panel. |
void |
removeChangeListener(ChangeListener l)
Remove a listener to changes of the current panel. |
protected void |
reset()
Resets this iterator to initial state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WizardDescriptor.ArrayIterator()
public WizardDescriptor.ArrayIterator(WizardDescriptor.Panel[] array)
array - the list of panels to use| Method Detail |
protected WizardDescriptor.Panel[] initializePanels()
public WizardDescriptor.Panel current()
WizardDescriptor.Iteratorcurrent in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.Iteratorpublic String name()
WizardDescriptor.Iteratorname in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.Iteratorpublic boolean hasNext()
WizardDescriptor.IteratorhasNext in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.Iteratortrue if sopublic boolean hasPrevious()
WizardDescriptor.IteratorhasPrevious in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.Iteratortrue if sopublic void nextPanel()
WizardDescriptor.IteratornextPanel in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.IteratorNoSuchElementException - if the panel does not existpublic void previousPanel()
WizardDescriptor.IteratorpreviousPanel in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.IteratorNoSuchElementException - if the panel does not existpublic void addChangeListener(ChangeListener l)
WizardDescriptor.IteratoraddChangeListener in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.Iteratorl - the listener to addpublic void removeChangeListener(ChangeListener l)
WizardDescriptor.IteratorremoveChangeListener in interface WizardDescriptor.Iteratororg.openide.WizardDescriptor.Iteratorl - the listener to removeprotected void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||