| [ Index ] |
|
Code source de PRADO 3.0.6 |
[Code source] [Imprimer] [Statistiques]
TWizard and the relevant class definitions.
| Author: | Qiang Xue <qiang.xue@gmail.com> |
| Copyright: | Copyright © 2005 PradoSoft |
| License: | http://www.pradosoft.com/license/ |
| Version: | $Id: TWizard.php 1397 2006-09-07 07:55:53Z wei $ |
| Poids: | 2271 lignes (65 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
TWizard:: (83 méthodes):
getTagName()
addParsedObject()
getActiveStep()
setActiveStep()
getActiveStepIndex()
setActiveStepIndex()
getWizardSteps()
getShowCancelButton()
setShowCancelButton()
getShowSideBar()
setShowSideBar()
getStartNavigationTemplate()
setStartNavigationTemplate()
getStepNavigationTemplate()
setStepNavigationTemplate()
getFinishNavigationTemplate()
setFinishNavigationTemplate()
getHeaderTemplate()
setHeaderTemplate()
getSideBarTemplate()
setSideBarTemplate()
getHeaderText()
setHeaderText()
getCancelDestinationUrl()
setCancelDestinationUrl()
getFinishDestinationUrl()
setFinishDestinationUrl()
getSideBarButtonStyle()
getNavigationButtonStyle()
getStartNextButtonStyle()
getStepNextButtonStyle()
getStepPreviousButtonStyle()
getFinishCompleteButtonStyle()
getFinishPreviousButtonStyle()
getCancelButtonStyle()
getSideBarStyle()
getHeaderStyle()
getStepStyle()
getNavigationStyle()
getUseDefaultLayout()
setUseDefaultLayout()
getHeader()
getStepContent()
getSideBar()
getStartNavigation()
getStepNavigation()
getFinishNavigation()
onActiveStepChanged()
onCancelButtonClick()
onCompleteButtonClick()
onNextButtonClick()
onPreviousButtonClick()
onSideBarButtonClick()
getMultiView()
addedWizardStep()
removedWizardStep()
onInit()
saveState()
requiresControlsRecreation()
render()
applyControlProperties()
applyHeaderProperties()
applySideBarProperties()
applyStepContentProperties()
applyNavigationProperties()
getHistory()
getStepType()
reset()
createChildControls()
createHeader()
createSideBar()
dataListItemCommand()
dataListItemDataBound()
createStepContent()
createNavigation()
createStartNavigation()
createStepNavigation()
createFinishNavigation()
wizardStepsChanged()
getPreviousStepIndex()
allowNavigationToPreviousStep()
allowNavigationToStep()
bubbleEvent()
TWizardNavigationButtonStyle:: (10 méthodes):
reset()
copyFrom()
mergeWith()
getImageUrl()
setImageUrl()
getButtonText()
setButtonText()
getButtonType()
setButtonType()
apply()
TWizardStep:: (8 méthodes):
getWizard()
setWizard()
getTitle()
setTitle()
getAllowReturn()
setAllowReturn()
getStepType()
setStepType()
TCompleteWizardStep:: (2 méthodes):
getStepType()
setStepType()
TTemplatedWizardStep:: (8 méthodes):
createChildControls()
onInit()
getContentTemplate()
setContentTemplate()
getNavigationTemplate()
setNavigationTemplate()
getNavigationContainer()
instantiateNavigationTemplate()
TWizardStepCollection:: (3 méthodes):
__construct()
insertAt()
removeAt()
TWizardNavigationContainer:: (8 méthodes):
getPreviousButton()
setPreviousButton()
getNextButton()
setNextButton()
getCancelButton()
setCancelButton()
getCompleteButton()
setCompleteButton()
TWizardNavigationEventParameter:: (6 méthodes):
__construct()
getCurrentStepIndex()
getNextStepIndex()
setNextStepIndex()
getCancelNavigation()
setCancelNavigation()
TWizardSideBarTemplate:: (1 méthode):
instantiateIn()
TWizardSideBarListItemTemplate:: (1 méthode):
instantiateIn()
TWizardNavigationTemplate:: (4 méthodes):
__construct()
getWizard()
instantiateIn()
createNavigationButton()
TWizardStartNavigationTemplate:: (1 méthode):
instantiateIn()
TWizardFinishNavigationTemplate:: (1 méthode):
instantiateIn()
TWizardStepNavigationTemplate:: (1 méthode):
instantiateIn()
TWizardNavigationButtonType:: (0 méthodes):
TWizardStepType:: (0 méthodes):
| getTagName() X-Ref |
return: string tag name for the wizard |
| addParsedObject($object) X-Ref |
| Adds {@link TWizardStep} objects into step collection. This method overrides the parent implementation and is invoked when template is being instantiated. param: mixed object instantiated in template |
| getActiveStep() X-Ref |
return: TWizardStep the currently active wizard step |
| setActiveStep($step) X-Ref |
param: TWizardStep step to be activated |
| getActiveStepIndex() X-Ref |
return: integer the zero-based index of the active wizard step |
| setActiveStepIndex($value) X-Ref |
param: integer the zero-based index of the wizard step to be activated |
| getWizardSteps() X-Ref |
return: TWizardStepCollection collection of wizard steps |
| getShowCancelButton() X-Ref |
return: boolean whether to display a cancel button in each wizard step. Defaults to false. |
| setShowCancelButton($value) X-Ref |
param: boolean whether to display a cancel button in each wizard step. |
| getShowSideBar() X-Ref |
return: boolean whether to display a side bar that contains links to wizard steps. Defaults to true. |
| setShowSideBar($value) X-Ref |
param: boolean whether to display a side bar that contains links to wizard steps. |
| getStartNavigationTemplate() X-Ref |
return: ITemplate navigation template for the start step. Defaults to null. |
| setStartNavigationTemplate($value) X-Ref |
param: ITemplate navigation template for the start step. |
| getStepNavigationTemplate() X-Ref |
return: ITemplate navigation template for internal steps. Defaults to null. |
| setStepNavigationTemplate($value) X-Ref |
param: ITemplate navigation template for internal steps. |
| getFinishNavigationTemplate() X-Ref |
return: ITemplate navigation template for the finish step. Defaults to null. |
| setFinishNavigationTemplate($value) X-Ref |
param: ITemplate navigation template for the finish step. |
| getHeaderTemplate() X-Ref |
return: ITemplate template for wizard header. Defaults to null. |
| setHeaderTemplate($value) X-Ref |
param: ITemplate template for wizard header. |
| getSideBarTemplate() X-Ref |
return: ITemplate template for the side bar. Defaults to null. |
| setSideBarTemplate($value) X-Ref |
param: ITemplate template for the side bar. |
| getHeaderText() X-Ref |
return: string header text. Defaults to ''. |
| setHeaderText($value) X-Ref |
param: string header text. |
| getCancelDestinationUrl() X-Ref |
return: string the URL that the browser will be redirected to if the cancel button in the |
| setCancelDestinationUrl($value) X-Ref |
param: string the URL that the browser will be redirected to if the cancel button in the |
| getFinishDestinationUrl() X-Ref |
return: string the URL that the browser will be redirected to if the wizard finishes. |
| setFinishDestinationUrl($value) X-Ref |
param: string the URL that the browser will be redirected to if the wizard finishes. |
| getSideBarButtonStyle() X-Ref |
return: TStyle the style for the buttons displayed in the side bar. |
| getNavigationButtonStyle() X-Ref |
return: TStyle the style common for all navigation buttons. |
| getStartNextButtonStyle() X-Ref |
return: TWizardNavigationButtonStyle the style for the next button in the start wizard step. |
| getStepNextButtonStyle() X-Ref |
return: TWizardNavigationButtonStyle the style for the next button in each internal wizard step. |
| getStepPreviousButtonStyle() X-Ref |
return: TWizardNavigationButtonStyle the style for the previous button in the start wizard step. |
| getFinishCompleteButtonStyle() X-Ref |
return: TWizardNavigationButtonStyle the style for the complete button in the finish wizard step. |
| getFinishPreviousButtonStyle() X-Ref |
return: TWizardNavigationButtonStyle the style for the previous button in the start wizard step. |
| getCancelButtonStyle() X-Ref |
return: TWizardNavigationButtonStyle the style for the cancel button |
| getSideBarStyle() X-Ref |
return: TPanelStyle the style for the side bar. |
| getHeaderStyle() X-Ref |
return: TPanelStyle the style for the header. |
| getStepStyle() X-Ref |
return: TPanelStyle the style for each internal wizard step. |
| getNavigationStyle() X-Ref |
return: TPanelStyle the style for the navigation panel. |
| getUseDefaultLayout() X-Ref |
return: boolean whether to use default layout to arrange side bar and the rest wizard components. Defaults to true. |
| setUseDefaultLayout($value) X-Ref |
param: boolean whether to use default layout to arrange side bar and the rest wizard components. |
| getHeader() X-Ref |
return: TPanel container of the wizard header |
| getStepContent() X-Ref |
return: TPanel container of the wizard step content |
| getSideBar() X-Ref |
return: TPanel container of the wizard side bar |
| getStartNavigation() X-Ref |
return: TWizardNavigationContainer container of the start navigation |
| getStepNavigation() X-Ref |
return: TWizardNavigationContainer container of the step navigation |
| getFinishNavigation() X-Ref |
return: TWizardNavigationContainer container of the finish navigation |
| onActiveStepChanged($param) X-Ref |
| Raises <b>OnActiveStepChanged</b> event. This event is raised when the current visible step is changed in the wizard. param: TEventParameter event parameter |
| onCancelButtonClick($param) X-Ref |
| Raises <b>OnCancelButtonClick</b> event. This event is raised when a cancel navigation button is clicked in the current active step. param: TEventParameter event parameter |
| onCompleteButtonClick($param) X-Ref |
| Raises <b>OnCompleteButtonClick</b> event. This event is raised when a finish navigation button is clicked in the current active step. param: TEventParameter event parameter |
| onNextButtonClick($param) X-Ref |
| Raises <b>OnNextButtonClick</b> event. This event is raised when a next navigation button is clicked in the current active step. param: TEventParameter event parameter |
| onPreviousButtonClick($param) X-Ref |
| Raises <b>OnPreviousButtonClick</b> event. This event is raised when a previous navigation button is clicked in the current active step. param: TEventParameter event parameter |
| onSideBarButtonClick($param) X-Ref |
| Raises <b>OnSideBarButtonClick</b> event. This event is raised when a link button in the side bar is clicked. param: TEventParameter event parameter |
| getMultiView() X-Ref |
| Returns the multiview that holds the wizard steps. This method should only be used by control developers. return: TMultiView the multiview holding wizard steps |
| addedWizardStep($step) X-Ref |
| Adds a wizard step to the multiview. This method should only be used by control developers. It is invoked when a step is added into the step collection of the wizard. param: TWizardStep wizard step to be added into multiview. |
| removedWizardStep($step) X-Ref |
| Removes a wizard step from the multiview. This method should only be used by control developers. It is invoked when a step is removed from the step collection of the wizard. param: TWizardStep wizard step to be removed from multiview. |
| onInit($param) X-Ref |
| Creates the child controls of the wizard. This method overrides the parent implementation. param: TEventParameter event parameter |
| saveState() X-Ref |
| Saves the current active step index into history. This method is invoked by the framework when the control state is being saved. |
| requiresControlsRecreation() X-Ref |
| Indicates the wizard needs to recreate all child controls. |
| render($writer) X-Ref |
| Renders the wizard. param: THtmlWriter |
| applyControlProperties() X-Ref |
| Applies various properties to the components of wizard |
| applyHeaderProperties() X-Ref |
| Applies properties to the wizard header |
| applySideBarProperties() X-Ref |
| Applies properties to the wizard sidebar |
| applyStepContentProperties() X-Ref |
| Applies properties to the wizard step content |
| applyNavigationProperties() X-Ref |
| Apply properties to various navigation panels. |
| getHistory() X-Ref |
return: TStack history containing step indexes that were navigated before |
| getStepType($wizardStep) X-Ref |
| Determines the type of the specified wizard step. param: TWizardStep return: TWizardStepType type of the step |
| reset() X-Ref |
| Clears up everything within the wizard. |
| createChildControls() X-Ref |
| Creates child controls within the wizard |
| createHeader() X-Ref |
| Creates the wizard header. |
| createSideBar() X-Ref |
| Creates the wizard side bar |
| dataListItemCommand($sender,$param) X-Ref |
| Event handler for sidebar datalist's OnItemCommand event. This method is used internally by wizard. It mainly sets the active step index according to the button clicked in the sidebar. param: mixed sender of the event param: TDataListCommandEventParameter |
| dataListItemDataBound($sender,$param) X-Ref |
| Event handler for sidebar datalist's OnItemDataBound event. This method is used internally by wizard. It mainly configures the buttons in the sidebar datalist. param: mixed sender of the event param: TDataListItemEventParameter |
| createStepContent() X-Ref |
| Creates wizard step content. |
| createNavigation() X-Ref |
| Creates navigation panel. |
| createStartNavigation() X-Ref |
| Creates start navigation panel. |
| createStepNavigation() X-Ref |
| Creates step navigation panel. |
| createFinishNavigation() X-Ref |
| Creates finish navigation panel. |
| wizardStepsChanged() X-Ref |
| Updates the sidebar datalist if any. This method is invoked when any wizard step is changed. |
| getPreviousStepIndex($popStack) X-Ref |
| Determines the index of the previous step based on history. param: boolean whether the first item in the history stack should be popped |
| allowNavigationToPreviousStep() X-Ref |
return: boolean whether navigation to the previous step is allowed |
| allowNavigationToStep($index) X-Ref |
param: integer index of the step return: boolean whether navigation to the specified step is allowed |
| bubbleEvent($sender,$param) X-Ref |
| Handles bubbled events. This method mainly translate certain command events into wizard-specific events. param: mixed sender of the original command event param: TEventParameter event parameter |
Classe: TWizardNavigationButtonStyle - X-Ref
TWizardNavigationButtonStyle class.| reset() X-Ref |
| Sets the style attributes to default values. This method overrides the parent implementation by resetting additional TWizardNavigationButtonStyle specific attributes. |
| copyFrom($style) X-Ref |
| Copies the fields in a new style to this style. If a style field is set in the new style, the corresponding field in this style will be overwritten. param: TStyle the new style |
| mergeWith($style) X-Ref |
| Merges the style with a new one. If a style field is not set in this style, it will be overwritten by the new one. param: TStyle the new style |
| getImageUrl() X-Ref |
return: string image URL for the image button |
| setImageUrl($value) X-Ref |
param: string image URL for the image button |
| getButtonText() X-Ref |
return: string button caption |
| setButtonText($value) X-Ref |
param: string button caption |
| getButtonType() X-Ref |
return: TWizardNavigationButtonType button type. Default to TWizardNavigationButtonType::Button. |
| setButtonType($value) X-Ref |
param: TWizardNavigationButtonType button type. |
| apply($button) X-Ref |
| Applies this style to the specified button param: mixed button to be applied with this style |
Classe: TWizardStep - X-Ref
TWizardStep class.| getWizard() X-Ref |
return: TWizard the wizard owning this step |
| setWizard($wizard) X-Ref |
| Sets the wizard owning this step. This method is used internally by {@link TWizard}. param: TWizard the wizard owning this step |
| getTitle() X-Ref |
return: string the title for this step. |
| setTitle($value) X-Ref |
param: string the title for this step. |
| getAllowReturn() X-Ref |
return: boolean whether this step can be re-visited. Default to true. |
| setAllowReturn($value) X-Ref |
param: boolean whether this step can be re-visited. |
| getStepType() X-Ref |
return: TWizardStepType the wizard step type. Defaults to TWizardStepType::Auto. |
| setStepType($type) X-Ref |
param: TWizardStepType the wizard step type. |
Classe: TCompleteWizardStep - X-Ref
TCompleteWizardStep class.| getStepType() X-Ref |
return: TWizardStepType the wizard step type. Always TWizardStepType::Complete. |
| setStepType($value) X-Ref |
param: string the wizard step type. |
Classe: TTemplatedWizardStep - X-Ref
TTemplatedWizardStep class.| createChildControls() X-Ref |
| Creates child controls. This method mainly instantiates the content template, if any. |
| onInit($param) X-Ref |
| Ensures child controls are created. param: mixed event parameter |
| getContentTemplate() X-Ref |
return: ITemplate the template for the content of the wizard step. |
| setContentTemplate($value) X-Ref |
param: ITemplate the template for the content of the wizard step. |
| getNavigationTemplate() X-Ref |
return: ITemplate the template for displaying the navigation UI of a wizard step. Defaults to null. |
| setNavigationTemplate($value) X-Ref |
param: ITemplate the template for displaying the navigation UI of a wizard step. |
| getNavigationContainer() X-Ref |
return: TWizardNavigationContainer the control containing the navigation. |
| instantiateNavigationTemplate() X-Ref |
| Instantiates the navigation template if any |
Classe: TWizardStepCollection - X-Ref
TWizardStepCollection class.| __construct(TWizard $wizard) X-Ref |
| Constructor. param: TWizard wizard that owns this collection |
| insertAt($index,$item) X-Ref |
| Inserts an item at the specified position. This method overrides the parent implementation by checking if the item being added is a {@link TWizardStep}. param: integer the speicified position. param: mixed new item |
| removeAt($index) X-Ref |
| Removes an item at the specified position. param: integer the index of the item to be removed. return: mixed the removed item. |
Classe: TWizardNavigationContainer - X-Ref
TWizardNavigationContainer class.| getPreviousButton() X-Ref |
return: mixed the previous button |
| setPreviousButton($value) X-Ref |
param: mixed the previous button |
| getNextButton() X-Ref |
return: mixed the next button |
| setNextButton($value) X-Ref |
param: mixed the next button |
| getCancelButton() X-Ref |
return: mixed the cancel button |
| setCancelButton($value) X-Ref |
param: mixed the cancel button |
| getCompleteButton() X-Ref |
return: mixed the complete button |
| setCompleteButton($value) X-Ref |
param: mixed the complete button |
Classe: TWizardNavigationEventParameter - X-Ref
TWizardNavigationEventParameter class.| __construct($currentStep) X-Ref |
| Constructor. param: integer current step index |
| getCurrentStepIndex() X-Ref |
return: integer the zero-based index of the currently active step. |
| getNextStepIndex() X-Ref |
return: integer the zero-based index of the next step. Default to {@link getCurrentStepIndex CurrentStepIndex}. |
| setNextStepIndex($index) X-Ref |
param: integer the zero-based index of the next step. |
| getCancelNavigation() X-Ref |
return: boolean whether navigation to the next step should be canceled. Default to false. |
| setCancelNavigation($value) X-Ref |
param: boolean whether navigation to the next step should be canceled. |
Classe: TWizardSideBarTemplate - X-Ref
TWizardSideBarTemplate class.| instantiateIn($parent) X-Ref |
| Instantiates the template. It creates a {@link TDataList} control. param: TControl parent to hold the content within the template |
Classe: TWizardSideBarListItemTemplate - X-Ref
TWizardSideBarListItemTemplate class.| instantiateIn($parent) X-Ref |
| Instantiates the template. It creates a {@link TLinkButton}. param: TControl parent to hold the content within the template |
Classe: TWizardNavigationTemplate - X-Ref
TWizardNavigationTemplate class.| __construct($wizard) X-Ref |
| Constructor. param: TWizard the wizard owning this template |
| getWizard() X-Ref |
return: TWizard the wizard owning this template |
| instantiateIn($parent) X-Ref |
| Instantiates the template. Derived classes should override this method. param: TControl parent to hold the content within the template |
| createNavigationButton($buttonStyle,$causesValidation,$commandName) X-Ref |
| Creates a navigation button. It creates a {@link TButton}, {@link TLinkButton}, or {@link TImageButton}, depending on the given parameters. param: TWizardNavigationButtonStyle button style param: boolean whether the button should cause validation param: string command name for the button's OnCommand event |
Classe: TWizardStartNavigationTemplate - X-Ref
TWizardStartNavigationTemplate class.| instantiateIn($parent) X-Ref |
| Instantiates the template. param: TControl parent to hold the content within the template |
Classe: TWizardFinishNavigationTemplate - X-Ref
TWizardFinishNavigationTemplate class.| instantiateIn($parent) X-Ref |
| Instantiates the template. param: TControl parent to hold the content within the template |
Classe: TWizardStepNavigationTemplate - X-Ref
TWizardStepNavigationTemplate class.| instantiateIn($parent) X-Ref |
| Instantiates the template. param: TControl parent to hold the content within the template |
Classe: TWizardNavigationButtonType - X-Ref
TWizardNavigationButtonType class.Classe: TWizardStepType - X-Ref
TWizardStepType class.| Généré le : Sun Feb 25 21:07:04 2007 | par Balluche grâce à PHPXref 0.7 |