taxisrus.implementation.ManagerUI
Class ManagerReport
java.lang.Object
|
+--taxisrus.implementation.ManagerUI.ManagerReport
- All Implemented Interfaces:
- Serializable
- public class ManagerReport
- extends Object
- implements Serializable
- Author:
- fernando
Manager Report - created in the DataStore Object and passed
through RMI to the ReportDisplayFrame
- See Also:
- Serialized Form
|
Method Summary |
boolean |
fillColumnNames(Vector columnNames)
|
boolean |
fillDataSet(Vector columns)
fillDataSet - given a Vector of Vectors (all of which are the same size,)
this method will use those vectors to fill out the dataset of a manager report
object thus allowing for easy data insertion
PRECONDITION: method caller provides as a parameter a Vector of Vectors
where each Vector inside the parameter is of the same size. |
Object[] |
getColumnNames()
|
Object[][] |
getDataSet()
|
int |
getHeight()
|
int |
getType()
|
int |
getWidth()
|
void |
printDataSet()
printDataSet - does a decent job of outputting the stuff that's in the data set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagerReport
public ManagerReport()
- default constructor
ManagerReport
public ManagerReport(int type)
- Constructor that initializes report type
ManagerReport
public ManagerReport(int type,
Object[][] data,
Object[] headers)
- constructor
fillDataSet
public boolean fillDataSet(Vector columns)
- fillDataSet - given a Vector of Vectors (all of which are the same size,)
this method will use those vectors to fill out the dataset of a manager report
object thus allowing for easy data insertion
PRECONDITION: method caller provides as a parameter a Vector of Vectors
where each Vector inside the parameter is of the same size.
printDataSet
public void printDataSet()
- printDataSet - does a decent job of outputting the stuff that's in the data set.
I hope.
fillColumnNames
public boolean fillColumnNames(Vector columnNames)
getDataSet
public Object[][] getDataSet()
getColumnNames
public Object[] getColumnNames()
getHeight
public int getHeight()
getWidth
public int getWidth()
getType
public int getType()
API documentation for build 958