com.tonbeller.wcf.wizard
Class WizardComponent
java.lang.Object
com.tonbeller.wcf.component.ComponentSupport
com.tonbeller.wcf.wizard.WizardComponent
- All Implemented Interfaces:
- Bookmarkable, Component, java.util.EventListener, Form, FormListener, javax.servlet.http.HttpSessionBindingListener, LifeCycle, Renderable, RequestListener, RoleExprHolder, Visible
- public class WizardComponent
- extends ComponentSupport
- Author:
- av
Methods inherited from class com.tonbeller.wcf.component.ComponentSupport |
addFormListener, destroy, getBookmarkState, getDispatcher, getForm, getId, getLocale, getNextView, getParent, getRoleExpr, isAutoValidate, isListeningTo, isVisible, removeFormListener, request, revert, setAutoValidate, setBookmarkState, setId, setNextView, setParent, setRoleExpr, setVisible, validate, valueBound, valueUnbound |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WizardComponent
public WizardComponent(java.lang.String id,
Component parent)
getPageCount
public int getPageCount()
getCurrentPageIndex
public int getCurrentPageIndex()
setCurrentPageIndex
public void setCurrentPageIndex(int page)
getCurrentPage
public WizardPage getCurrentPage()
setCurrentPage
public void setCurrentPage(WizardPage page)
addPage
public void addPage(WizardPage page)
removePage
public void removePage(WizardPage page)
initialize
public void initialize(RequestContext context)
throws java.lang.Exception
- Description copied from class:
ComponentSupport
- called once when the component is created. Sets the locale of this component.
Called by the doEndTag of the ComponentTag, i.e. nested tags have been initialized.
- Specified by:
initialize
in interface LifeCycle
- Overrides:
initialize
in class ComponentSupport
- Throws:
java.lang.Exception
- See Also:
ComponentSupport.destroy(javax.servlet.http.HttpSession)
,
ComponentSupport.valueBound(javax.servlet.http.HttpSessionBindingEvent)
,
ComponentTag.doEndTag()
render
public org.w3c.dom.Document render(RequestContext context)
throws java.lang.Exception
- Description copied from interface:
Renderable
- renders the component
- Throws:
java.lang.Exception
getPage
public WizardPage getPage(int idx)