ariba.ui.wizard.core
Class WizardDelegate

java.lang.Object
  extended by ariba.ui.wizard.core.WizardDelegate

public abstract class WizardDelegate
extends java.lang.Object

The WizardDelegate is called by the core wizard engine to at various points to allow an application to override default behaviors.


Constructor Summary
WizardDelegate()
           
 
Method Summary
 WizardFrameDelegate delegateForFrame(WizardFrame frame)
          Allows the WizardDelegate to provide the WizardFrameDelegate instance for a given frame.
 void initialize(Wizard wizard)
          let wizarddelegate have a chance to do initialization work before the wizard starts.
 java.lang.String localizedStringForKey(java.lang.String key)
          Allows the WizardDeleget to provide the localized string for labels and hints
 java.lang.String localizedStringForKey(java.lang.String key, Wizard wizard)
           
abstract  java.lang.String stringFile()
          Determines the name of the strings resource file for the wizard.
abstract  java.lang.String stringGroupName()
          Determines the strings group name (analogous to a component) for the strings in the wizard.
 WizardActionTarget targetForAction(WizardAction action)
          Allows the WizardDelegate to handle the given action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WizardDelegate

public WizardDelegate()
Method Detail

initialize

public void initialize(Wizard wizard)
let wizarddelegate have a chance to do initialization work before the wizard starts. this method is invoked right before wizard displays the first step.


delegateForFrame

public WizardFrameDelegate delegateForFrame(WizardFrame frame)
Allows the WizardDelegate to provide the WizardFrameDelegate instance for a given frame. If this method returns null, then the static declaration from the XML meta-data is used.


targetForAction

public WizardActionTarget targetForAction(WizardAction action)
Allows the WizardDelegate to handle the given action. The return value should be the frame to show next, or null if the delegate wants to defer to the default flow.


localizedStringForKey

public java.lang.String localizedStringForKey(java.lang.String key)
Allows the WizardDeleget to provide the localized string for labels and hints


localizedStringForKey

public java.lang.String localizedStringForKey(java.lang.String key,
                                              Wizard wizard)

stringFile

public abstract java.lang.String stringFile()
Determines the name of the strings resource file for the wizard.


stringGroupName

public abstract java.lang.String stringGroupName()
Determines the strings group name (analogous to a component) for the strings in the wizard.



AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.