Trait NSTableViewDelegate

Source
pub unsafe trait NSTableViewDelegate: NSControlTextEditingDelegate {
Show 31 methods // Provided methods unsafe fn tableView_viewForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> Option<Retained<NSView>> where Self: Sized + Message { ... } unsafe fn tableView_rowViewForRow( &self, table_view: &NSTableView, row: NSInteger, ) -> Option<Retained<NSTableRowView>> where Self: Sized + Message { ... } unsafe fn tableView_didAddRowView_forRow( &self, table_view: &NSTableView, row_view: &NSTableRowView, row: NSInteger, ) where Self: Sized + Message { ... } unsafe fn tableView_didRemoveRowView_forRow( &self, table_view: &NSTableView, row_view: &NSTableRowView, row: NSInteger, ) where Self: Sized + Message { ... } unsafe fn tableView_willDisplayCell_forTableColumn_row( &self, table_view: &NSTableView, cell: &AnyObject, table_column: Option<&NSTableColumn>, row: NSInteger, ) where Self: Sized + Message { ... } unsafe fn tableView_shouldEditTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_toolTipForCell_rect_tableColumn_row_mouseLocation( &self, table_view: &NSTableView, cell: &NSCell, rect: NSRectPointer, table_column: Option<&NSTableColumn>, row: NSInteger, mouse_location: NSPoint, ) -> Retained<NSString> where Self: Sized + Message { ... } unsafe fn tableView_shouldShowCellExpansionForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_shouldTrackCell_forTableColumn_row( &self, table_view: &NSTableView, cell: &NSCell, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_dataCellForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> Option<Retained<NSCell>> where Self: Sized + Message { ... } unsafe fn selectionShouldChangeInTableView( &self, table_view: &NSTableView, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_shouldSelectRow( &self, table_view: &NSTableView, row: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_selectionIndexesForProposedSelection( &self, table_view: &NSTableView, proposed_selection_indexes: &NSIndexSet, ) -> Retained<NSIndexSet> where Self: Sized + Message { ... } unsafe fn tableView_shouldSelectTableColumn( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_mouseDownInHeaderOfTableColumn( &self, table_view: &NSTableView, table_column: &NSTableColumn, ) where Self: Sized + Message { ... } unsafe fn tableView_didClickTableColumn( &self, table_view: &NSTableView, table_column: &NSTableColumn, ) where Self: Sized + Message { ... } unsafe fn tableView_didDragTableColumn( &self, table_view: &NSTableView, table_column: &NSTableColumn, ) where Self: Sized + Message { ... } unsafe fn tableView_heightOfRow( &self, table_view: &NSTableView, row: NSInteger, ) -> CGFloat where Self: Sized + Message { ... } unsafe fn tableView_typeSelectStringForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> Option<Retained<NSString>> where Self: Sized + Message { ... } unsafe fn tableView_nextTypeSelectMatchFromRow_toRow_forString( &self, table_view: &NSTableView, start_row: NSInteger, end_row: NSInteger, search_string: &NSString, ) -> NSInteger where Self: Sized + Message { ... } unsafe fn tableView_shouldTypeSelectForEvent_withCurrentSearchString( &self, table_view: &NSTableView, event: &NSEvent, search_string: Option<&NSString>, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_isGroupRow( &self, table_view: &NSTableView, row: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_sizeToFitWidthOfColumn( &self, table_view: &NSTableView, column: NSInteger, ) -> CGFloat where Self: Sized + Message { ... } unsafe fn tableView_shouldReorderColumn_toColumn( &self, table_view: &NSTableView, column_index: NSInteger, new_column_index: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_rowActionsForRow_edge( &self, table_view: &NSTableView, row: NSInteger, edge: NSTableRowActionEdge, ) -> Retained<NSArray<NSTableViewRowAction>> where Self: Sized + Message { ... } unsafe fn tableView_userCanChangeVisibilityOfTableColumn( &self, table_view: &NSTableView, column: &NSTableColumn, ) -> bool where Self: Sized + Message { ... } unsafe fn tableView_userDidChangeVisibilityOfTableColumns( &self, table_view: &NSTableView, columns: &NSArray<NSTableColumn>, ) where Self: Sized + Message { ... } unsafe fn tableViewSelectionDidChange(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn tableViewColumnDidMove(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn tableViewColumnDidResize(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn tableViewSelectionIsChanging(&self, notification: &NSNotification) where Self: Sized + Message { ... }
}
Available on crate features NSControl and NSTableView only.
Expand description

Provided Methods§

Source

unsafe fn tableView_viewForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> Option<Retained<NSView>>
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_rowViewForRow( &self, table_view: &NSTableView, row: NSInteger, ) -> Option<Retained<NSTableRowView>>
where Self: Sized + Message,

Available on crate features NSResponder and NSTableRowView and NSView only.
Source

unsafe fn tableView_didAddRowView_forRow( &self, table_view: &NSTableView, row_view: &NSTableRowView, row: NSInteger, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableRowView and NSView only.
Source

unsafe fn tableView_didRemoveRowView_forRow( &self, table_view: &NSTableView, row_view: &NSTableRowView, row: NSInteger, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableRowView and NSView only.
Source

unsafe fn tableView_willDisplayCell_forTableColumn_row( &self, table_view: &NSTableView, cell: &AnyObject, table_column: Option<&NSTableColumn>, row: NSInteger, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_shouldEditTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_toolTipForCell_rect_tableColumn_row_mouseLocation( &self, table_view: &NSTableView, cell: &NSCell, rect: NSRectPointer, table_column: Option<&NSTableColumn>, row: NSInteger, mouse_location: NSPoint, ) -> Retained<NSString>
where Self: Sized + Message,

Available on crate features NSCell and NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_shouldShowCellExpansionForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_shouldTrackCell_forTableColumn_row( &self, table_view: &NSTableView, cell: &NSCell, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> bool
where Self: Sized + Message,

Available on crate features NSCell and NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_dataCellForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> Option<Retained<NSCell>>
where Self: Sized + Message,

Available on crate features NSCell and NSResponder and NSTableColumn and NSView only.
Source

unsafe fn selectionShouldChangeInTableView( &self, table_view: &NSTableView, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn tableView_shouldSelectRow( &self, table_view: &NSTableView, row: NSInteger, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn tableView_selectionIndexesForProposedSelection( &self, table_view: &NSTableView, proposed_selection_indexes: &NSIndexSet, ) -> Retained<NSIndexSet>
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn tableView_shouldSelectTableColumn( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_mouseDownInHeaderOfTableColumn( &self, table_view: &NSTableView, table_column: &NSTableColumn, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_didClickTableColumn( &self, table_view: &NSTableView, table_column: &NSTableColumn, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_didDragTableColumn( &self, table_view: &NSTableView, table_column: &NSTableColumn, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_heightOfRow( &self, table_view: &NSTableView, row: NSInteger, ) -> CGFloat
where Self: Sized + Message,

Available on crate features NSResponder and NSView and objc2-core-foundation only.
Source

unsafe fn tableView_typeSelectStringForTableColumn_row( &self, table_view: &NSTableView, table_column: Option<&NSTableColumn>, row: NSInteger, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_nextTypeSelectMatchFromRow_toRow_forString( &self, table_view: &NSTableView, start_row: NSInteger, end_row: NSInteger, search_string: &NSString, ) -> NSInteger
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn tableView_shouldTypeSelectForEvent_withCurrentSearchString( &self, table_view: &NSTableView, event: &NSEvent, search_string: Option<&NSString>, ) -> bool
where Self: Sized + Message,

Available on crate features NSEvent and NSResponder and NSView only.
Source

unsafe fn tableView_isGroupRow( &self, table_view: &NSTableView, row: NSInteger, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn tableView_sizeToFitWidthOfColumn( &self, table_view: &NSTableView, column: NSInteger, ) -> CGFloat
where Self: Sized + Message,

Available on crate features NSResponder and NSView and objc2-core-foundation only.
Source

unsafe fn tableView_shouldReorderColumn_toColumn( &self, table_view: &NSTableView, column_index: NSInteger, new_column_index: NSInteger, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
Source

unsafe fn tableView_rowActionsForRow_edge( &self, table_view: &NSTableView, row: NSInteger, edge: NSTableRowActionEdge, ) -> Retained<NSArray<NSTableViewRowAction>>
where Self: Sized + Message,

Available on crate features NSResponder and NSTableViewRowAction and NSView only.
Source

unsafe fn tableView_userCanChangeVisibilityOfTableColumn( &self, table_view: &NSTableView, column: &NSTableColumn, ) -> bool
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableView_userDidChangeVisibilityOfTableColumns( &self, table_view: &NSTableView, columns: &NSArray<NSTableColumn>, )
where Self: Sized + Message,

Available on crate features NSResponder and NSTableColumn and NSView only.
Source

unsafe fn tableViewSelectionDidChange(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn tableViewColumnDidMove(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn tableViewColumnDidResize(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn tableViewSelectionIsChanging(&self, notification: &NSNotification)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn NSTableViewDelegate

Source§

const NAME: &'static str = "NSTableViewDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn NSTableViewDelegate

Implementations on Foreign Types§

Source§

impl<T> NSTableViewDelegate for ProtocolObject<T>

Implementors§