NSOutlineViewDelegate

Trait NSOutlineViewDelegate 

Source
pub unsafe trait NSOutlineViewDelegate: NSControlTextEditingDelegate + MainThreadOnly {
Show 39 methods // Provided methods unsafe fn outlineView_viewForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSView>> where Self: Sized + Message { ... } unsafe fn outlineView_rowViewForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> Option<Retained<NSTableRowView>> where Self: Sized + Message { ... } unsafe fn outlineView_didAddRowView_forRow( &self, outline_view: &NSOutlineView, row_view: &NSTableRowView, row: NSInteger, ) where Self: Sized + Message { ... } unsafe fn outlineView_didRemoveRowView_forRow( &self, outline_view: &NSOutlineView, row_view: &NSTableRowView, row: NSInteger, ) where Self: Sized + Message { ... } unsafe fn outlineView_willDisplayCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &AnyObject, table_column: Option<&NSTableColumn>, item: &AnyObject, ) where Self: Sized + Message { ... } unsafe fn outlineView_shouldEditTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn selectionShouldChangeInOutlineView( &self, outline_view: &NSOutlineView, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_shouldSelectItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_selectionIndexesForProposedSelection( &self, outline_view: &NSOutlineView, proposed_selection_indexes: &NSIndexSet, ) -> Retained<NSIndexSet> where Self: Sized + Message { ... } unsafe fn outlineView_shouldSelectTableColumn( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_mouseDownInHeaderOfTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, ) where Self: Sized + Message { ... } unsafe fn outlineView_didClickTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, ) where Self: Sized + Message { ... } unsafe fn outlineView_didDragTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, ) where Self: Sized + Message { ... } unsafe fn outlineView_toolTipForCell_rect_tableColumn_item_mouseLocation( &self, outline_view: &NSOutlineView, cell: &NSCell, rect: NSRectPointer, table_column: Option<&NSTableColumn>, item: &AnyObject, mouse_location: NSPoint, ) -> Retained<NSString> where Self: Sized + Message { ... } unsafe fn outlineView_heightOfRowByItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> CGFloat where Self: Sized + Message { ... } unsafe fn outlineView_tintConfigurationForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> Option<Retained<NSTintConfiguration>> where Self: Sized + Message { ... } unsafe fn outlineView_typeSelectStringForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSString>> where Self: Sized + Message { ... } unsafe fn outlineView_nextTypeSelectMatchFromItem_toItem_forString( &self, outline_view: &NSOutlineView, start_item: &AnyObject, end_item: &AnyObject, search_string: &NSString, ) -> Option<Retained<AnyObject>> where Self: Sized + Message { ... } unsafe fn outlineView_shouldTypeSelectForEvent_withCurrentSearchString( &self, outline_view: &NSOutlineView, event: &NSEvent, search_string: Option<&NSString>, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_shouldShowCellExpansionForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_shouldTrackCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &NSCell, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_dataCellForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSCell>> where Self: Sized + Message { ... } unsafe fn outlineView_isGroupItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_shouldExpandItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_shouldCollapseItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_willDisplayOutlineCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &AnyObject, table_column: Option<&NSTableColumn>, item: &AnyObject, ) where Self: Sized + Message { ... } unsafe fn outlineView_sizeToFitWidthOfColumn( &self, outline_view: &NSOutlineView, column: NSInteger, ) -> CGFloat where Self: Sized + Message { ... } unsafe fn outlineView_shouldReorderColumn_toColumn( &self, outline_view: &NSOutlineView, column_index: NSInteger, new_column_index: NSInteger, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_shouldShowOutlineCellForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_userCanChangeVisibilityOfTableColumn( &self, outline_view: &NSOutlineView, column: &NSTableColumn, ) -> bool where Self: Sized + Message { ... } unsafe fn outlineView_userDidChangeVisibilityOfTableColumns( &self, outline_view: &NSOutlineView, columns: &NSArray<NSTableColumn>, ) where Self: Sized + Message { ... } unsafe fn outlineViewSelectionDidChange( &self, notification: &NSNotification, ) where Self: Sized + Message { ... } unsafe fn outlineViewColumnDidMove(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn outlineViewColumnDidResize(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn outlineViewSelectionIsChanging( &self, notification: &NSNotification, ) where Self: Sized + Message { ... } unsafe fn outlineViewItemWillExpand(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn outlineViewItemDidExpand(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn outlineViewItemWillCollapse(&self, notification: &NSNotification) where Self: Sized + Message { ... } unsafe fn outlineViewItemDidCollapse(&self, notification: &NSNotification) where Self: Sized + Message { ... }
}
Available on crate features NSControl and NSOutlineView only.
Expand description

Provided Methods§

Source

unsafe fn outlineView_viewForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSView>>
where Self: Sized + Message,

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

unsafe fn outlineView_rowViewForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> Option<Retained<NSTableRowView>>
where Self: Sized + Message,

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

unsafe fn outlineView_didAddRowView_forRow( &self, outline_view: &NSOutlineView, row_view: &NSTableRowView, row: NSInteger, )
where Self: Sized + Message,

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

unsafe fn outlineView_didRemoveRowView_forRow( &self, outline_view: &NSOutlineView, row_view: &NSTableRowView, row: NSInteger, )
where Self: Sized + Message,

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

unsafe fn outlineView_willDisplayCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &AnyObject, table_column: Option<&NSTableColumn>, item: &AnyObject, )
where Self: Sized + Message,

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

unsafe fn outlineView_shouldEditTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn selectionShouldChangeInOutlineView( &self, outline_view: &NSOutlineView, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_shouldSelectItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_selectionIndexesForProposedSelection( &self, outline_view: &NSOutlineView, proposed_selection_indexes: &NSIndexSet, ) -> Retained<NSIndexSet>
where Self: Sized + Message,

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

unsafe fn outlineView_shouldSelectTableColumn( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_mouseDownInHeaderOfTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, )
where Self: Sized + Message,

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

unsafe fn outlineView_didClickTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, )
where Self: Sized + Message,

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

unsafe fn outlineView_didDragTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, )
where Self: Sized + Message,

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

unsafe fn outlineView_toolTipForCell_rect_tableColumn_item_mouseLocation( &self, outline_view: &NSOutlineView, cell: &NSCell, rect: NSRectPointer, table_column: Option<&NSTableColumn>, item: &AnyObject, mouse_location: NSPoint, ) -> Retained<NSString>
where Self: Sized + Message,

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

unsafe fn outlineView_heightOfRowByItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> CGFloat
where Self: Sized + Message,

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

unsafe fn outlineView_tintConfigurationForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> Option<Retained<NSTintConfiguration>>
where Self: Sized + Message,

Available on crate features NSResponder and NSTableView and NSTintConfiguration and NSView only.
Source

unsafe fn outlineView_typeSelectStringForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

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

unsafe fn outlineView_nextTypeSelectMatchFromItem_toItem_forString( &self, outline_view: &NSOutlineView, start_item: &AnyObject, end_item: &AnyObject, search_string: &NSString, ) -> Option<Retained<AnyObject>>
where Self: Sized + Message,

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

unsafe fn outlineView_shouldTypeSelectForEvent_withCurrentSearchString( &self, outline_view: &NSOutlineView, event: &NSEvent, search_string: Option<&NSString>, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_shouldShowCellExpansionForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_shouldTrackCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &NSCell, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_dataCellForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSCell>>
where Self: Sized + Message,

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

unsafe fn outlineView_isGroupItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_shouldExpandItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_shouldCollapseItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_willDisplayOutlineCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &AnyObject, table_column: Option<&NSTableColumn>, item: &AnyObject, )
where Self: Sized + Message,

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

unsafe fn outlineView_sizeToFitWidthOfColumn( &self, outline_view: &NSOutlineView, column: NSInteger, ) -> CGFloat
where Self: Sized + Message,

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

unsafe fn outlineView_shouldReorderColumn_toColumn( &self, outline_view: &NSOutlineView, column_index: NSInteger, new_column_index: NSInteger, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_shouldShowOutlineCellForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_userCanChangeVisibilityOfTableColumn( &self, outline_view: &NSOutlineView, column: &NSTableColumn, ) -> bool
where Self: Sized + Message,

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

unsafe fn outlineView_userDidChangeVisibilityOfTableColumns( &self, outline_view: &NSOutlineView, columns: &NSArray<NSTableColumn>, )
where Self: Sized + Message,

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

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl ProtocolType for dyn NSOutlineViewDelegate

Source§

const NAME: &'static str = "NSOutlineViewDelegate"

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 NSOutlineViewDelegate

Implementations on Foreign Types§

Source§

impl<T> NSOutlineViewDelegate for ProtocolObject<T>

Implementors§