May 2003
Intermediate to advanced
566 pages
27h 29m
English
NSOutlineView — Mac OS X 10.0
This subclass of NSTableView implements a user
interface component that can display hierarchical data (such as how a
filesystem structure is displayed in the Finder’s
list view). In an NSOutlineView, users can expand
and collapse rows, change the width and order of columns, and edit
the contents of the outline. NSOutlineView
objects rely on classes that implement the
NSOutlineViewDataSource protocol to provide the
data to be displayed in the outline.
|
|
@interface NSOutlineView : NSTableView
|
// Accessor Methods
|
- (void)setAutosaveExpandedItems:(BOOL)save; |
- (BOOL)autosaveExpandedItems;
|
- (void)setAutoresizesOutlineColumn:(BOOL)resize; |
- (BOOL)autoresizesOutlineColumn;
|
- (void)setIndentationPerLevel:(float)indentationPerLevel; |
- (float)indentationPerLevel;
|
- (void)setDropItem:(id)item dropChildIndex:(int)index; |
- (void)setIndentationMarkerFollowsCell:(BOOL)drawInCell; |
- (BOOL)indentationMarkerFollowsCell;
|
- (void)setOutlineTableColumn:(NSTableColumn *)outlineTableColumn; |
- (NSTableColumn *)outlineTableColumn;
|
// Instance Methods
|
- (void)collapseItem:(id)item; |
- (void)collapseItem:(id)item collapseChildren:(BOOL)collapseChildren; |
- (void)expandItem:(id)item; |
- (void)expandItem:(id)item expandChildren:(BOOL)expandChildren; |
- (BOOL)isExpandable:(id)item; |
- (BOOL)isItemExpanded:(id)item; |
- (id)itemAtRow ... |
Read now
Unlock full access