public class SummaryData extends Object implements Serializable
Constructor and Description |
---|
SummaryData(HistoryItem[] items)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Vector |
getColumnNames()
This method returns a vector of the column headings of the summary table.
|
Vector |
getData()
This method returns a vector that contains all the data that needs to be
displayed in the summary table.
|
HistoryItem[] |
getHistoryItems()
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 |
setData(Vector data)
This method is used by the controller class to assign the data of the
summary table.
|
public SummaryData(HistoryItem[] items)
items
- an array of HistoryItempublic Vector getData()
public Vector getColumnNames()
public void setData(Vector data)
data
- the data to display in the tablepublic void setColumnNames(Vector headers)
headers
- the list of column headerspublic HistoryItem[] getHistoryItems()
Copyright © 2003, 2023, Oracle and/or its affiliates.