DLESE Tools
v1.6.0

org.dlese.dpc.schemedit
Class PageList

java.lang.Object
  extended by 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:
Serialized Form

Nested Class Summary
 class PageList.Page
          Information about the pages/form in an editor.
 
Constructor Summary
PageList()
          Constructor for the PageList object
PageList(String[][] pageData)
          Constructor for the PageList object
 
Method Summary
 void addPage(PageList.Page page)
          Adds a feature to the Page attribute of the PageList object
 void addPage(String[] vals)
          Adds a feature to the Page attribute of the PageList object
 void addPage(String mapping, String name)
          Adds a feature to the Page attribute of the PageList object
 String getFirstPage()
          Gets the firstPage attribute of the PageList object
 String getHomePage()
          Gets the homePage attribute of the PageList object
 ArrayList getPages()
          Gets the pages attribute of the PageList object
 void setFirstPage(String page)
          Sets the firstPage attribute of the PageList object
 void setHomePage(String page)
          Sets the homePage attribute of the PageList object
 String toString()
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 Detail

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

DLESE Tools
v1.6.0