RTRowNavigator


Inherits From:
NSView
Declared In:
RTRowNavigator.h


Class Description

RTRowNavigator is a graphical object that allows a user to navigate through an editable data source. It provides buttons to move to the first, last, next, and previous row. It also displays the count of rows in the data source and the index of the current record.


Method Types

- initWithFrame:
- initWithCoder:
- editableDataSource
- setEditableDataSource:
- nextRow:
- previousRow:
- firstRow:
- lastRow:
- updateButtons:

Instance Methods

editableDataSource

- (RTEditableDataSource *)editableDataSource

Returns the data source used by this navigator


firstRow:

- (IBAction)firstRow:(id)sender

Tells the editable data source to move to the first row


initWithCoder:

- (id)initWithCoder:(NSCoder*)coder

Initializer used when unarchving from a nib.


initWithFrame:

- (id)initWithFrame:(NSRect)frame

Designated initializer


lastRow:

- (IBAction)lastRow:(id)sender

Tells the editable data source to move to the last row


nextRow:

- (IBAction)nextRow:(id)sender

Tells the editable data source to move to the next row


previousRow:

- (IBAction)previousRow:(id)sender

Tells the editable data source to move to the previous row


setEditableDataSource:

- (void)setEditableDataSource:(RTEditableDataSource *)source

Sets the data source used by this navigator.


updateButtons:

- (void)updateButtons:(NSNotification*)note

No method description.


Copyright ©2006 by Runtime Labs, Inc.. All Rights Reserved.