org.formaria.editor.netbeans.project.newpage
Class NewPageIterator

java.lang.Object
  extended by org.formaria.editor.netbeans.project.newpage.NewPageIterator
Direct Known Subclasses:
NewDialogIterator

public class NewPageIterator
extends java.lang.Object

A template wizard iterator (sequence of panels). Used to fill in the second and subsequent panels in the New wizard. Associate this to a template inside a layer using the Sequence of Panels extra property. Create one or more panels from template as needed too.

Copyright Formaria Ltd. (c) 2001-2004

License: see license.txt


Field Summary
protected  EditorProject currentProject
          The owner project and the context in which this object operates.
 
Constructor Summary
NewPageIterator()
           
 
Method Summary
 void addChangeListener(javax.swing.event.ChangeListener l)
           
protected  WizardDescriptor.Panel[] createPanels()
           
protected  java.lang.String[] createSteps()
           
 WizardDescriptor.Panel current()
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 void initialize(TemplateWizard wiz)
           
 java.util.Set instantiate(TemplateWizard wiz)
           
 java.lang.String name()
           
 void nextPanel()
           
 void previousPanel()
           
 void removeChangeListener(javax.swing.event.ChangeListener l)
           
 void uninitialize(TemplateWizard wiz)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentProject

protected EditorProject currentProject
The owner project and the context in which this object operates.

Constructor Detail

NewPageIterator

public NewPageIterator()
Method Detail

createPanels

protected WizardDescriptor.Panel[] createPanels()

createSteps

protected java.lang.String[] createSteps()

instantiate

public java.util.Set instantiate(TemplateWizard wiz)
                          throws java.io.IOException
Throws:
java.io.IOException

initialize

public void initialize(TemplateWizard wiz)

uninitialize

public void uninitialize(TemplateWizard wiz)

name

public java.lang.String name()

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

nextPanel

public void nextPanel()

previousPanel

public void previousPanel()

current

public WizardDescriptor.Panel current()

addChangeListener

public void addChangeListener(javax.swing.event.ChangeListener l)

removeChangeListener

public void removeChangeListener(javax.swing.event.ChangeListener l)