net.sf.doolin.gui.wizard.state
Class NextDisplayStateHandler

java.lang.Object
  extended by net.sf.doolin.gui.display.AbstractDisplayStateHandler
      extended by net.sf.doolin.gui.wizard.state.AbstractWizardDisplayStateHandler
          extended by net.sf.doolin.gui.wizard.state.NextDisplayStateHandler
All Implemented Interfaces:
DisplayStateHandler

public class NextDisplayStateHandler
extends AbstractWizardDisplayStateHandler

DisplayStateHandler for the "Next" action.

Author:
Damien Coraboeuf

Constructor Summary
NextDisplayStateHandler()
           
 
Method Summary
protected
<B> DisplayState
getDisplayState(WizardState<B> state, ActionContext actionContext)
          Gets the DisplayState according to the current WizardState and the action context.
 
Methods inherited from class net.sf.doolin.gui.wizard.state.AbstractWizardDisplayStateHandler
getDisplayState, subscribe
 
Methods inherited from class net.sf.doolin.gui.display.AbstractDisplayStateHandler
connect, connect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NextDisplayStateHandler

public NextDisplayStateHandler()
Method Detail

getDisplayState

protected <B> DisplayState getDisplayState(WizardState<B> state,
                                           ActionContext actionContext)
Description copied from class: AbstractWizardDisplayStateHandler
Gets the DisplayState according to the current WizardState and the action context.

Specified by:
getDisplayState in class AbstractWizardDisplayStateHandler
Type Parameters:
B - Type of bean for the wizard
Parameters:
state - Current wizard state
actionContext - Wizard action context
Returns:
Display state
See Also:
WizardState.canNext()


Copyright © 2011. All Rights Reserved.