com.sri.emo.wizard.selection
Class DisplaySummaryPage

java.lang.Object
  extended by com.sri.emo.wizard.defaults.EmoWizardPage
      extended by com.sri.emo.wizard.selection.DisplaySummaryPage
All Implemented Interfaces:
WizardPage, Serializable

public class DisplaySummaryPage
extends EmoWizardPage

Page that displays the selected node and the choices that lead to that choice.

Author:
Michael Rimov
See Also:
Serialized Form

Nested Class Summary
static class DisplaySummaryPage.SelectionResults
          Record Structure that provides a list of step names and their appropriate values.
 
Field Summary
static Integer PAGE_ID
          My own page id.
 
Constructor Summary
DisplaySummaryPage(PageMetadata pageMetadata)
          Constructor for the summary page.
 
Method Summary
 void clearCachedNode()
          Clear before redisplaying the page.
protected  String getCachedNodeId()
           
 Serializable getData()
          Retrieve the data associated with the page.
 Wizard getMyOwner()
           
 Node getSelectedNode()
          Runs the previous step history through the Decision Matrix to
 DisplaySummaryPage.SelectionResults[] getSelectionResults()
          Retrive all selection results up to this given page.
protected  void setCachedNodeId(String newValue)
           
 void setMyOwner(Wizard myOwner)
           
 
Methods inherited from class com.sri.emo.wizard.defaults.EmoWizardPage
addError, equals, getId, getMenu, getMetadata, getPageErrors, getPrintableData, hashCode, removeErrors, setData, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PAGE_ID

public static final Integer PAGE_ID
My own page id.

Constructor Detail

DisplaySummaryPage

public DisplaySummaryPage(PageMetadata pageMetadata)
Constructor for the summary page.

Parameters:
pageMetadata - PageMetadata the metadata associated with this page.
Method Detail

clearCachedNode

public void clearCachedNode()
Clear before redisplaying the page.


getCachedNodeId

protected String getCachedNodeId()

setCachedNodeId

protected void setCachedNodeId(String newValue)

getSelectionResults

public DisplaySummaryPage.SelectionResults[] getSelectionResults()
                                                          throws WizardException
Retrive all selection results up to this given page.

Returns:
SelectionResults[] array of selection results.
Throws:
WizardException

getSelectedNode

public Node getSelectedNode()
                     throws WizardException
Runs the previous step history through the Decision Matrix to

Returns:
Node
Throws:
WizardException

getMyOwner

public Wizard getMyOwner()

setMyOwner

public void setMyOwner(Wizard myOwner)

getData

public Serializable getData()
Retrieve the data associated with the page.

Specified by:
getData in interface WizardPage
Overrides:
getData in class EmoWizardPage
Returns:
the data instance


Copyright © 2004-2006 Codeguild, Inc.. All Rights Reserved.