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 namevoid
setCurrent
(String current) Sets the component with the specified name to be the current component in the sequencevoid
Sets the component with the specified name to be the first component in the sequencevoid
Sets a component as next to another one in the sequencevoid
setPrevious
(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:
getFirst
in 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:
setFirst
in interfaceSequenceManager
- Parameters:
first
- the name of the first component
-
getCurrent
Returns the name of the component that is currently visible- Specified by:
getCurrent
in 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:
setCurrent
in 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:
getNext
in 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:
setNext
in 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:
getPrevious
in 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:
setPrevious
in 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
-