|
org.openide.dialogs 6.5.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.WizardDescriptor.ArrayIterator
public static class 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.Iterator
current in interface WizardDescriptor.Iteratorpublic String name()
WizardDescriptor.Iterator
name in interface WizardDescriptor.Iteratorpublic boolean hasNext()
WizardDescriptor.Iterator
hasNext in interface WizardDescriptor.Iteratortrue if sopublic boolean hasPrevious()
WizardDescriptor.Iterator
hasPrevious in interface WizardDescriptor.Iteratortrue if sopublic void nextPanel()
WizardDescriptor.Iterator
nextPanel in interface WizardDescriptor.Iteratorpublic void previousPanel()
WizardDescriptor.Iterator
previousPanel in interface WizardDescriptor.Iteratorpublic void addChangeListener(ChangeListener l)
WizardDescriptor.Iterator
addChangeListener in interface WizardDescriptor.Iteratorl - the listener to addpublic void removeChangeListener(ChangeListener l)
WizardDescriptor.Iterator
removeChangeListener in interface WizardDescriptor.Iteratorl - the listener to removeprotected void reset()
|
org.openide.dialogs 6.5.22 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||