Package com.portal.pfc.ui.wizard
Interface SequenceManager
- All Known Implementing Classes:
PWizardSequenceManager
public interface SequenceManager
An interface that defines how the sequence of the components added to
the PWizard framework is to be managed
-
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 name) 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 previous) Sets a component as previous to another one in the sequence
-
Method Details
-
getFirst
String getFirst()Returns the name of the first component in the sequence- Returns:
- the name of the first component
-
setFirst
Sets the component with the specified name to be the first component in the sequence- Parameters:
name
- the name of the first component
-
getCurrent
String getCurrent()Returns the name of the component that is currently visible- Returns:
- the name of the currently visible component
-
setCurrent
Sets the component with the specified name to be the current component in the sequence- Parameters:
name
- the name of the curent component
-
getNext
Returns the name of the component that is next to the component with the specified name- 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- Parameters:
name
- the name of the component whose next component is going to be setnext
- 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- 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- Parameters:
name
- the name of the component whose previous component is going to be setprevious
- the name of the previous component in the sequence
-