Package com.portal.pfc.ui.wizard
Class PWizardSequenceManager
java.lang.Object
com.portal.pfc.ui.wizard.PWizardSequenceManager
- All Implemented Interfaces:
SequenceManager
A class that manages the sequence of the components added to
the PWizard framework
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the component that is currently visiblegetFirst()Returns the name of the first component in the sequenceReturns the name of the component that is next to the component with the specified namegetPrevious(String name) Returns the name of the component that is previous to the component with the specified namevoidsetCurrent(String current) Sets the component with the specified name to be the current component in the sequencevoidSets the component with the specified name to be the first component in the sequencevoidSets a component as next to another one in the sequencevoidsetPrevious(String name, String link) Sets a component as previous to another one in the sequence
-
Field Details
-
mFirst
-
mCurrent
-
mNextMap
-
mPrevMap
-
-
Constructor Details
-
PWizardSequenceManager
public PWizardSequenceManager()
-
-
Method Details
-
getFirst
Returns the name of the first component in the sequence- Specified by:
getFirstin interfaceSequenceManager- Returns:
- the name of the first component
-
setFirst
Sets the component with the specified name to be the first component in the sequence- Specified by:
setFirstin interfaceSequenceManager- Parameters:
first- the name of the first component
-
getCurrent
Returns the name of the component that is currently visible- Specified by:
getCurrentin interfaceSequenceManager- Returns:
- the name of the currently visible component
-
setCurrent
Sets the component with the specified name to be the current component in the sequence- Specified by:
setCurrentin interfaceSequenceManager- Parameters:
current- the name of the current component
-
getNext
Returns the name of the component that is next to the component with the specified name- Specified by:
getNextin interfaceSequenceManager- Parameters:
name- the name of the component whose next component is asked for- Returns:
- the name of the next component in the sequence
-
setNext
Sets a component as next to another one in the sequence- Specified by:
setNextin interfaceSequenceManager- Parameters:
name- the name of the component whose next component is going to be setlink- the name of the next component in the sequence
-
getPrevious
Returns the name of the component that is previous to the component with the specified name- Specified by:
getPreviousin interfaceSequenceManager- Parameters:
name- the name of the component whose previous component is asked for- Returns:
- the name of the previous component in the sequence
-
setPrevious
Sets a component as previous to another one in the sequence- Specified by:
setPreviousin interfaceSequenceManager- Parameters:
name- the name of the component whose previous component is going to be setlink- the name of the previous component in the sequence
-