Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSMutableIndexSetMBS class.
NSMutableIndexSetMBS.addIndex(index as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSMutableIndexSetMBS.addIndexes(indexes as NSIndexSetMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSMutableIndexSetMBS.addIndexesInRange(StartIndex as Integer, Length as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Index range to add. Must include only indexes representable as unsigned integers.
This method raises an NSRangeException when indexRange would add an index that exceeds the maximum allowed value for unsigned integers.
NSMutableIndexSetMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSMutableIndexSetMBS.Constructor(index as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSMutableIndexSetMBS.Constructor(indexes as NSIndexSetMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
See also:
NSMutableIndexSetMBS.Constructor(StartIndex as Integer, Length as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This method raises an NSRangeException when indexRange would add an index that exceeds the maximum allowed value for unsigned integers.
See also:
NSMutableIndexSetMBS.removeAllIndexes
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSMutableIndexSetMBS.removeIndex(index as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Some examples using this method:
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV TableView
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListboxTV with ContainerControl Cells
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
NSMutableIndexSetMBS.removeIndexes(indexes as NSIndexSetMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSMutableIndexSetMBS.removeIndexesInRange(StartIndex as Integer, Length as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
NSMutableIndexSetMBS.shiftIndexes(StartingAtIndex as Integer, delta as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa | MBS MacBase Plugin | 9.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
startIndex: Head of the group of indexes to shift.
delta: Amount and direction of the shift. Positive integers shift the indexes to the right. Negative integers shift the indexes to the left.
The group of indexes shifted is made up by startIndex and the indexes that follow it in the receiver.
A left shift deletes the indexes in the range (startIndex-delta,delta) from the receiver.
A right shift inserts empty space in the range (indexStart,delta) in the receiver.
The items on this page are in the following plugins: MBS MacBase Plugin.