Up
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.
- Declared in:
- AppKit/NSOutlineView.h
Availability: OpenStep
Description forthcoming.
Method summary
- (NSCell*)
outlineView: (NSOutlineView*)outlineView
dataCellForTableColumn: (NSTableColumn*)aTableColumn
item: (id)item;
Availability: MacOS-X 10.5.0
Description forthcoming.
- (void)
outlineView: (NSOutlineView*)outlineView
didClickTableColumn: (NSTableColumn*)aTableColumn;
Availability: MacOS-X 10.3.0
Description forthcoming.
- (BOOL)
outlineView: (NSOutlineView*)outlineView
shouldCollapseItem: (id)item;
Availability: OpenStep
Returns whether or not the specified
item should be allowed to collapse.
- (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.
- (BOOL)
outlineView: (NSOutlineView*)outlineView
shouldExpandItem: (id)item;
Availability: OpenStep
Returns whether or not the specified
item should be expanded.
- (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.
- (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.
- (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.
- (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.
- (void)
outlineViewColumnDidMove: (NSNotification*)aNotification;
Availability: OpenStep
Called after the column has moved.
- (void)
outlineViewColumnDidResize: (NSNotification*)aNotification;
Availability: OpenStep
Called after the view column is resized.
- (void)
outlineViewItemDidCollapse: (NSNotification*)aNotification;
Availability: OpenStep
Called after the item has collapsed.
- (void)
outlineViewItemDidExpand: (NSNotification*)aNotification;
Availability: OpenStep
Called after the item has expanded
- (void)
outlineViewItemWillCollapse: (NSNotification*)aNotification;
Availability: OpenStep
Called before the item has collapsed.
- (void)
outlineViewItemWillExpand: (NSNotification*)aNotification;
Availability: OpenStep
Called before the item is expanded.
- (void)
outlineViewSelectionDidChange: (NSNotification*)aNotification;
Availability: OpenStep
Called when the selection has changed.
- (void)
outlineViewSelectionIsChanging: (NSNotification*)aNotification;
Availability: OpenStep
Called when the selection is about to change.
- (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