Zapatec Utils

Class Zapatec.Wizard

Object
   |
   +--Zapatec.Wizard

class Zapatec.Wizard

Defined in wizard.js


Field Summary
 boolean onBeforeTabChange
          Called when the tab is about to be changed, just _before_.
 Object onInit
          Called when the wizard is created.
 Object onTabChange
          Called _after_ the tab was changed.
 
Constructor Summary
Zapatec.Wizard(<object> args)
            Zapatec.Wizard constructor.
 
Method Summary
 Object addCustomValidator(name, func)
           Create a custom validator.
 void addValidator(name, regexp, error)
           Add a simple validator.
 Object changeTab(<string> newTab)
           Display a new tab.
 void firstTab()
           Move to the first tab.
 string getCurrentTab()
          
 void init()
           Initializes the wizard.
 boolean isFirstTab()
          
 boolean isLastTab()
          
 void lastTab()
           Move to the last tab.
 Object nextTab()
           Move to the next tab.
 Object prevTab()
           Move to the previous tab.
 object setupNav(<object> parent)
           Creates a default navigation bar for the wizard and appends it into the given parent.
 void toggleAdvanced()
           Toggles "advanced mode" for the currently displayed tab.
 boolean validate(<string> value, <string> validator, args)
           Call this function given the value and the validator to match it against.
<static> Object _doNothing()
           A "do nothing" handler used for default event hooks.

Field Detail

onBeforeTabChange

boolean onBeforeTabChange

onInit

Object onInit

onTabChange

Object onTabChange

Constructor Detail

Zapatec.Wizard

Zapatec.Wizard(<object> args)

Method Detail

addCustomValidator

Object addCustomValidator(name, func)

addValidator

void addValidator(name, regexp, error)

changeTab

Object changeTab(<string> newTab)

firstTab

void firstTab()

getCurrentTab

string getCurrentTab()

init

void init()

isFirstTab

boolean isFirstTab()

isLastTab

boolean isLastTab()

lastTab

void lastTab()

nextTab

Object nextTab()

prevTab

Object prevTab()

setupNav

object setupNav(<object> parent)

toggleAdvanced

void toggleAdvanced()

validate

boolean validate(<string> value, <string> validator, args)

_doNothing

<static> Object _doNothing()

Zapatec Utils

Documentation generated by JSDoc on Thu Aug 16 12:18:39 2007