org.drools.guvnor.client.widgets.wizards
Interface Wizard

All Known Implementing Classes:
AbstractNewAssetWizard, AbstractWizard, NewGuidedDecisionTableWizard

public interface Wizard

Things a Wizard needs to implement


Method Summary
 void complete()
          The Wizard has been completed
 List<WizardPage> getPages()
          Provide a list of pages
 com.google.gwt.user.client.ui.Widget getPageWidget(int pageNumber)
          Return the widget for a particular page
 int getPreferredHeight()
          The preferred height of the page
 int getPreferredWidth()
          The preferred width of the page
 String getTitle()
          Provide a title
 boolean isComplete()
          Is the page complete; i.e. has all the necessary information for the page been captured.
 

Method Detail

getTitle

String getTitle()
Provide a title

Returns:

getPages

List<WizardPage> getPages()
Provide a list of pages

Returns:

getPageWidget

com.google.gwt.user.client.ui.Widget getPageWidget(int pageNumber)
Return the widget for a particular page

Parameters:
pageNumber - The index of of the page
Returns:

getPreferredHeight

int getPreferredHeight()
The preferred height of the page

Returns:

getPreferredWidth

int getPreferredWidth()
The preferred width of the page

Returns:

isComplete

boolean isComplete()
Is the page complete; i.e. has all the necessary information for the page been captured. What constitutes necessary data is up to the Wizard implementation, but a login page might consider the User ID and Password as necessary.

Returns:
True if the page is considered complete

complete

void complete()
The Wizard has been completed



Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.