Package com.portal.browse
Class SummaryData
java.lang.Object
com.portal.browse.SummaryData
- All Implemented Interfaces:
Serializable
this class is common between the Summary View and the controller and is
used to pass around information.
- Version:
- %version: 3 % %date_modified: Wed May 24 09:40:59 2000 %
- Author:
- lalita
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method returns a vector of the column headings of the summary table.getData()
This method returns a vector that contains all the data that needs to be displayed in the summary table.This method is used by the controller to get to the array of HistoryItems passed in by the view.void
setColumnNames
(Vector headers) This method is used by the controller to assign the column headings of the summary table.void
This method is used by the controller class to assign the data of the summary table.
-
Constructor Details
-
SummaryData
Creates an instance of this class.- Parameters:
items
- an array of HistoryItem
-
-
Method Details
-
getData
This method returns a vector that contains all the data that needs to be displayed in the summary table.- Returns:
- data to be displayed in the table
-
getColumnNames
This method returns a vector of the column headings of the summary table.- Returns:
- an array of column names
-
setData
This method is used by the controller class to assign the data of the summary table.- Parameters:
data
- the data to display in the table
-
setColumnNames
This method is used by the controller to assign the column headings of the summary table.- Parameters:
headers
- the list of column headers
-
getHistoryItems
This method is used by the controller to get to the array of HistoryItems passed in by the view.- Returns:
- an array of HistoryItems
-