org.xwiki.gwt.user.client.ui.wizard
Class WizardStepMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,WizardStep>
          extended by org.xwiki.gwt.user.client.ui.wizard.WizardStepMap
All Implemented Interfaces:
Serializable, Cloneable, Map<String,WizardStep>, WizardStepProvider

public class WizardStepMap
extends HashMap<String,WizardStep>
implements WizardStepProvider

A generic wizard step provider implemented as a map of wizard steps. The key into the map is the step name.

Version:
$Id: 3cfd1892e61aacbdc123f3be1c2930e18b253617 $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
WizardStepMap()
           
 
Method Summary
 WizardStep getStep(String name)
          Returns the WizardStep corresponding to the passed name.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

WizardStepMap

public WizardStepMap()
Method Detail

getStep

public WizardStep getStep(String name)
Description copied from interface: WizardStepProvider
Returns the WizardStep corresponding to the passed name.

Specified by:
getStep in interface WizardStepProvider
Parameters:
name - the name of the WizardStep to find
Returns:
the instance of the WizardStep corresponding to the passed name or null if no such step exists.


Copyright © 2004–2015 XWiki. All rights reserved.