com.ozziefix.jlwizard.navigation
Class PageForward

java.lang.Object
  extended by com.ozziefix.jlwizard.navigation.PageForward

public class PageForward
extends java.lang.Object

a wrapper class for a page forward. It contains the name of the page, and the page itself. To obtain a PageForward, use the findPageForward() method of the Wizard.

Version:
$Revision: 1.1 $
Author:
Jurgen Lust

Constructor Summary
PageForward(java.lang.String forwardName, WizardPage page)
           Create a new pageforward
 
Method Summary
 java.lang.String getForwardName()
           The forwardName is the name of the page.
 WizardPage getPage()
           the page this forward redirects to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageForward

public PageForward(java.lang.String forwardName,
                   WizardPage page)

Create a new pageforward

Parameters:
forwardName - the name of the page
page - the WizardPage
Method Detail

getForwardName

public java.lang.String getForwardName()

The forwardName is the name of the page.

Returns:
Returns the forwardName.

getPage

public WizardPage getPage()

the page this forward redirects to.

Returns:
Returns the page.


Copyright © 2004 - 2005 by Jurgen Lust.