Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Field Summary

Fields inherited from interface com.tonbeller.wcf.bookmarks.Bookmarkable
`EXTENSIONAL, INTENSIONAL`

Constructor Summary
`WizardComponent(java.lang.String id, Component parent)`

Method Summary
`void` | `addPage(WizardPage page)`
`WizardPage` | `getCurrentPage()`
`int` | `getCurrentPageIndex()`
`WizardPage` | `getPage(int idx)`
`int` | `getPageCount()`
`void` | `initialize(RequestContext context)` called once when the component is created.
`void` | `removePage(WizardPage page)`
`org.w3c.dom.Document` | `render(RequestContext context)` renders the component
`void` | `setCurrentPage(WizardPage page)`
`void` | `setCurrentPageIndex(int page)`

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`

Constructor Detail

### WizardComponent

    public WizardComponent(java.lang.String id,
                           Component parent)

Method Detail

### 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)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD