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 Type
    Method
    Description
    Returns the name of the component that is currently visible
    Returns the name of the first component in the sequence
    Returns the name of the component that is next to the component with the specified name
    Returns the name of the component that is previous to the component with the specified name
    void
    Sets the component with the specified name to be the current component in the sequence
    void
    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
  • Method Details

    • getFirst

      String getFirst()
      Returns the name of the first component in the sequence
      Returns:
      the name of the first component
    • setFirst

      void setFirst(String name)
      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

      void setCurrent(String name)
      Sets the component with the specified name to be the current component in the sequence
      Parameters:
      name - the name of the curent component
    • getNext

      String getNext(String name)
      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

      void setNext(String name, String next)
      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 set
      next - the name of the next component in the sequence
    • getPrevious

      String getPrevious(String name)
      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

      void setPrevious(String name, String previous)
      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 set
      previous - the name of the previous component in the sequence