Class PageList

java.lang.Object
org.dlese.dpc.schemedit.PageList
All Implemented Interfaces:
Serializable

public class PageList extends Object implements Serializable
Manages information about the editor pages in support of SchemaEdit. PageList is created FrameworkConfigReader, which reads from a config file for a particular framework (e.g., "adn"). The PageList is used to build the menu of pages within the metadata editor, as well as to aid in navigation within the SchemEdit controllers.

NOTE: this class belongs in the config package.

Author:
ostwald
See Also:
  • Constructor Details

    • PageList

      public PageList()
      Constructor for the PageList object
    • PageList

      public PageList(String[][] pageData)
      Constructor for the PageList object
      Parameters:
      pageData - Description of the Parameter
  • Method Details

    • addPage

      public void addPage(PageList.Page page)
      Adds a feature to the Page attribute of the PageList object
      Parameters:
      page - The feature to be added to the Page attribute
    • addPage

      public void addPage(String[] vals)
      Adds a feature to the Page attribute of the PageList object
      Parameters:
      vals - The feature to be added to the Page attribute
    • addPage

      public void addPage(String mapping, String name)
      Adds a feature to the Page attribute of the PageList object
      Parameters:
      mapping - The feature to be added to the Page attribute
      name - The feature to be added to the Page attribute
    • setFirstPage

      public void setFirstPage(String page)
      Sets the firstPage attribute of the PageList object
      Parameters:
      page - The new firstPage value
    • getFirstPage

      public String getFirstPage()
      Gets the firstPage attribute of the PageList object
      Returns:
      The firstPage value
    • setHomePage

      public void setHomePage(String page)
      Sets the homePage attribute of the PageList object
      Parameters:
      page - The new homePage value
    • getHomePage

      public String getHomePage()
      Gets the homePage attribute of the PageList object
      Returns:
      The homePage value
    • getPages

      public ArrayList getPages()
      Gets the pages attribute of the PageList object
      Returns:
      The pages value
    • toString

      public String toString()
      Description of the Method
      Overrides:
      toString in class Object
      Returns:
      Description of the Return Value