CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.rubik.impexp
Class ExportWizardModel

java.lang.Object
  extended by ch.randelshofer.beans.AbstractBean
      extended by ch.randelshofer.rubik.impexp.ExportWizardModel
All Implemented Interfaces:
WizardModel, java.io.Serializable

public class ExportWizardModel
extends AbstractBean
implements WizardModel

ExportWizard.

Version:
1.0 April 12, 2004 Created.
Author:
Werner Randelshofer
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ch.randelshofer.beans.AbstractBean
propertySupport
 
Constructor Summary
ExportWizardModel()
          Creates a new instance of ExportWizard
 
Method Summary
 void cancel()
          Cancels the wizard.
 boolean canFinish()
          Returns true, if the wizard can be finished.
 void finish()
          Finishes the wizard.
 javax.swing.JComponent getPanel(int index)
          Returns a panel.
 int getPanelCount()
          Returns the number of panels.
 java.lang.String getPanelTitle(int index)
          Returns the title of a panel.
 Exporter getSelectedExporter()
           
 org.jhotdraw.gui.filechooser.ExtensionFileFilter getSelectedFilter()
           
 java.lang.String getTitle()
          The title of the wizard.
 void setDocumentView(CubeTwisterView view)
           
 void setFile(java.io.File newValue)
           
 
Methods inherited from class ch.randelshofer.beans.AbstractBean
addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.randelshofer.gui.WizardModel
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

ExportWizardModel

public ExportWizardModel()
Creates a new instance of ExportWizard

Method Detail

setDocumentView

public void setDocumentView(CubeTwisterView view)

setFile

public void setFile(java.io.File newValue)

canFinish

public boolean canFinish()
Description copied from interface: WizardModel
Returns true, if the wizard can be finished.

Specified by:
canFinish in interface WizardModel

cancel

public void cancel()
Description copied from interface: WizardModel
Cancels the wizard.

Specified by:
cancel in interface WizardModel

getSelectedExporter

public Exporter getSelectedExporter()

getSelectedFilter

public org.jhotdraw.gui.filechooser.ExtensionFileFilter getSelectedFilter()

finish

public void finish()
Description copied from interface: WizardModel
Finishes the wizard.

Specified by:
finish in interface WizardModel

getPanel

public javax.swing.JComponent getPanel(int index)
Description copied from interface: WizardModel
Returns a panel.

Specified by:
getPanel in interface WizardModel

getPanelCount

public int getPanelCount()
Description copied from interface: WizardModel
Returns the number of panels. If this changes, the model fires a property change event with the name "panelCount".

Specified by:
getPanelCount in interface WizardModel

getPanelTitle

public java.lang.String getPanelTitle(int index)
Description copied from interface: WizardModel
Returns the title of a panel.

Specified by:
getPanelTitle in interface WizardModel

getTitle

public java.lang.String getTitle()
Description copied from interface: WizardModel
The title of the wizard.

Specified by:
getTitle in interface WizardModel

(c) Werner Randelshofer.
All rights reserved.