Platforms to show: All Mac Windows Linux Cross-Platform

Back to IKImageBrowserViewMBS class.

Previous items

IKImageBrowserViewMBS.numberOfRows as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the current number of rows.

Available in OS X v10.6 and later.

IKImageBrowserViewMBS.rectOfColumn(columnIndex as Integer) as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the rectangle containing the specified column.

Return a rectangle containing the column. Specified in the view's coordinate system.
Available in OS X v10.6 and later.

IKImageBrowserViewMBS.rectOfRow(rowIndex as Integer) as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the rectangle containing the specified row.

Returns a rectangle containing the column. Specified in the view's coordinate system.
Available in OS X v10.6 and later.

IKImageBrowserViewMBS.reloadData

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Marks the receiver as needing its data reloaded.

IKImageBrowserViewMBS.rowIndexesInRect(rect as NSRectMBS) as NSIndexSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the row indexes in the specified rectangle.

rect: A rectangle in the view's coordinate system.
Returns an index set containing the item indexes.
Available in OS X v10.6 and later.

IKImageBrowserViewMBS.scrollIndexToVisible(index as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Scrolls the receiver to the item at the specified index.

IKImageBrowserViewMBS.selectionIndexes as NSIndexSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the indexes of the selected cells.

Some examples using this method:

IKImageBrowserViewMBS.setDropIndex(index as Integer, operation as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Allows the class to retarget the drop action.

index: The requested drop index.
operation: The requested drop operation. The possible values are described in IKImageBrowserDropOperation.

For example, To specify a drop on the second item, one would specify index as 1, and operation as IKImageBrowserDropOn. To specify a drop after the last item, one would specify index as the number of items and operation as IKImageBrowserDropBefore.

Passing a value of –1 for index, and IKImageBrowserDropOn as the operation causes the entire browser view to be highlighted rather than a specific item. This is useful if the data displayed by the receiver does not allow the user to drop items at a specific item location.

IKImageBrowserViewMBS.setSelectionIndexes(indexes as NSIndexSetMBS, extendSelection as boolean = false)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Selects cells at the specified indexes.

indexes: The indexes of the cells you want to select.
extendSelection: A boolean value that specifies whether to extend the current selection. Pass true to extends the selection; false replaces the current selection.
Available in OS X v10.5 and later.

IKImageBrowserViewMBS.setValue(name as String, value as Variant)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets a value for a given key.

IKImageBrowserViewMBS.visibleItemIndexes as NSIndexSetMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the indexes of the view's currently visible items.

Available in OS X v10.6 and later.

IKImageBrowserViewMBS.zoomValue as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The zoom value.

The zoom value. This value should be greater or equal to zero and less or equal than one. A zoom value of zero corresponds to the minimum size (40x40 pixels). A zoom value of one means images fits the browser bounds. Other values are interpolated.
Discussion
You must use ZoomValue or CellSize, but not both. Setting the zoom value changes the cell size, and vice versa.
Available in OS X v10.5 and later.
(Read and Write computed property)

Some examples using this property:

Previous items

The items on this page are in the following plugins: MBS AVFoundation Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...