DetailedTable

DetailedTable

Superclass
LensDataManager

Subclasses
EditableDetailedTable, SimpleErrorsTable, IncurrenceRatesTable,
DialogErrorsTable, ErrorCorrectionTable

Referenced By
VehicleSummaryReport

Class DefaultTable  is an abstract class that is used to create table
	view for viewing tables from a database.  It is designed to use
	a dynamic baseQuery object for quering the database.  Usually you
	use the VW New Data Form... tool to create a table viewer and
	make this the superclass of the object you are creating.  This allows
	you to remove the ownQuery method that is being created thus
	being overwridden by our methods for use of the dynamic queries.
	Base Query is based upon John Brant's Query Object.

	Of course though you can ignore the Base Query and use VW
	query editor to build your query and have a static query.

	DefaultTable is primarily used in conjuntion with CatModelWrapper
	for a default look and feel window.

	It also can allow the subclass to define what accept and remove mean.
	So its subclasses can do the transactions that it wants to do.  The way is by
	redefining the methods acceptDatabase and removeDatabase.  It stores the
	new entered values in the variable tempRow.  There are methods used to
	access the variable so that the original values can be obtained.  There is
	also another variable called origRow which is the row before any changes
	had been entered.

	To create new rows in the database, call endCreating: anArrayValue.  To
	remove rows, call removeRow: anArrayValue.  To edit new ros in the database
	(updating), call endEditing: anArrayValue.

	The method acceptDatabase must return a boolean that tells whether or not
	the database transaction has been successful.


Example of Use:
	"wrapper := CatModelWrapper models: (Array with: (detailed := DetailedTable tableType
new)) windowLabel: 'Detailed Transactions'.
			detailed
				queryDescription: queryDescriptor;
				baseQuery: aQuery.

	wrapper
		state: state;
		subMenuName: 'Tools';
		open"

Instance Variables:
baseQuery <QueryObject> The query to perform to get the data
queryDescription <aClass> [description]
tempRow <Collection> A temporary row for
origRow <aClass> [description]
changedDict <aClass> [description]
count <aClass> [description]
curRow <aClass> [description]
notes <aClass> [description]
action <aClass> [description]
displayedCount <aClass> [description]
rowList <aClass> [description]
startFindLocation <aClass> [description]
endFindLocation <aClass> [description]
previousSearch <aClass> [description] Class Variables: None Developed by Jee Ku (jku@cat.ncsa.uiuc.edu) and Joseph W. Yoder (yoder@cat.ncsa.uiuc.edu)

Potential problems with this comment:
	Variable has invalid type - 
		#('startFindLocation' 'aClass'), #('notes' 'aClass'), #('changedDict' 'aClass'), 
		#('rowList' 'aClass'), #('origRow' 'aClass'), #('previousSearch' 'aClass'), 
		#('action' 'aClass'), #('queryDescription' 'aClass'), #('curRow' 'aClass'), 
		#('endFindLocation' 'aClass'), #('count' 'aClass'), #('displayedCount' 'aClass')