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.
Copyright: (C) 2001 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSOutlineView.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Causes the outline column, the column containing the expand/collapse gadget, to resize based on the amount of space needed by widest content.
Causes the outline column, the column containing the expand/collapse gadget, to resize based on the amount of space needed by widest content.
Collapses the given item only. This is
the equivalent of calling
[NSOutlineView -collapseItem:collapseChildren:]
with NO
.
Collapses the specified item. If
collapseChildren is set to
YES
, then all of the expandable
children of this item all also
collapsed in a recursive fashion (i.e. all
children, grandchildren and etc).
Expands the given item only. This is the
equivalent of calling
[NSOutlineView -expandItem:expandChildren:]
with NO
.
Expands the specified item. If
expandChildren is set to YES
,
then all of the expandable children of this
item all also expanded in a recursive
fashion (i.e. all children, grandchildren and etc).
Returns whether or not the indentation marker or "knob" is indented along with the content inside the cell.
Returns the amount of indentation, in points, for each level of the tree represented by the outline view.
Returns YES
, if the item is
able to be expanded, NO
otherwise.
Returns YES
if the item is
expanded or open, NO
otherwise.
Returns the item at a given row.
Returns the level for a given item.
Returns the level for the given row.
Returns the outline table column.
Causes an item to be reloaded. This is
the equivalent of calling
[NSOutlineView -reloadItem:reloadChildren:]
with reloadChildren set to NO
.
Causes an item and all of it's children
to be reloaded if reloadChildren is set to
YES
, if it's set to NO
,
then only the item itself is refreshed from
the datasource.
Returns the corresponding row in the outline view for the given item.
When set to YES
this causes the outline
column, the column containing the expand/collapse
gadget, to resize based on the amount of
space needed by widest content.
When set to YES
, the outline view will
save the state of all expanded or collapsed items in
the view to the users defaults for the application the
outline view is running in.
Description forthcoming.
If set to YES
, the indentation marker will
follow the content at each level. Otherwise, the
indentation marker will remain at the left most
position of the view regardless of how many levels
in the content is indented.
Sets the amount, in points, that each level is to be indented by.
Sets the outline table column in which to place the indentation marker.
Returns YES
, by default. Subclasses
should override this method if a different behaviour
is required.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
- Declared in:
- AppKit/NSOutlineView.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Informal protocol NSOutlineViewDataSource
Method summaryReturns whether or not the outline view should accept a drop into the indicated item.
Implementation of this method is required. Returns the child at the specified index for the given item.
This is a required method. Returns whether or not the outline view item specified is expandable or not.
Returns the item for the given persistent object.
Description forthcoming.
This is a required method. Returns the object corresponding to the item representing it in the outline view.
Returns the persistent object for the item specified.
Sets the object value of the given item in the given table column to the object provided.
Used by the Drag and Drop system. Returns the drap operations which was performed on the given outline view.
Causes the outline view to write the specified items to the pastboard.
- Declared in:
- AppKit/NSOutlineView.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Method summaryReturns whether or not the specified item should be allowed to collapse.
Returns whether or not the given table column should be allowed to be edited.
Returns whether or not the specified item should be expanded.
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.
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.
Called when the given cell is about to be displayed. This method is useful for making last second modifications to what will be shown.
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.
Called after the column has moved.
Called after the view column is resized.
Called after the item has collapsed.
Called after the item has expanded
Called before the item has collapsed.
Called before the item is expanded.
Called when the selection has changed.
Called when the selection is about to change.
Called before the selection is modified. This method
should return YES
if the selection is
allowed and NO
, if not.