Up

NSOutlineView

Authors

Gregory John Casamento (greg_casamento@yahoo.com)
This class is a subclass of NSTableView which provides the user with a way to display tree structured data in an outline format. It is particularly useful for show hierarchical data such as a class inheritance tree or any other set of relationships.
NB. While it its illegal to have the same item in the view more than once, it is possible to have multiple equal items since tests for pointer equality are used rather than calls to the -isEqual: method.

Copyright: (C) 2001 Free Software Foundation, Inc.

Software documentation for the NSOutlineViewDelegate protocol

NSOutlineViewDelegate

Declared in:
AppKit/NSOutlineView.h
Availability: OpenStep

Description forthcoming.
Method summary

outlineView: dataCellForTableColumn: item: 

- (NSCell*) outlineView: (NSOutlineView*)outlineView dataCellForTableColumn: (NSTableColumn*)aTableColumn item: (id)item;
Availability: MacOS-X 10.5.0

Description forthcoming.

outlineView: didClickTableColumn: 

- (void) outlineView: (NSOutlineView*)outlineView didClickTableColumn: (NSTableColumn*)aTableColumn;
Availability: MacOS-X 10.3.0

Description forthcoming.

outlineView: shouldCollapseItem: 

- (BOOL) outlineView: (NSOutlineView*)outlineView shouldCollapseItem: (id)item;
Availability: OpenStep

Returns whether or not the specified item should be allowed to collapse.

outlineView: shouldEditTableColumn: item: 

- (BOOL) outlineView: (NSOutlineView*)outlineView shouldEditTableColumn: (NSTableColumn*)tableColumn item: (id)item;
Availability: OpenStep

Returns whether or not the given table column should be allowed to be edited.

outlineView: shouldExpandItem: 

- (BOOL) outlineView: (NSOutlineView*)outlineView shouldExpandItem: (id)item;
Availability: OpenStep

Returns whether or not the specified item should be expanded.

outlineView: shouldSelectItem: 

- (BOOL) outlineView: (NSOutlineView*)outlineView shouldSelectItem: (id)item;
Availability: OpenStep

Returns YES or NO depending on if the given item is selectable. If YES, the item is selected, otherwise the outline view will reject the selection.

outlineView: shouldSelectTableColumn: 

- (BOOL) outlineView: (NSOutlineView*)outlineView shouldSelectTableColumn: (NSTableColumn*)tableColumn;
Availability: OpenStep

Returns YES or NO depending on if the given table column is selectable according to the delegate. If NO is returned the outline view will not allow the selection, if YES it will allow the selection.

outlineView: willDisplayCell: forTableColumn: item: 

- (void) outlineView: (NSOutlineView*)outlineView willDisplayCell: (id)cell forTableColumn: (NSTableColumn*)tableColumn item: (id)item;
Availability: OpenStep

Called when the given cell is about to be displayed. This method is useful for making last second modifications to what will be shown.

outlineView: willDisplayOutlineCell: forTableColumn: item: 

- (void) outlineView: (NSOutlineView*)outlineView willDisplayOutlineCell: (id)cell forTableColumn: (NSTableColumn*)tableColumn item: (id)item;
Availability: OpenStep

Called when the given cell in the outline column is about to be displayed. This method is useful for making last second modifications to what will be shown.

outlineViewColumnDidMove: 

- (void) outlineViewColumnDidMove: (NSNotification*)aNotification;
Availability: OpenStep

Called after the column has moved.

outlineViewColumnDidResize: 

- (void) outlineViewColumnDidResize: (NSNotification*)aNotification;
Availability: OpenStep

Called after the view column is resized.

outlineViewItemDidCollapse: 

- (void) outlineViewItemDidCollapse: (NSNotification*)aNotification;
Availability: OpenStep

Called after the item has collapsed.

outlineViewItemDidExpand: 

- (void) outlineViewItemDidExpand: (NSNotification*)aNotification;
Availability: OpenStep

Called after the item has expanded

outlineViewItemWillCollapse: 

- (void) outlineViewItemWillCollapse: (NSNotification*)aNotification;
Availability: OpenStep

Called before the item has collapsed.

outlineViewItemWillExpand: 

- (void) outlineViewItemWillExpand: (NSNotification*)aNotification;
Availability: OpenStep

Called before the item is expanded.

outlineViewSelectionDidChange: 

- (void) outlineViewSelectionDidChange: (NSNotification*)aNotification;
Availability: OpenStep

Called when the selection has changed.

outlineViewSelectionIsChanging: 

- (void) outlineViewSelectionIsChanging: (NSNotification*)aNotification;
Availability: OpenStep

Called when the selection is about to change.

selectionShouldChangeInOutlineView: 

- (BOOL) selectionShouldChangeInOutlineView: (NSOutlineView*)outlineView;
Availability: OpenStep

Called before the selection is modified. This method should return YES if the selection is allowed and NO, if not.


Up