CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.rubik.impexp
Class ImportWizardModel

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

public class ImportWizardModel
extends AbstractBean
implements WizardModel

ImportWizardModel.

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
ImportWizardModel(CubeTwisterView view)
          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.
 org.jhotdraw.gui.filechooser.ExtensionFileFilter getSelectedFilter()
           
 Importer getSelectedImporter()
           
 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

ImportWizardModel

public ImportWizardModel(CubeTwisterView view)
Creates a new instance of ExportWizard

Method Detail

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

setDocumentView

public void setDocumentView(CubeTwisterView view)

cancel

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

Specified by:
cancel in interface WizardModel

finish

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

Specified by:
finish in interface WizardModel

getSelectedImporter

public Importer getSelectedImporter()

getSelectedFilter

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

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.