public interface SequenceManager
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 name)
Sets the component with the specified name to be the current component
in the sequence
|
void |
setFirst(String name)
Sets the component with the specified name to be the first component
in the sequence
|
void |
setNext(String name,
String next)
Sets a component as next to another one in the sequence
|
void |
setPrevious(String name,
String previous)
Sets a component as previous to another one in the sequence
|
String getFirst()
void setFirst(String name)
name
- the name of the first componentString getCurrent()
void setCurrent(String name)
name
- the name of the curent componentString getNext(String name)
name
- the name of the component whose next component is asked forvoid setNext(String name, String next)
name
- the name of the component whose next component is going to be setnext
- the name of the next component in the sequenceString getPrevious(String name)
name
- the name of the component whose previous component is asked forCopyright © 2003, 2023, Oracle and/or its affiliates.