Up

# NSOutlineView

### Authors

Gregory John Casamento (`greg_casamento@yahoo.com`)

> The outline class.

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

### Contents -

1. Software documentation for the NSOutlineView class
2. Software documentation for the NSObject(NSOutlineViewDataSource) informal protocol
3. Software documentation for the NSObject(NSOutlineViewDelegate) informal protocol

# Software documentation for the NSOutlineView class

## NSOutlineView : NSTableView

> Declared in:
>   AppKit/NSOutlineView.h

> Standards:
> - MacOS-X
> - OpenStep
> - GNUstep

Description forthcoming.

Method summary

- -autoResizesOutlineColumn
- -autosaveExpandedItems
- -collapseItem:
- -collapseItem:collapseChildren:
- -expandItem:
- -expandItem:expandChildren:
- -indentationMarkerFollowsCell
- -indentationPerLevel
- -isExpandable:
- -isItemExpanded:
- -itemAtRow:
- -levelForItem:
- -levelForRow:
- -outlineTableColumn
- -reloadItem:
- -reloadItem:reloadChildren:
- -rowForItem:
- -setAutoresizesOutlineColumn:
- -setAutosaveExpandedItems:
- -setDropItem:dropChildIndex:
- -setIndentationMarkerFollowsCell:
- -setIndentationPerLevel:
- -setOutlineTableColumn:
- -shouldCollapseAutoExpandedItemsForDeposited:

### autoResizesOutlineColumn

- (BOOL) autoResizesOutlineColumn;

Description forthcoming.

### autosaveExpandedItems

- (BOOL) autosaveExpandedItems;

Description forthcoming.

### collapseItem:

- (void) collapseItem: (id)item;

Description forthcoming.

### collapseItem:collapseChildren:

- (void) collapseItem: (id)item collapseChildren: (BOOL)collapseChildren;

Description forthcoming.

### expandItem:

- (void) expandItem: (id)item;

Description forthcoming.

### expandItem:expandChildren:

- (void) expandItem: (id)item expandChildren: (BOOL)expandChildren;

Description forthcoming.

### indentationMarkerFollowsCell

- (BOOL) indentationMarkerFollowsCell;

Description forthcoming.

### indentationPerLevel

- (float) indentationPerLevel;

Description forthcoming.

### isExpandable:

- (BOOL) isExpandable: (id)item;

Description forthcoming.

### isItemExpanded:

- (BOOL) isItemExpanded: (id)item;

Description forthcoming.

### itemAtRow:

- (id) itemAtRow: (int)row;

Description forthcoming.

### levelForItem:

- (int) levelForItem: (id)item;

Description forthcoming.

### levelForRow:

- (int) levelForRow: (int)row;

Description forthcoming.

### outlineTableColumn

- (NSTableColumn*) outlineTableColumn;

Description forthcoming.

### reloadItem:

- (void) reloadItem: (id)item;

Description forthcoming.

### reloadItem:reloadChildren:

- (void) reloadItem: (id)item reloadChildren: (BOOL)reloadChildren;

Description forthcoming.

### rowForItem:

- (int) rowForItem: (id)item;

Description forthcoming.

### setAutoresizesOutlineColumn:

- (void) setAutoresizesOutlineColumn: (BOOL)resize;

Description forthcoming.

### setAutosaveExpandedItems:

- (void) setAutosaveExpandedItems: (BOOL)flag;

Description forthcoming.

### setDropItem:dropChildIndex:

- (void) setDropItem: (id)item dropChildIndex: (int)childIndex;

Description forthcoming.

### setIndentationMarkerFollowsCell:

- (void) setIndentationMarkerFollowsCell: (BOOL)followsCell;

Description forthcoming.

### setIndentationPerLevel:

- (void) setIndentationPerLevel: (float)newIndentLevel;

Description forthcoming.

### setOutlineTableColumn:

- (void) setOutlineTableColumn: (NSTableColumn*)outlineTableColumn;

Description forthcoming.

### shouldCollapseAutoExpandedItemsForDeposited:

- (BOOL) shouldCollapseAutoExpandedItemsForDeposited: (BOOL)deposited;

Description forthcoming.

# Software documentation for the NSObject(NSOutlineViewDataSource) informal protocol

## NSObject(NSOutlineViewDataSource)

> Declared in:
>   AppKit/NSOutlineView.h

> Standards:
> - MacOS-X
> - OpenStep
> - GNUstep

Description forthcoming.

Method summary

- -outlineView:acceptDrop:item:childIndex:
- -outlineView:child:ofItem:
- -outlineView:isItemExpandable:
- -outlineView:itemForPersistentObject:
- -outlineView:numberOfChildrenOfItem:
- -outlineView:objectValueForTableColumn:byItem:
- -outlineView:persistentObjectForItem:
- -outlineView:setObjectValue:forTableColumn:byItem:
- -outlineView:validateDrop:proposedItem:proposedChildIndex:
- -outlineView:writeItems:toPasteboard:

### outlineView:acceptDrop:item:childIndex:

- (BOOL) outlineView: (NSOutlineView*)outlineView acceptDrop: (id<NSDraggingInfo>)info item: (id)item childIndex: (int)index;

Description forthcoming.

### outlineView:child:ofItem:

- (id) outlineView: (NSOutlineView*)outlineView child: (int)index ofItem: (id)item;

Description forthcoming.

### outlineView:isItemExpandable:

- (BOOL) outlineView: (NSOutlineView*)outlineView isItemExpandable: (id)item;

Description forthcoming.

### outlineView:itemForPersistentObject:

- (id) outlineView: (NSOutlineView*)outlineView itemForPersistentObject: (id)object;

Description forthcoming.

### outlineView:numberOfChildrenOfItem:

- (int) outlineView: (NSOutlineView*)outlineView numberOfChildrenOfItem: (id)item;

Description forthcoming.

### outlineView:objectValueForTableColumn:byItem:

- (id) outlineView: (NSOutlineView*)outlineView objectValueForTableColumn: (NSTableColumn*)tableColumn byItem: (id)item;

Description forthcoming.

### outlineView:persistentObjectForItem:

- (id) outlineView: (NSOutlineView*)outlineView persistentObjectForItem: (id)item;

Description forthcoming.

### outlineView:setObjectValue:forTableColumn:byItem:

- (void) outlineView: (NSOutlineView*)outlineView setObjectValue: (id)object forTableColumn: (NSTableColumn*)tableColumn byItem: (id)item;

Description forthcoming.

### outlineView:validateDrop:proposedItem:proposedChildIndex:

- (NSDragOperation) outlineView: (NSOutlineView*)outlineView validateDrop: (id<NSDraggingInfo>)info proposedItem: (id)item proposedChildIndex: (int)index;

Description forthcoming.

### outlineView:writeItems:toPasteboard:

- (BOOL) outlineView: (NSOutlineView*)outlineView writeItems: (NSArray*)items toPasteboard: (NSPasteboard*)pboard;

Description forthcoming.

# Software documentation for the NSObject(NSOutlineViewDelegate) informal protocol

## NSObject(NSOutlineViewDelegate)

> Declared in:
>   AppKit/NSOutlineView.h

> Standards:
> - MacOS-X
> - OpenStep
> - GNUstep

Description forthcoming.

Method summary

- -outlineView:shouldCollapseItem:
- -outlineView:shouldEditTableColumn:item:
- -outlineView:shouldExpandItem:
- -outlineView:shouldSelectItem:
- -outlineView:shouldSelectTableColumn:
- -outlineView:willDisplayCell:forTableColumn:item:
- -outlineView:willDisplayOutlineCell:forTableColumn:item:
- -outlineViewColumnDidMove:
- -outlineViewColumnDidResize:
- -outlineViewItemDidCollapse:
- -outlineViewItemDidExpand:
- -outlineViewItemWillCollapse:
- -outlineViewItemWillExpand:
- -outlineViewSelectionDidChange:
- -outlineViewSelectionIsChanging:
- -selectionShouldChangeInOutlineView:

### outlineView:shouldCollapseItem:

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

Description forthcoming.

### outlineView:shouldEditTableColumn:item:

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

Description forthcoming.

### outlineView:shouldExpandItem:

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

Description forthcoming.

### outlineView:shouldSelectItem:

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

Description forthcoming.

### outlineView:shouldSelectTableColumn:

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

Description forthcoming.

### outlineView:willDisplayCell:forTableColumn:item:

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

Description forthcoming.

### outlineView:willDisplayOutlineCell:forTableColumn:item:

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

Description forthcoming.

### outlineViewColumnDidMove:

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

Description forthcoming.

### outlineViewColumnDidResize:

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

Description forthcoming.

### outlineViewItemDidCollapse:

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

Description forthcoming.

### outlineViewItemDidExpand:

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

Description forthcoming.

### outlineViewItemWillCollapse:

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

Description forthcoming.

### outlineViewItemWillExpand:

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

Description forthcoming.

### outlineViewSelectionDidChange:

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

Description forthcoming.

### outlineViewSelectionIsChanging:

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

Description forthcoming.

### selectionShouldChangeInOutlineView:

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

Description forthcoming.

Up