com.rapidminer.gui.tools.dialogs.wizards
Class WizardStep

java.lang.Object
  extended by com.rapidminer.gui.tools.dialogs.wizards.WizardStep
Direct Known Subclasses:
AnnotationDeclarationWizardStep, AttributeSelectionWizardStep, CSVSyntaxConfigurationWizardStep, FileSelectionWizardStep, MetaDataDeclarationWizardStep, MetaDataDeclerationWizardStep, ParseFileWizardStep, RepositoryLocationSelectionWizardStep

public abstract class WizardStep
extends java.lang.Object

Author:
Tobias Malbrecht

Constructor Summary
WizardStep(java.lang.String i18nKey)
           
 
Method Summary
protected  void addChangeListener(javax.swing.event.ChangeListener listener)
           
protected abstract  boolean canGoBack()
          is called whenever a field is updated
protected abstract  boolean canProceed()
          is called whenever a field is updated
 void fireStateChanged()
          should be called whenever a field was updated
protected  java.util.Collection<javax.swing.AbstractButton> getButtons()
           
protected abstract  javax.swing.JComponent getComponent()
           
protected  java.lang.String getInfoText()
           
protected  java.lang.String getTitle()
           
protected  boolean performEnteringAction()
          Deprecated. 
protected  boolean performEnteringAction(AbstractWizard.WizardStepDirection direction)
          This method is called when the step is entered.
protected  boolean performLeavingAction()
          Deprecated. 
protected  boolean performLeavingAction(AbstractWizard.WizardStepDirection direction)
          This method is called when the step is left.
protected  void removeChangeListener(javax.swing.event.ChangeListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardStep

public WizardStep(java.lang.String i18nKey)
Method Detail

getTitle

protected java.lang.String getTitle()

getInfoText

protected java.lang.String getInfoText()

getComponent

protected abstract javax.swing.JComponent getComponent()

getButtons

protected java.util.Collection<javax.swing.AbstractButton> getButtons()

fireStateChanged

public void fireStateChanged()
should be called whenever a field was updated


addChangeListener

protected void addChangeListener(javax.swing.event.ChangeListener listener)

removeChangeListener

protected void removeChangeListener(javax.swing.event.ChangeListener listener)

canProceed

protected abstract boolean canProceed()
is called whenever a field is updated

Returns:
proceed possible (settings complete?)

canGoBack

protected abstract boolean canGoBack()
is called whenever a field is updated

Returns:
can go back to previous view?

performEnteringAction

protected boolean performEnteringAction(AbstractWizard.WizardStepDirection direction)
This method is called when the step is entered.


performLeavingAction

protected boolean performLeavingAction(AbstractWizard.WizardStepDirection direction)
This method is called when the step is left.


performEnteringAction

@Deprecated
protected boolean performEnteringAction()
Deprecated. 

This method is called when the step is entered. This method is deprecated since it does not give information about the direction from where the step came.

Parameters:
direction - TODO

performLeavingAction

@Deprecated
protected boolean performLeavingAction()
Deprecated. 

This method is called when the step is left. This method is deprecated since it does not give information about the direction in which the step goes.

Parameters:
direction - TODO


Copyright © 2001-2009 by Rapid-I