public class PWizardSequenceManager extends Object implements SequenceManager
Modifier and Type | Field and Description |
---|---|
protected String |
mCurrent |
protected String |
mFirst |
protected HashMap |
mNextMap |
protected HashMap |
mPrevMap |
Constructor and Description |
---|
PWizardSequenceManager() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrent()
Returns the name of the component that is currently visible
|
String |
getFirst()
Returns the name of the first component in the sequence
|
String |
getNext(String name)
Returns the name of the component that is next to the component with
the specified name
|
String |
getPrevious(String name)
Returns the name of the component that is previous to the component with
the specified name
|
void |
setCurrent(String current)
Sets the component with the specified name to be the current component
in the sequence
|
void |
setFirst(String first)
Sets the component with the specified name to be the first component
in the sequence
|
void |
setNext(String name,
String link)
Sets a component as next to another one in the sequence
|
void |
setPrevious(String name,
String link)
Sets a component as previous to another one in the sequence
|
protected String mFirst
protected String mCurrent
protected HashMap mNextMap
protected HashMap mPrevMap
public String getFirst()
getFirst
in interface SequenceManager
public void setFirst(String first)
setFirst
in interface SequenceManager
first
- the name of the first componentpublic String getCurrent()
getCurrent
in interface SequenceManager
public void setCurrent(String current)
setCurrent
in interface SequenceManager
current
- the name of the current componentpublic String getNext(String name)
getNext
in interface SequenceManager
name
- the name of the component whose next component is asked forpublic void setNext(String name, String link)
setNext
in interface SequenceManager
name
- the name of the component whose next component is going to be setlink
- the name of the next component in the sequencepublic String getPrevious(String name)
getPrevious
in interface SequenceManager
name
- the name of the component whose previous component is asked forpublic void setPrevious(String name, String link)
setPrevious
in interface SequenceManager
name
- the name of the component whose previous component is going to be setlink
- the name of the previous component in the sequenceCopyright © 2003, 2023, Oracle and/or its affiliates.