1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- { Parsed from AppKit.framework NSTreeController.h }
- {$ifdef TYPES}
- type
- NSTreeControllerPtr = ^NSTreeController;
- {$endif}
- {$ifdef CLASSES}
- type
- NSTreeController = objcclass external (NSObjectController)
- private
- _treeControllerReserved1: id;
- _modelObservingKeyPaths: NSArray;
- _treeStructureObservers: id;
- _arrangedObjects: id;
- _rootNode: id;
- _selectionIndexPaths: id;
- _treeControllerFlags: bitpacked record
- case byte of
- 0: (_anonBitField__treeControllerFlags0: cuint);
- 1: (
- _avoidsEmptySelection: 0..1;
- _preservesSelection: 0..1;
- _selectsInsertedObjects: 0..1;
- _explicitlyCannotInsert: 0..1;
- _explicitlyCannotInsertChild: 0..1;
- _explicitlyCannotAddChild: 0..1;
- _alwaysUsesMultipleValuesMarker: 0..1;
- _observingThroughArrangedObjects: 0..1;
- _mutatingNodes: 0..1;
- _performingFetch: 0..1;
- _skipSortingAfterFetch: 0..1;
- _usesIdenticalComparisonOfModelObjects: 0..1;
- _reservedTreeController: 0..((1 shl 20)-1);
- );
- end;
- _selectedObjects: NSArray;
- _childrenKeyPath: NSString;
- _countKeyPath: NSString;
- _leafKeyPath: NSString;
- _sortDescriptors: NSArray;
- public
- procedure rearrangeObjects; message 'rearrangeObjects';
- function arrangedObjects: id; message 'arrangedObjects';
- procedure setChildrenKeyPath(newValue: NSString); message 'setChildrenKeyPath:';
- function childrenKeyPath: NSString; message 'childrenKeyPath';
- procedure setCountKeyPath(newValue: NSString); message 'setCountKeyPath:';
- function countKeyPath: NSString; message 'countKeyPath';
- procedure setLeafKeyPath(newValue: NSString); message 'setLeafKeyPath:';
- function leafKeyPath: NSString; message 'leafKeyPath';
- procedure setSortDescriptors(newValue: NSArray); message 'setSortDescriptors:';
- function sortDescriptors: NSArray; message 'sortDescriptors';
- procedure setContent(newValue: id); message 'setContent:';
- function content: id; message 'content';
- procedure add (sender: id); message 'add:';
- procedure remove (sender: id); message 'remove:';
- procedure addChild (sender: id); message 'addChild:';
- procedure insert (sender: id); message 'insert:';
- procedure insertChild (sender: id); message 'insertChild:';
- function canInsert: ObjCBOOL; message 'canInsert';
- function canInsertChild: ObjCBOOL; message 'canInsertChild';
- function canAddChild: ObjCBOOL; message 'canAddChild';
- procedure insertObject_atArrangedObjectIndexPath (object_: id; indexPath: NSIndexPath); message 'insertObject:atArrangedObjectIndexPath:';
- procedure insertObjects_atArrangedObjectIndexPaths (objects: NSArray; indexPaths: NSArray); message 'insertObjects:atArrangedObjectIndexPaths:';
- procedure removeObjectAtArrangedObjectIndexPath (indexPath: NSIndexPath); message 'removeObjectAtArrangedObjectIndexPath:';
- procedure removeObjectsAtArrangedObjectIndexPaths (indexPaths: NSArray); message 'removeObjectsAtArrangedObjectIndexPaths:';
- procedure setAvoidsEmptySelection(newValue: ObjCBOOL); message 'setAvoidsEmptySelection:';
- function avoidsEmptySelection: ObjCBOOL; message 'avoidsEmptySelection';
- procedure setPreservesSelection(newValue: ObjCBOOL); message 'setPreservesSelection:';
- function preservesSelection: ObjCBOOL; message 'preservesSelection';
- procedure setSelectsInsertedObjects(newValue: ObjCBOOL); message 'setSelectsInsertedObjects:';
- function selectsInsertedObjects: ObjCBOOL; message 'selectsInsertedObjects';
- procedure setAlwaysUsesMultipleValuesMarker(newValue: ObjCBOOL); message 'setAlwaysUsesMultipleValuesMarker:';
- function alwaysUsesMultipleValuesMarker: ObjCBOOL; message 'alwaysUsesMultipleValuesMarker';
- function selectedObjects: NSArray; message 'selectedObjects';
- function setSelectionIndexPaths (indexPaths: NSArray): ObjCBOOL; message 'setSelectionIndexPaths:';
- function selectionIndexPaths: NSArray; message 'selectionIndexPaths';
- function setSelectionIndexPath (indexPath: NSIndexPath): ObjCBOOL; message 'setSelectionIndexPath:';
- function selectionIndexPath: NSIndexPath; message 'selectionIndexPath';
- function addSelectionIndexPaths (indexPaths: NSArray): ObjCBOOL; message 'addSelectionIndexPaths:';
- function removeSelectionIndexPaths (indexPaths: NSArray): ObjCBOOL; message 'removeSelectionIndexPaths:';
- function selectedNodes: NSArray; message 'selectedNodes';
- procedure moveNode_toIndexPath (node: NSTreeNode; indexPath: NSIndexPath); message 'moveNode:toIndexPath:'; { available in 10_5 }
- procedure moveNodes_toIndexPath (nodes: NSArray; startingIndexPath: NSIndexPath); message 'moveNodes:toIndexPath:'; { available in 10_5 }
- function childrenKeyPathForNode (node: NSTreeNode): NSString; message 'childrenKeyPathForNode:'; { available in 10_5 }
- function countKeyPathForNode (node: NSTreeNode): NSString; message 'countKeyPathForNode:'; { available in 10_5 }
- function leafKeyPathForNode (node: NSTreeNode): NSString; message 'leafKeyPathForNode:'; { available in 10_5 }
- end;
- {$endif}
|