Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
4 |
Database Kit
The functionality of the Database Kit has been superceded by the Enterprise Object Framework. The Enterprise Object Framework product (available separately from NEXTSTEP) provides a way to develop object-oriented database applications. It provides tools for defining an object model and mapping it to a data model, which allows you to create objects that encapsulate both data and methods for operating on that data--and these objects can persist in a relational database accessible via the Framework's data services. You should use the Enterprise Objects Framework to develop database applications instead of the Database Kit.
Classes
DBAssociation |
Inherits From: | Object |
Initializing |
![]() |
Initializes; associates aFetchGroup with aDest | |
![]() |
||
![]() |
Linking Expression and View |
![]() |
The association's user interface object | |
![]() |
The DBFetchGroup that owns the association | |
![]() |
The DBExpression that selects the properties displayed | |
![]() |
Sets the user association's user interface object |
Methods to be Re-Defined in a Subclass of Association |
![]() |
Notice to redisplay because the value changed | |
![]() |
Notice to redisplay because a record was deleted | |
![]() |
Notification that editing the destination must end | |
![]() |
Gets an object containing the association's data |
![]() |
The index of the next selected row |
![]() |
Notice that the user has changed the selection | |
![]() |
Sets the association's data | |
![]() |
Notice to validate changes the user has made |
Methods to be Defined in the Destination of a Custom Association |
![]() |
Gets an object containing the association's data | |
![]() |
||
![]() |
Sets the association's data | |
![]() |
||
![]() |
Notice to redisplay because the value changed |
![]() |
Notice to redisplay because a record was deleted |
![]() |
Notice that the user has changed the selection |
DBBinder |
Inherits From: | Object | |
Conforms To: | DBCursorPositioning |
Initializing |
![]() |
Initializes a new DBBinder instance | |
![]() |
Initializes database, properties, qualifier; frees DBBinder | |
![]() |
||
![]() |
||
![]() |
Frees the space allocated to a DBBinder |
Connecting to a Database |
![]() |
The DBBimder's DBDatabase | |
![]() |
Sets the DBBimder's DBDatabase |
Managing Properties |
![]() |
Gets and returns the DBBinder's properties | |
![]() |
Sets and returns the DBBinder's properties | |
![]() |
Adds an object to the list of properties | |
![]() |
Deletes one of the objects from the list of properties |
Managing the Qualifier |
![]() |
The DBBinder's qualifier | |
![]() |
Sets the DBBinder's qualifier |
Managing the Container |
![]() |
The DBBinder's container | |
![]() |
Sets the DBBinder's container | |
![]() |
Sets whether flushing the DBBinder is permitted | |
![]() |
Reports whether flushing is enabled; default YES | |
![]() |
Sets whether the DBBinder is freed when flushed | |
![]() |
YES if container objects freed when DBBinder is flushed |
Managing the Record Prototype |
+ setDynamicRecordClassName:(const char *)aName Assign a unique name to a class for unprototyped records
+ setDynamicRecordSuperclassName:(const char *)aName |
Identify (existing) superclass for unprototyped records |
![]() |
Makes anObject the prototype for the DBBinder's records | |
![]() |
Create default prototype object for the DBBinder's records | |
![]() |
YES if createRecordPrototype will work (no prototype) | |
![]() |
The DBBinder's record prototype | |
![]() |
![]() | |
![]() |
||
![]() |
Sets the selectors for storing and retrieving aProperty | |
![]() |
||
![]() |
![]() |
The value of aProperty for the current record |
Ordering and Ignoring Records |
![]() |
Appends aProperty to the retrieve ordering criteria |
![]() |
Removes aProperty from the list of ordering criteria |
![]() |
The direction in which aProperty is sorted on retrieve |
![]() |
The rank order of aProperty in the list of order criteria |
![]() |
YES if duplicate records are ignored during select | |
![]() |
Sets whether duplicate records will be ignored in select |
Accessing the Database |
![]() |
Fetches record; puts in record objects (in the container) | |
![]() |
Selects records and fetches them | |
![]() |
Selects records in the database for fetching | |
![]() |
Inserts the DBBinder's record objects into the database | |
![]() |
Updates the database for each record object | |
![]() |
Deletes record object from the database |
![]() |
Tells the adaptor to evaluate aString (without qualifier) |
![]() |
char *)aString |
YES if delegate permits evaluation of aString; default YES |
Fetching in a Thread |
![]() |
Starts an asynchronous fetch to the container | |
![]() |
Aborts an asynchronous fetch |
![]() |
Sends binderDidFetch: if an asynchronous fetch completes within timeout seconds |
Limiting a Fetch |
![]() |
Sets maximum records per synchronous fetch |
![]() |
Returns maximum records per fetch; default unlimited | |
![]() |
YES if the previous fetch stopped for the record limit |
Using the Shared Cursors for Several Binders |
![]() |
Set whether this binder uses the shared cursor | |
![]() |
YES if this binder uses the shared cursor |
Managing General Resources |
![]() |
Cancels any fetch, then flushes and frees objects | |
![]() |
If enabled, empties the container | |
![]() |
The zone the DBBinder is now using for allocations |
Appointing a Delegate |
![]() |
The object that receives notification messages | |
![]() |
Sets the object to receive notification messages |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |
Methods Implemented by the Delegate |
![]() |
Notification that aString was evaluated by the adaptor |
![]() |
Notification that aString will be sent the adaptor; YES lets evaluation proceed |
![]() |
Notification that records were deleted from the database | |
![]() |
Notification that records were fetched from the database | |
![]() |
Notification that records were inserted in the database | |
![]() |
Notification that records were selected (but not fetched) | |
![]() |
Notification that database records were updated | |
![]() |
YES permits deleting binder's records from the database | |
![]() |
YES permits records to be fetched from the database | |
![]() |
YES permits records to be in sorted in the database | |
![]() |
YES permits records to be selected in the database | |
![]() |
YES permits records to update the database |
DBDatabase |
Inherits From: | Object |
Initializing the Class |
+ initialize | Sent automatically; prepares class to respond to inquiries |
Reporting What's Available |
+ (const char **)adaptorNames | List of the names of available adaptors |
+ (const char **)databaseNamesForAdaptor:(const char *)anAdaptorName |
List of database available through anAdaptorName |
Initializing an Instance |
![]() |
Initializes and loads information from a model file |
Describing the Model Source |
![]() |
The directory from which the model was loaded | |
![]() |
The model's name in the class's name table | |
![]() |
Sets the model's name in the class's name table | |
![]() |
The name of the current database adaptor | |
![]() |
The name of the model's default adaptor | |
![]() |
The model's default login string | |
![]() |
The current login string |
![]() |
The the model's login string for user aUser |
Describing the Database Model |
![]() |
Returns an object embodying entity aName |
![]() |
Returns a list of the names of the model's entities |
Revising the Data Dictionary |
![]() |
Frees the current data dictionary | |
![]() |
Replaces the data dictionary by querying the database |
Connecting to the Database |
+ findDatabaseNamed:(const char *)aName | Returns a DBDatabase instance, after loading model | |
![]() |
![]() | |
![]() |
Opens a connection to database using the default login |
![]() |
Opens database connection to database by sending aString |
![]() |
andString:(const unsigned char *)aString | Opens database connection via anAdaptor and aString |
![]() |
Disconnects from the database |
![]() |
*)aString |
Disconnects from the database by sending it aString |
![]() |
YES if there is a valid connection to the database | |
![]() |
The name assigned to the current connection |
Managing Transactions |
![]() |
YES if a new transaction is successfully started | |
![]() |
YES if a the current transaction is successfully rolled back | |
![]() |
YES if a the current transaction is successfully committed | |
![]() |
YES is a transaction is in progress | |
![]() |
YES if transactions are enabled | |
![]() |
Enable/disable transaction; returns YES if successful |
Using a Delegate |
![]() |
The object that receives notification messages | |
![]() |
Sets the object that receives notification messages |
Evaluating an Arbitrary String |
![]() |
Returns YES if the adaptor evaluates the string |
Controlling the User Interface |
![]() |
YES if UI panels can respond to problems | |
![]() |
Enable/disable response by UI panels |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |
Methods Implemented in the Delegate |
![]() |
Notification of log message sent by aDatabase | |
![]() |
||
![]() |
Notification of a message received from aDatabase; | |
![]() |
Returns YES when the user acknowledges the notifiation. | |
![]() |
||
![]() |
||
![]() |
Notice that aString will be evaluated; YES lets it proceed | |
![]() |
||
![]() |
||
![]() |
Notification that database rolled back a transaction | |
![]() |
Notification that database committed a transaction | |
![]() |
Notification that database will commit a transaction | |
![]() |
Notification that database will roll back a transaction |
DBEditableFormatter |
Inherits From: | DBFormatter : Object |
Initializing |
![]() |
Initializes a new instance | |
![]() |
Frees the space an instance formerly used |
Manipulating Font |
![]() |
Returns the font used in the editable display | |
![]() |
Sets the font used in the editable display |
Displaying and Editing |
![]() |
Displays one field of the data source's current record | |
![]() |
taken from position row or column of the dynamic axis, | |
![]() |
using rowAttrs or colAttrs to identify static attributes, | |
![]() |
and flags useRowPos and useColumnPos to select which |
withAttributes:(id <DBTableVectors>) rowAttrs :(id <DBTableVectors>)columnAttrs usePositions:(BOOL)useRowPos :(BOOL)useColumnPos |
![]() |
Displays and prepares to edit one field of the data source's | |
![]() |
current record, taken from row or column of dynamic axis, | |
![]() |
using rowAttrs or colAttrs to identify static attributes, | |
![]() |
and flags useRowPos and useColumnPos to select which; |
withAttributes:(id <DBTableVectors>) rowAttrs |
:(id <DBTableVectors>) columnAttrs | returns YES if editing was permitted | |
usePositions:(BOOL)useRowPos | ||
:(BOOL)useColumnPos | ||
onEvent:theEvent |
Controlling Editing |
![]() |
Forces an end to editing and discards changes; returns self | |
![]() |
Ends editing when user clicks elsewhere Returns YES if that becomes first responder |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream | |
![]() |
Automatically invoked final step in unarchiving |
Methods Implemented by the Delegate |
See DBFormatterValidation protocol. |
DBExpression |
Inherits From: | Object | |
Conforms To: | DBExpressionValues DBProperties |
Creating and Freeing a DBExpression |
![]() |
Initializes for anEntity, with description string shown |
fromDescription:(const unsigned char *)descriptionFormat, ... |
![]() |
Initializes anEntity, from property aName, | |
![]() |
![]() | |
![]() |
||
![]() |
Returns new copy of receiver, allocated from zone | |
![]() |
Frees the space that an instance formerly used |
Setting the Entity and Description |
![]() |
Sets anEntity, with the description string shown |
andDescription:(const unsigned char *)descriptionFormat, ... |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |
DBFetchGroup |
Inherits From: | Object |
Initializing |
![]() |
Initialize a new instance for links to anEntity | |
![]() |
Invoked automatically; matches the name to the attribute it fetches |
Reporting Current Context |
![]() |
Returns the name (set to match the attribute it fetches) | |
![]() |
The DBModule that owns the fetch group | |
![]() |
The DBEntity for which the fetch group fetches | |
![]() |
The DBRecordList in which fetched records are stored | |
![]() |
The index within the DBRecordList of the current record | |
![]() |
The number of records in the DBRecordList |
Controlling Current Selection |
![]() |
If YES, fetch selects first row, delete selects next rowf | |
![]() |
Returns flag set by ![]() | |
![]() |
Sets a position within the DBRecordList | |
![]() |
Deselects current record |
![]() |
Index of first selected row after previousRow |
![]() |
Displays all of DBFetchGroup's DBAssociations |
Manipulating Contents |
![]() |
Deletes the selected records from the DBRecordList | |
![]() |
Inserts a (default) record in the DBRecordList at index |
![]() |
Replaces all records by reading aSource using aQualifier |
Dealing with Changes |
![]() |
YES if the DBRecordList has been changed but not saved | |
![]() |
YES unless delegates for editor or DDModule object | |
![]() |
Saves changes in this or subordinate fetch groups | |
![]() |
Discards changes in this and subordinate fetch groups |
Using Associations |
![]() |
Adds newExpression to the list of expressions to fetch | |
![]() |
Puts the displayed value into the DBRecordList | |
![]() |
Adds newAssociation to the list of associations | |
![]() |
Removes anAssociation from the list of associations |
Using a Delegate |
![]() |
The object that receives notification messages | |
![]() |
Sets the object to receive notification messages |
Methods Implemented by the Delegate |
![]() |
didInsertRecordAt:(int)index | Notification of a new record in the DBRecordList |
![]() |
Notification of pending validation; YES lets it proceed | |
![]() |
||
![]() |
Notification of pending deletion; YES lets it proceed | |
![]() |
||
![]() |
Returns constant to indicate response to failure notice | |
![]() |
||
![]() |
Notification of new contents in DBRecordList | |
![]() |
Notification that DBRecordList has been saved | |
![]() |
Notification that user made changes in the DBRecordList | |
![]() |
Notification that fetch will change the DBRecordList | |
![]() |
Notification of pending save; YES lets it proceed |
DBFormatter (abstract superclass) |
Inherits From: | Object |
Controlling the Data Source |
![]() |
Returns the DBRecordList (or other source) | |
![]() |
Makes newDataSource the place to get values for display |
Getting the Value to be Formatted |
![]() |
Returns a DBValue from the DBRecordList, | |
![]() |
taking it from position row or column of the dynamic axis, | |
![]() |
using rowAttrs or colAttrs to identify static attributes, | |
![]() |
and flags useRowPos and useColumnPos to select which |
withAttributes:(id <DBTableVectors>) rowAttrs :(id <DBTableVectors>)columnAttrs usePositions:(BOOL)useRowPos :(BOOL)useColumnPos |
Formatting a Field |
![]() |
Displays one field of the data source's current record | |
![]() |
taken from position row or column of the dynamic axis, | |
![]() |
using rowAttrs or colAttrs to identify static attributes, | |
![]() |
and flags useRowPos and useColumnPos to select which |
withAttributes:(id <DBTableVectors>) rowAttrs :(id <DBTableVectors>)columnAttrs usePositions:(BOOL)useRowPos :(BOOL)useColumnPos |
Batching Format Requests |
![]() |
Notification that format attrs apply to all following items | |
![]() |
Marks the end of a block of items formatted the same way | |
![]() |
Begin batching if not already started |
Appointing a Delegate |
![]() |
The object that receives notification messages | |
![]() |
Sets the object to receive notification messages |
DBImageFormatter |
Inherits From: | DBFormatter : Object |
Initializing |
![]() |
Initializes a new instance | |
![]() |
Frees the space an instance formerly used |
Default |
![]() |
Set image to be shown when the data has none | |
![]() |
The image displayed when the data has none |
Display |
![]() |
Displays one image from the data source's current record | |
![]() |
taken from position row or column of the dynamic axis, | |
![]() |
using rowAttrs or colAttrs to identify static attributes, | |
![]() |
and flags useRowPos and useColumnPos to select which |
withAttributes:(id <DBTableVectors>) rowAttrs :(id <DBTableVectors>)columnAttrs usePositions:(BOOL)useRowPos :(BOOL)useColumnPos |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |
DBImageView |
Inherits From: | Control : View : Responder : Object |
Internals |
![]() |
Initializes the view in the frame coordinates | |
![]() |
Called by display to draw the image | |
![]() |
Getting/Setting the Image |
![]() |
Returns the image being displayed | |
![]() |
Makes newImage the image to display |
Getting/Setting the Border |
![]() |
Sets the style of border for the image | |
![]() |
Returns a constant indicating the border style |
Editing |
![]() |
YES if the image can be deleted or replaced | |
![]() |
Allow/prohibit deleting or replacing the image |
DBModule |
Inherits From: | Object |
Reporting the Context |
![]() |
The DBModule's DBDatabase | |
![]() |
The DBModule's DBEntity | |
![]() |
The DBModule's root DBFetchGroup | |
![]() |
The DBAssociation that handles UI object anObject | |
![]() |
The DBAssociation currently involved in editing | |
![]() |
Returns a list of all the DBModule's DBFetchGroups | |
![]() |
Returns the DBFetchGroup for the property named aName |
Initializing and Configuring |
![]() |
entity:anEntity | Initializes a new DBModule with the given DBDatabase and DBEntity, |
![]() |
Fetches records for the DBEntity or DBValue aSource, | |
![]() |
![]() | |
![]() |
Invoked to add aFetchGroup to the list of fetch groups |
Responding to User Actions |
![]() |
Fetches all records for the DBModule's root fetch group | |
![]() |
Saves in the database changes made to the fetched records | |
![]() |
Discard changes proposed for the fetched records | |
![]() |
Delete one of the fetched records | |
![]() |
Append a new (default) record to those fetched | |
![]() |
Insert a new (default) record at the current position | |
![]() |
Select the next of the fetched records | |
![]() |
Select the preceding of the fetched records | |
![]() |
UI object has a new value, so fetched record is revised | |
![]() |
User has finished editing a text field | |
![]() |
||
![]() |
User has entered an editable field; YES lets editing proceed | |
![]() |
Notification that an editable field will relinquish first responder; YES lets the change proceed |
Using a Delegate |
![]() |
The object that receives notification messages | |
![]() |
Sets the object to receive notification messages |
Methods Implemented by the Delegate |
![]() |
Called when module has completed a save to the database | |
![]() |
Called when module is about to discard user's changes | |
![]() |
Called when module is about to save to the database |
DBQualifier |
Inherits From: | Object | |
Conforms To: | DBExpressionValues |
Initializing and Freeing |
+ initialize | Automatically invoked to initialize the class | |
![]() |
Initializes a new instance to select from anEntity | |
![]() |
Initializes to select from anEntity by descriptionFormat |
fromDescription:(const unsigned char *)descriptionFormat, ... |
![]() |
Returns a copy of the DBQualifier, allocating from z | |
![]() |
Frees space that a DBQualifier formerly used |
Modifying |
![]() |
Appends descriptionFormat to the qualifier descriptions |
![]() |
Sets both anEntity and qualifying descriptionFormat |
andDescription:(const unsigned char *)descriptionFormat, ... |
![]() |
Assigns the DBQualifier aName and returns YES | |
![]() |
Deletes the qualifying descriptions and returns YES |
Querying |
![]() |
Returns the name assigned to the DBQualifier | |
![]() |
Returns the DBQualifier's entity | |
![]() |
Returns YES if the qualifying descriptions are empty |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |
DBRecordList |
Inherits From: | DBRecordStream | |
Conforms To: | DBContainers DBCursorPositioning |
Initializing and Freeing |
![]() |
Initializes a new instance of DBRecordList | |
![]() |
Frees the space a DBRecordList formerly used | |
![]() |
Empties the record list and lists of properties |
Setting the Retrieval Mode |
![]() |
Sets the DBRecordList's retrieval strategy |
![]() |
Returns a constant identifying the retrieval strategy |
Fetching Data from the Database |
![]() |
Fetches records qualified by matching aValue | |
![]() |
Empties, then fetches records selected by aQualifier | |
![]() |
Fetches records selected by aQualifier; | |
![]() |
if emptyFirst is YES, first empties the record list | |
![]() |
Returns the maximum number of records to fetch | |
![]() |
Sets the maximum number of records to fetch |
Accessing Data in the DBRecordList |
![]() |
Puts the current record's value for aProperty into aValue | |
![]() |
||
![]() |
Puts value of aProperty for the record at index into aValue | |
![]() |
||
![]() |
||
![]() |
Puts the key value for the current record into aValue | |
![]() |
Puts the key value for the record at index into aValue | |
![]() |
Modifying Data in the DBRecordList |
![]() |
Sets the current record's value of aProperty to aValue | |
![]() |
||
![]() |
Sets value of aProperty for record at index to aValue | |
![]() |
||
![]() |
||
![]() |
Inserts a (default) record ahead of the record at index | |
![]() |
Inserts a (default) record after the last one | |
![]() |
Inserts a (default) record to precede the current record | |
![]() |
YES if the current record is one that has been inserted | |
![]() |
YES if the record at index had been inserted | |
![]() |
Deletes the current record | |
![]() |
Deletes the record at index | |
![]() |
YES if the current record has been changed or inserted | |
![]() |
YES if the record at index has been changed or inserted | |
![]() |
YES if aProperty of the record at index has been changed | |
![]() |
Using Record Indexes |
![]() |
Returns the index of the record whose key is aValue |
![]() |
Moves record at sourceIndex to precede the record now | |
![]() |
![]() | |
![]() |
Transposes the positions of the two records | |
![]() |
Saving Data |
![]() |
Saves to the database any changes since the fetch; returns code for success, partial success, or failure |
DBRecordStream |
Inherits From: | Object |
Initializing and Freeing |
![]() |
Initializes a new instance | |
![]() |
Frees space formerly used by a DBRecordStream |
Setting up a DBRecordStream |
![]() |
Appends anOrder (up/down) to sort criteria for aProperty | |
![]() |
||
![]() |
Sets/returns list of properties wanted from entity aSource | |
![]() |
||
![]() |
Returns and puts into propertyList the stream's properties | |
![]() |
Sets and returns propertyList as the stream's key properties | |
![]() |
Returns/ puts into propertyList the stream's key properties |
Fetching Data |
![]() |
Starts fetching records that pass aQualifier | |
![]() |
Stops fetching and sends fetchDone to DBDatabase | |
![]() |
![]() |
Accessing Data |
![]() |
Puts current record's aProperty's value into aValue |
![]() |
Puts current record's key value into aValue | |
![]() |
Makes next record available; nil if none left |
Modifying Data |
![]() |
Sets the current record's aProperty to aValue |
![]() |
Inserts new, empty record at the current record | |
![]() |
Deletes the current record | |
![]() |
YES if the current record is a new one | |
![]() |
YES if the current record is new or has been modified | |
![]() |
YES if the record stream cannot be modified |
Saving Modifications |
![]() |
Writes current record's modifications to the database |
Resetting a DBRecordStream |
![]() |
Resets everything except the delegate |
Assigning Delegates |
![]() |
The object that receives notification messages | |
![]() |
Sets the object that will receive notification messages | |
![]() |
The object that receives notification messages for binders | |
![]() |
Sets the object to receive notification messages for binders |
Method Implemented by the Delegate |
![]() |
Invoked when changes can't be saved; aCode tells why; | |
![]() |
YES acknowledges failure; NO tries to proceed with those records that are not affected |
![]() |
Invoked when a record will be modififed or deleted; YES permits modification to proceed |
DBTableVector |
Inherits From: | Object | |
Conforms To: | DBTableVectors |
Creating the Object |
![]() |
Initialize a DBTableVector for property anIdentifier | |
![]() |
Free the space formerly allocated to a DBTableVector |
DBTableView |
Inherits From: | ScrollView : View : Responder : Object |
Initializing and Freeing |
![]() |
Initializes an instance located within newFrame | |
![]() |
Frees space formerly used by a DBTableView |
Setting up the DBTableView |
![]() |
Sets the object that will provide data for the display | |
![]() |
The object that provides data for the display | |
![]() |
Sets the object that will receive notification messages | |
![]() |
The object that receives notification messages |
Displaying |
![]() |
Setting and Reporting Formatting |
![]() |
Returns the DBFormatter for the field at row and column |
![]() |
YES if rows are dynamic | |
![]() |
YES if columns are dynamic | |
![]() |
YES if row heading view is visible | |
![]() |
YES if column heading view is visible | |
![]() |
Sets space between neighboring rows and columns | |
![]() |
Puts space between rows and columns into theSize | |
![]() |
Makes grid lines between rows and columns visible or not | |
![]() |
YES if grid lines are visible | |
![]() |
Makes arrow keys acceptable for navigation | |
![]() |
YES if arrow keys are accepted for navigation | |
![]() |
Lets/prevents user drag static row/column to new position | |
![]() |
YES if user is permitted to reorder static row or column | |
![]() |
Lets/prevents user drag the width of static row or column | |
![]() |
YES if user can drag row or column to change width |
![]() |
![]() |
Redraw because data may have changed | |
![]() |
Redraw because row or column spacing changed | |
![]() |
Redraw because data changed in a block of rows | |
![]() |
![]() |
to:(unsigned int)endColumn |
![]() |
![]() |
Total number of columns | |
![]() |
Total number of rows |
![]() |
Object specifying format of the static row at aPosition |
![]() |
Object specifying format of the static column at aPosition |
![]() |
Adds an static column at aPosition | |
![]() |
||
![]() |
Adds a static column with title at aPosition | |
![]() |
||
![]() |
Adds a static column with title and formatter at aPosition | |
![]() |
||
![]() |
||
![]() |
||
![]() |
Deletes a static column | |
![]() |
Changes a static column's position | |
![]() |
||
![]() |
Adds an static row at aPosition | |
![]() |
||
![]() |
Adds a static row with title at aPosition | |
![]() |
||
![]() |
Adds a static row with title and formatter at aPosition | |
![]() |
||
![]() |
||
![]() |
||
![]() |
Deletes a static row | |
![]() |
Changes a static row's position | |
![]() |
![]() |
Position in sequence of static column anIdentifier |
![]() |
Position in sequence of static row anIdentifier |
Editing Support |
![]() |
Selects an item and invokes editor | |
![]() |
||
![]() |
Enables/disables editing. | |
![]() |
YES of the DBTableView is editable. |
Handling the Selection |
![]() |
Make selection list mode, radio mode, or none. | |
![]() |
Returns DB_NOSELECT/RADIOMODE/LISTMODE | |
![]() |
Allow/prohibit user to leave nothing selected | |
![]() |
YES if user may leave nothing selected | |
![]() |
Number of rows currently selected | |
![]() |
Number of columns currently selected | |
![]() |
The row number of the selected row | |
![]() |
The column number of the selected column | |
![]() |
YES if row is selected | |
![]() |
YES if column is selected | |
![]() |
Makes nothing selected. | |
![]() |
Makes all rows and columns selected. | |
![]() |
Sets block of rows to selected (YES) or deselected (NO) | |
![]() |
||
![]() |
||
![]() |
Sets block of columns to selected (YES) or deselected | |
![]() |
||
![]() |
||
![]() |
Selects row, or extends selection if flag is YES | |
![]() |
||
![]() |
Selects row, or extends selection if flag is YES | |
![]() |
||
![]() |
Deselects the indicated row | |
![]() |
Deselects the indicated column |
![]() |
Index of the first selected row after aRow |
![]() |
Index of the first selected column after aColumn |
![]() |
Sends anAction to anObject for each selected row; | |
![]() |
if YES, does it for each selected row | |
![]() |
||
![]() |
Sends anAction to anObject for each selected column; | |
![]() |
if YES, does it for each selected column | |
![]() |
Setting DBTableView Components |
![]() |
Returns the row heading view | |
![]() |
Makes newRowHeading the row heading view | |
![]() |
Makes the row heading visible or not | |
![]() |
Returns the column heading view | |
![]() |
Makes newColumnHeading the column heading view | |
![]() |
Makes the column heading visible or not |
Adjusting the View |
![]() |
Displays the DBTableView | |
![]() |
Sets aClip's origin to be newOrigin in the content view | |
![]() |
||
![]() |
YES if the content view's horizontal scroller is enabled | |
![]() |
Makes the content view's horizontal scroller visible or not | |
![]() |
YES if the content view's vertical scroller is visible | |
![]() |
Makes the content view's vertical scroller visible | |
![]() |
Recalculate positions of the component views and redraw | |
![]() |
Adjust the overall size to width and height, and redraw | |
![]() |
||
![]() |
Scroll the content so that row is visible in the scroll clip | |
![]() |
Scroll the content so that column is visible in the scroll clip | |
![]() |
YES if the DBTableView will handle keyboard events |
Transmitting Action |
![]() |
Makes aSelector the action in response to a click | |
![]() |
The action to be sent on a click | |
![]() |
Makes aSelector the action in response to a double click | |
![]() |
The action in response to a double click | |
![]() |
Makes anObject the target for an action message | |
![]() |
The target for an action message |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream | |
![]() |
Automatically invoked final step in unarchiving |
DBTextFormatter |
Inherits From: | DBFormatter : Object |
Initializing |
![]() |
Initializes a new DBTextFormatter instance | |
![]() |
Frees the space allocated to a DBTextFormatter. |
Manipulating Font |
![]() |
Returns the formatter's font | |
![]() |
Makes aFont the formatter's font |
Batching Format Requests |
![]() |
The format attrs applies to all following records | |
![]() |
Begins batching if not already in effect | |
![]() |
Completes sequence of records in same format |
Archiving |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |
DBValue |
Inherits From: | Object | |
Conforms To: | DBExpressionValues |
Creating and Freeing |
+ initialize | Initialize the class (sent by a subclass) | |
![]() |
Initialize a DBValue instance | |
![]() |
Free space formerly used by a DBValue instance |
Setting Values |
![]() |
Sets the object's value to aDouble | |
![]() |
Sets the object's value to aFloat | |
![]() |
Sets the object's value to anInt | |
![]() |
Sets the object's value to anObject | |
![]() |
Sets the object's value so that it points to anObject | |
![]() |
Sets the object's value to aString | |
![]() |
Sets the object's value so that it points to aString | |
![]() |
Sets the object's to have the same value as aValue | |
![]() |
Sets the object's value to NULL |
Reporting Values |
![]() |
Returns the type of value the object contains | |
![]() |
YEs if this object has same type and value as anotherValue | |
![]() |
Returns the object's value as a double | |
![]() |
Returns the object's value as a float | |
![]() |
Returns the object's value as an int | |
![]() |
Returns the object's value as an object | |
![]() |
Returns the object's value as a string | |
![]() |
YES if the object's value is NULL |
Archivingt |
![]() |
Creates an instance by reading from a typed stream | |
![]() |
Archives an instance by writing to a typed stream |