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 { ... }
fn outlineView_didAddRowView_forRow(
&self,
outline_view: &NSOutlineView,
row_view: &NSTableRowView,
row: NSInteger,
)
where Self: Sized + Message { ... }
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 { ... }
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 { ... }
fn outlineView_selectionIndexesForProposedSelection(
&self,
outline_view: &NSOutlineView,
proposed_selection_indexes: &NSIndexSet,
) -> Retained<NSIndexSet>
where Self: Sized + Message { ... }
fn outlineView_shouldSelectTableColumn(
&self,
outline_view: &NSOutlineView,
table_column: Option<&NSTableColumn>,
) -> bool
where Self: Sized + Message { ... }
fn outlineView_mouseDownInHeaderOfTableColumn(
&self,
outline_view: &NSOutlineView,
table_column: &NSTableColumn,
)
where Self: Sized + Message { ... }
fn outlineView_didClickTableColumn(
&self,
outline_view: &NSOutlineView,
table_column: &NSTableColumn,
)
where Self: Sized + Message { ... }
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 { ... }
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 { ... }
fn outlineView_sizeToFitWidthOfColumn(
&self,
outline_view: &NSOutlineView,
column: NSInteger,
) -> CGFloat
where Self: Sized + Message { ... }
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 { ... }
fn outlineView_userCanChangeVisibilityOfTableColumn(
&self,
outline_view: &NSOutlineView,
column: &NSTableColumn,
) -> bool
where Self: Sized + Message { ... }
fn outlineView_userDidChangeVisibilityOfTableColumns(
&self,
outline_view: &NSOutlineView,
columns: &NSArray<NSTableColumn>,
)
where Self: Sized + Message { ... }
fn outlineViewSelectionDidChange(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewColumnDidMove(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewColumnDidResize(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewSelectionIsChanging(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewItemWillExpand(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewItemDidExpand(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewItemWillCollapse(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
fn outlineViewItemDidCollapse(&self, notification: &NSNotification)
where Self: Sized + Message { ... }
}Available on crate features
NSControl and NSOutlineView only.Expand description
Provided Methods§
Sourceunsafe fn outlineView_viewForTableColumn_item(
&self,
outline_view: &NSOutlineView,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
) -> Option<Retained<NSView>>
Available on crate features NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_viewForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSView>>
NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_rowViewForItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> Option<Retained<NSTableRowView>>
Available on crate features NSResponder and NSTableRowView and NSTableView and NSView only.
unsafe fn outlineView_rowViewForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> Option<Retained<NSTableRowView>>
NSResponder and NSTableRowView and NSTableView and NSView only.§Safety
item should be of the correct type.
fn outlineView_didAddRowView_forRow( &self, outline_view: &NSOutlineView, row_view: &NSTableRowView, row: NSInteger, )
Available on crate features
NSResponder and NSTableRowView and NSTableView and NSView only.fn outlineView_didRemoveRowView_forRow( &self, outline_view: &NSOutlineView, row_view: &NSTableRowView, row: NSInteger, )
Available on crate features
NSResponder and NSTableRowView and NSTableView and NSView only.Sourceunsafe fn outlineView_willDisplayCell_forTableColumn_item(
&self,
outline_view: &NSOutlineView,
cell: &AnyObject,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
)
Available on crate features NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_willDisplayCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &AnyObject, table_column: Option<&NSTableColumn>, item: &AnyObject, )
NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
cellshould be of the correct type.itemshould be of the correct type.
Sourceunsafe fn outlineView_shouldEditTableColumn_item(
&self,
outline_view: &NSOutlineView,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_shouldEditTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool
NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
item should be of the correct type.
fn selectionShouldChangeInOutlineView( &self, outline_view: &NSOutlineView, ) -> bool
Available on crate features
NSResponder and NSTableView and NSView only.Sourceunsafe fn outlineView_shouldSelectItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableView and NSView only.
unsafe fn outlineView_shouldSelectItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
NSResponder and NSTableView and NSView only.§Safety
item should be of the correct type.
fn outlineView_selectionIndexesForProposedSelection( &self, outline_view: &NSOutlineView, proposed_selection_indexes: &NSIndexSet, ) -> Retained<NSIndexSet>
Available on crate features
NSResponder and NSTableView and NSView only.fn outlineView_shouldSelectTableColumn( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, ) -> bool
Available on crate features
NSResponder and NSTableColumn and NSTableView and NSView only.fn outlineView_mouseDownInHeaderOfTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, )
Available on crate features
NSResponder and NSTableColumn and NSTableView and NSView only.fn outlineView_didClickTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, )
Available on crate features
NSResponder and NSTableColumn and NSTableView and NSView only.fn outlineView_didDragTableColumn( &self, outline_view: &NSOutlineView, table_column: &NSTableColumn, )
Available on crate features
NSResponder and NSTableColumn and NSTableView and NSView only.Sourceunsafe 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>
Available on crate features NSCell and NSResponder and NSTableColumn and NSTableView and NSView only.
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>
NSCell and NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
rectmust be a valid pointer.itemshould be of the correct type.
Sourceunsafe fn outlineView_heightOfRowByItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> CGFloat
Available on crate features NSResponder and NSTableView and NSView and objc2-core-foundation only.
unsafe fn outlineView_heightOfRowByItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> CGFloat
NSResponder and NSTableView and NSView and objc2-core-foundation only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_tintConfigurationForItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> Option<Retained<NSTintConfiguration>>
Available on crate features NSResponder and NSTableView and NSTintConfiguration and NSView only.
unsafe fn outlineView_tintConfigurationForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> Option<Retained<NSTintConfiguration>>
NSResponder and NSTableView and NSTintConfiguration and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_typeSelectStringForTableColumn_item(
&self,
outline_view: &NSOutlineView,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
) -> Option<Retained<NSString>>
Available on crate features NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_typeSelectStringForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSString>>
NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_nextTypeSelectMatchFromItem_toItem_forString(
&self,
outline_view: &NSOutlineView,
start_item: &AnyObject,
end_item: &AnyObject,
search_string: &NSString,
) -> Option<Retained<AnyObject>>
Available on crate features NSResponder and NSTableView and NSView only.
unsafe fn outlineView_nextTypeSelectMatchFromItem_toItem_forString( &self, outline_view: &NSOutlineView, start_item: &AnyObject, end_item: &AnyObject, search_string: &NSString, ) -> Option<Retained<AnyObject>>
NSResponder and NSTableView and NSView only.§Safety
start_itemshould be of the correct type.end_itemshould be of the correct type.
fn outlineView_shouldTypeSelectForEvent_withCurrentSearchString( &self, outline_view: &NSOutlineView, event: &NSEvent, search_string: Option<&NSString>, ) -> bool
Available on crate features
NSEvent and NSResponder and NSTableView and NSView only.Sourceunsafe fn outlineView_shouldShowCellExpansionForTableColumn_item(
&self,
outline_view: &NSOutlineView,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_shouldShowCellExpansionForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool
NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_shouldTrackCell_forTableColumn_item(
&self,
outline_view: &NSOutlineView,
cell: &NSCell,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
) -> bool
Available on crate features NSCell and NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_shouldTrackCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &NSCell, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> bool
NSCell and NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_dataCellForTableColumn_item(
&self,
outline_view: &NSOutlineView,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
) -> Option<Retained<NSCell>>
Available on crate features NSCell and NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_dataCellForTableColumn_item( &self, outline_view: &NSOutlineView, table_column: Option<&NSTableColumn>, item: &AnyObject, ) -> Option<Retained<NSCell>>
NSCell and NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_isGroupItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableView and NSView only.
unsafe fn outlineView_isGroupItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
NSResponder and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_shouldExpandItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableView and NSView only.
unsafe fn outlineView_shouldExpandItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
NSResponder and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_shouldCollapseItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableView and NSView only.
unsafe fn outlineView_shouldCollapseItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
NSResponder and NSTableView and NSView only.§Safety
item should be of the correct type.
Sourceunsafe fn outlineView_willDisplayOutlineCell_forTableColumn_item(
&self,
outline_view: &NSOutlineView,
cell: &AnyObject,
table_column: Option<&NSTableColumn>,
item: &AnyObject,
)
Available on crate features NSResponder and NSTableColumn and NSTableView and NSView only.
unsafe fn outlineView_willDisplayOutlineCell_forTableColumn_item( &self, outline_view: &NSOutlineView, cell: &AnyObject, table_column: Option<&NSTableColumn>, item: &AnyObject, )
NSResponder and NSTableColumn and NSTableView and NSView only.§Safety
cellshould be of the correct type.itemshould be of the correct type.
fn outlineView_sizeToFitWidthOfColumn( &self, outline_view: &NSOutlineView, column: NSInteger, ) -> CGFloat
Available on crate features
NSResponder and NSTableView and NSView and objc2-core-foundation only.fn outlineView_shouldReorderColumn_toColumn( &self, outline_view: &NSOutlineView, column_index: NSInteger, new_column_index: NSInteger, ) -> bool
Available on crate features
NSResponder and NSTableView and NSView only.Sourceunsafe fn outlineView_shouldShowOutlineCellForItem(
&self,
outline_view: &NSOutlineView,
item: &AnyObject,
) -> bool
Available on crate features NSResponder and NSTableView and NSView only.
unsafe fn outlineView_shouldShowOutlineCellForItem( &self, outline_view: &NSOutlineView, item: &AnyObject, ) -> bool
NSResponder and NSTableView and NSView only.§Safety
item should be of the correct type.
fn outlineView_userCanChangeVisibilityOfTableColumn( &self, outline_view: &NSOutlineView, column: &NSTableColumn, ) -> bool
Available on crate features
NSResponder and NSTableColumn and NSTableView and NSView only.fn outlineView_userDidChangeVisibilityOfTableColumns( &self, outline_view: &NSOutlineView, columns: &NSArray<NSTableColumn>, )
Available on crate features
NSResponder and NSTableColumn and NSTableView and NSView only.fn outlineViewSelectionDidChange(&self, notification: &NSNotification)
fn outlineViewColumnDidMove(&self, notification: &NSNotification)
fn outlineViewColumnDidResize(&self, notification: &NSNotification)
fn outlineViewSelectionIsChanging(&self, notification: &NSNotification)
fn outlineViewItemWillExpand(&self, notification: &NSNotification)
fn outlineViewItemDidExpand(&self, notification: &NSNotification)
fn outlineViewItemWillCollapse(&self, notification: &NSNotification)
fn outlineViewItemDidCollapse(&self, notification: &NSNotification)
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSOutlineViewDelegate
Source§impl ProtocolType for dyn NSOutlineViewDelegate
impl ProtocolType for dyn NSOutlineViewDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".