NSTableViewDataSource class interface

NSTableViewDataSource

Constructors

NSTableViewDataSource.castFrom(ObjCObjectBase other)
Constructs a NSTableViewDataSource that points to the same underlying object as other.
NSTableViewDataSource.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSTableViewDataSource that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
numberOfRowsInTableView_ → ObjCProtocolMethod<DartNSInteger Function(NSTableView)>
numberOfRowsInTableView:
final
tableView_acceptDrop_row_dropOperation_ → ObjCProtocolMethod<bool Function(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)>
tableView:acceptDrop:row:dropOperation:
final
tableView_draggingSession_endedAtPoint_operation_ → ObjCProtocolListenableMethod<void Function(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)>
tableView:draggingSession:endedAtPoint:operation:
final
tableView_draggingSession_willBeginAtPoint_forRowIndexes_ → ObjCProtocolListenableMethod<void Function(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)>
tableView:draggingSession:willBeginAtPoint:forRowIndexes:
final
tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_ → ObjCProtocolMethod<NSArray Function(NSTableView, NSURL, NSIndexSet)>
tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:
final
tableView_objectValueForTableColumn_row_ → ObjCProtocolMethod<ObjCObjectBase? Function(NSTableView, NSTableColumn?, DartNSInteger)>
tableView:objectValueForTableColumn:row:
final
tableView_pasteboardWriterForRow_ → ObjCProtocolMethod<NSPasteboardWriting? Function(NSTableView, DartNSInteger)>
tableView:pasteboardWriterForRow:
final
tableView_setObjectValue_forTableColumn_row_ → ObjCProtocolListenableMethod<void Function(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)>
tableView:setObjectValue:forTableColumn:row:
final
tableView_sortDescriptorsDidChange_ → ObjCProtocolListenableMethod<void Function(NSTableView, NSArray)>
tableView:sortDescriptorsDidChange:
final
tableView_updateDraggingItemsForDrag_ → ObjCProtocolListenableMethod<void Function(NSTableView, NSDraggingInfo)>
tableView:updateDraggingItemsForDrag:
final
tableView_validateDrop_proposedRow_proposedDropOperation_ → ObjCProtocolMethod<NSDragOperation Function(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)>
tableView:validateDrop:proposedRow:proposedDropOperation:
final
tableView_writeRowsWithIndexes_toPasteboard_ → ObjCProtocolMethod<bool Function(NSTableView, NSIndexSet, NSPasteboard)>
tableView:writeRowsWithIndexes:toPasteboard:
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {DartNSInteger numberOfRowsInTableView_(NSTableView)?, ObjCObjectBase? tableView_objectValueForTableColumn_row_(NSTableView, NSTableColumn?, DartNSInteger)?, void tableView_setObjectValue_forTableColumn_row_(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)?, void tableView_sortDescriptorsDidChange_(NSTableView, NSArray)?, NSPasteboardWriting? tableView_pasteboardWriterForRow_(NSTableView, DartNSInteger)?, void tableView_draggingSession_willBeginAtPoint_forRowIndexes_(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)?, void tableView_draggingSession_endedAtPoint_operation_(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)?, void tableView_updateDraggingItemsForDrag_(NSTableView, NSDraggingInfo)?, bool tableView_writeRowsWithIndexes_toPasteboard_(NSTableView, NSIndexSet, NSPasteboard)?, NSDragOperation tableView_validateDrop_proposedRow_proposedDropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, bool tableView_acceptDrop_row_dropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, NSArray tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_(NSTableView, NSURL, NSIndexSet)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTableViewDataSource protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {DartNSInteger numberOfRowsInTableView_(NSTableView)?, ObjCObjectBase? tableView_objectValueForTableColumn_row_(NSTableView, NSTableColumn?, DartNSInteger)?, void tableView_setObjectValue_forTableColumn_row_(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)?, void tableView_sortDescriptorsDidChange_(NSTableView, NSArray)?, NSPasteboardWriting? tableView_pasteboardWriterForRow_(NSTableView, DartNSInteger)?, void tableView_draggingSession_willBeginAtPoint_forRowIndexes_(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)?, void tableView_draggingSession_endedAtPoint_operation_(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)?, void tableView_updateDraggingItemsForDrag_(NSTableView, NSDraggingInfo)?, bool tableView_writeRowsWithIndexes_toPasteboard_(NSTableView, NSIndexSet, NSPasteboard)?, NSDragOperation tableView_validateDrop_proposedRow_proposedDropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, bool tableView_acceptDrop_row_dropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, NSArray tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_(NSTableView, NSURL, NSIndexSet)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTableViewDataSource protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {DartNSInteger numberOfRowsInTableView_(NSTableView)?, ObjCObjectBase? tableView_objectValueForTableColumn_row_(NSTableView, NSTableColumn?, DartNSInteger)?, void tableView_setObjectValue_forTableColumn_row_(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)?, void tableView_sortDescriptorsDidChange_(NSTableView, NSArray)?, NSPasteboardWriting? tableView_pasteboardWriterForRow_(NSTableView, DartNSInteger)?, void tableView_draggingSession_willBeginAtPoint_forRowIndexes_(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)?, void tableView_draggingSession_endedAtPoint_operation_(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)?, void tableView_updateDraggingItemsForDrag_(NSTableView, NSDraggingInfo)?, bool tableView_writeRowsWithIndexes_toPasteboard_(NSTableView, NSIndexSet, NSPasteboard)?, NSDragOperation tableView_validateDrop_proposedRow_proposedDropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, bool tableView_acceptDrop_row_dropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, NSArray tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_(NSTableView, NSURL, NSIndexSet)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSTableViewDataSource protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSTableViewDataSource.
implement({DartNSInteger numberOfRowsInTableView_(NSTableView)?, ObjCObjectBase? tableView_objectValueForTableColumn_row_(NSTableView, NSTableColumn?, DartNSInteger)?, void tableView_setObjectValue_forTableColumn_row_(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)?, void tableView_sortDescriptorsDidChange_(NSTableView, NSArray)?, NSPasteboardWriting? tableView_pasteboardWriterForRow_(NSTableView, DartNSInteger)?, void tableView_draggingSession_willBeginAtPoint_forRowIndexes_(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)?, void tableView_draggingSession_endedAtPoint_operation_(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)?, void tableView_updateDraggingItemsForDrag_(NSTableView, NSDraggingInfo)?, bool tableView_writeRowsWithIndexes_toPasteboard_(NSTableView, NSIndexSet, NSPasteboard)?, NSDragOperation tableView_validateDrop_proposedRow_proposedDropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, bool tableView_acceptDrop_row_dropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, NSArray tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_(NSTableView, NSURL, NSIndexSet)?, bool $keepIsolateAlive = true}) → NSTableViewDataSource
Builds an object that implements the NSTableViewDataSource protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({DartNSInteger numberOfRowsInTableView_(NSTableView)?, ObjCObjectBase? tableView_objectValueForTableColumn_row_(NSTableView, NSTableColumn?, DartNSInteger)?, void tableView_setObjectValue_forTableColumn_row_(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)?, void tableView_sortDescriptorsDidChange_(NSTableView, NSArray)?, NSPasteboardWriting? tableView_pasteboardWriterForRow_(NSTableView, DartNSInteger)?, void tableView_draggingSession_willBeginAtPoint_forRowIndexes_(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)?, void tableView_draggingSession_endedAtPoint_operation_(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)?, void tableView_updateDraggingItemsForDrag_(NSTableView, NSDraggingInfo)?, bool tableView_writeRowsWithIndexes_toPasteboard_(NSTableView, NSIndexSet, NSPasteboard)?, NSDragOperation tableView_validateDrop_proposedRow_proposedDropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, bool tableView_acceptDrop_row_dropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, NSArray tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_(NSTableView, NSURL, NSIndexSet)?, bool $keepIsolateAlive = true}) → NSTableViewDataSource
Builds an object that implements the NSTableViewDataSource protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({DartNSInteger numberOfRowsInTableView_(NSTableView)?, ObjCObjectBase? tableView_objectValueForTableColumn_row_(NSTableView, NSTableColumn?, DartNSInteger)?, void tableView_setObjectValue_forTableColumn_row_(NSTableView, ObjCObjectBase?, NSTableColumn?, DartNSInteger)?, void tableView_sortDescriptorsDidChange_(NSTableView, NSArray)?, NSPasteboardWriting? tableView_pasteboardWriterForRow_(NSTableView, DartNSInteger)?, void tableView_draggingSession_willBeginAtPoint_forRowIndexes_(NSTableView, NSDraggingSession, NSPoint, NSIndexSet)?, void tableView_draggingSession_endedAtPoint_operation_(NSTableView, NSDraggingSession, NSPoint, NSDragOperation)?, void tableView_updateDraggingItemsForDrag_(NSTableView, NSDraggingInfo)?, bool tableView_writeRowsWithIndexes_toPasteboard_(NSTableView, NSIndexSet, NSPasteboard)?, NSDragOperation tableView_validateDrop_proposedRow_proposedDropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, bool tableView_acceptDrop_row_dropOperation_(NSTableView, NSDraggingInfo, DartNSInteger, NSTableViewDropOperation)?, NSArray tableView_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_(NSTableView, NSURL, NSIndexSet)?, bool $keepIsolateAlive = true}) → NSTableViewDataSource
Builds an object that implements the NSTableViewDataSource protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.