jgnash.ui.components.wizard
Interface WizardPage

All Known Implementing Classes:
ImportOne, ImportOne, ImportSummary, ImportTwo, ImportZero, NewFileFour, NewFileOne, NewFileSummary, NewFileThree, NewFileTwo, PartialOne, PartialSummary, PartialTwo

public interface WizardPage

Interface for a task page in a wizard dialog

Version:
$Id$
Author:
Craig Cavanaugh

Method Summary
 void getSettings(java.util.Map<java.lang.Enum<?>,java.lang.Object> map)
          Called after a page has been made active
 boolean isPageValid()
           
 void putSettings(java.util.Map<java.lang.Enum<?>,java.lang.Object> map)
          Called on the active prior to swtiching to the next page
 java.lang.String toString()
          toString must return a valid description for this page that will appear in the task list of the WizardDialog
 

Method Detail

isPageValid

boolean isPageValid()

toString

java.lang.String toString()
toString must return a valid description for this page that will appear in the task list of the WizardDialog

Overrides:
toString in class java.lang.Object
Returns:
page description

getSettings

void getSettings(java.util.Map<java.lang.Enum<?>,java.lang.Object> map)
Called after a page has been made active

Parameters:
map - wizard preferences are accessible here

putSettings

void putSettings(java.util.Map<java.lang.Enum<?>,java.lang.Object> map)
Called on the active prior to swtiching to the next page

Parameters:
map - place to put default wizard preferences