Platforms to show: All Mac Windows Linux Cross-Platform

Back to IKImageBrowserViewMBS class.

IKImageBrowserViewMBS.allowsDroppingOnItems as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the user can drop on items.

True if the user is able to drop on items, otherwise false.
Available in OS X v10.6 and later.
(Read and Write computed property)

Some examples using this property:

IKImageBrowserViewMBS.allowsEmptySelection as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether an empty selection is allowed.

(Read and Write computed property)

IKImageBrowserViewMBS.allowsMultipleSelection as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the user can select more than one cell at a time.

(Read and Write computed property)

IKImageBrowserViewMBS.allowsReordering as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the user can reorder items.

(Read and Write computed property)

Some examples using this property:

IKImageBrowserViewMBS.animates as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver animates reordering and changes of the data source.

(Read and Write computed property)

IKImageBrowserViewMBS.backgroundLayer as CALayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The Core Animation layer used as the view's background.

The background layer can have sublayers. Additionally, the layers can also contain animations.
The layer is optional.
Available in OS X v10.6 and later.
(Read and Write computed property)

IKImageBrowserViewMBS.canControlQuickLookPanel as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the view can automatically take control of the QuickLook panel.

When the browser view displays the QuickLook panel it sets itself as the QuickLook datasource. If the browser cells returned by the datasource return items that are URLs or paths, then the QuickLook panel will display the image at that location. Otherwise, the browser cell must implement the QLPreviewItem protocol and return the requested URL for the custom cell.
Available in OS X v10.6 and later.
(Read and Write computed property)

IKImageBrowserViewMBS.cellForItemAtIndex(index as Integer) as IKImageBrowserCellMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the browser cell for the item at the specified index.

Subclasses must not override this method.
Available in OS X v10.6 and later.

IKImageBrowserViewMBS.cellSize as NSSizeMBS

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

You must use CellSize or ZoomValue, 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)

IKImageBrowserViewMBS.cellsStyleMask as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The appearance style of the cells.

(Read and Write computed property)

Some examples using this property:

IKImageBrowserViewMBS.collapseGroupAtIndex(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
Collapses a group at the specified index.

index: The index of the group you want to collapse.

IKImageBrowserViewMBS.columnIndexesInRect(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 column indexes in the specified rectangle.

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

IKImageBrowserViewMBS.constrainsToOriginalSize as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver constrains the cell's image to its original size.

The default value is false.
(Read and Write computed property)

IKImageBrowserViewMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new control with size 100/100 and position 0/0
Example
dim t as new IKImageBrowserViewMBS

On success the handle property is not zero.

See also:

IKImageBrowserViewMBS.Constructor(Handle as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates an object based on the given IKImageBrowserView handle.
Example
dim t as new IKImageBrowserViewMBS(0, 0, 100, 100)
dim v as new IKImageBrowserViewMBS(t.handle)

MsgBox str(v.Bounds.Width)+" x "+str(v.Bounds.Height)

The handle is casted to a IKImageBrowserView and the plugin retains this handle.

See also:

IKImageBrowserViewMBS.Constructor(left as Double, top as Double, width as Double, height as Double)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a new control with the given size and position.
Example
dim x as new IKImageBrowserViewMBS(0, 0, 100, 20)

On success the handle property is not zero.

See also:

IKImageBrowserViewMBS.contentResizingMask as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The content resizing mask, which determines how its content is resized while zooming.

You specify a mask by combining any of the following options using the bitwise OR operator: NSViewWidthSizable (2), NSViewHeightSizable (16). Other values are ignored.
(Read and Write computed property)

Some examples using this property:

IKImageBrowserViewMBS.Destructor

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

IKImageBrowserViewMBS.dropOperation 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 drop operation.

Returns IKImageBrowserDropOn if the drop occurs on an item, otherwise IKImageBrowserDropBefore.
The returned value is valid when a drop occurred and until next drop.
For example, given a browser with N cells , a cell of N-1 and operation of IKImageBrowserDropOn would specify a drop on the last cell. To specify a drop after the last cell, one would use an index of N and IKImageBrowserDropBefore for the operation.
Available in OS X v10.6 and later.

IKImageBrowserViewMBS.expandGroupAtIndex(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
Expands a group at the specified index.

index: The index of the group you want to expand.
Available in OS X v10.5 and later.

IKImageBrowserViewMBS.foregroundLayer as CALayerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the foreground Core Animation layer

Returns a CALayer instance.
Available in OS X v10.6 and later.
(Read and Write computed property)

IKImageBrowserViewMBS.getValue(name as String) as Variant

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

IKImageBrowserViewMBS.indexAtLocationOfDroppedItem 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 index of the cell where the drop operation occurred.

Returns the index of the cell where the drop operation occurred.
The returned index is valid until the next drop occurs.
Available in OS X v10.5 and later.

IKImageBrowserViewMBS.indexOfItemAtPoint(point as NSPointMBS) 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 index of the item at the specified location.

Returns the index of the item or NSNotFound (-1) if no item at this location.

IKImageBrowserViewMBS.intercellSpacing as NSSizeMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the spacing between cells in the view.

Returns the vertical and horizontal spacing between cells.
Available in OS X v10.6 and later.
(Read and Write computed property)

IKImageBrowserViewMBS.isGroupExpandedAtIndex(index as Integer) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns whether the group at the provided index is expanded.

Return true if the group is expanded; false otherwise.

IKImageBrowserViewMBS.itemFrameAtIndex(index 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 frame rectangle for the item located at the specified index.

index: The index of the item whose frame rectangle you want to obtain.
Return the frame rectangle of the item.

IKImageBrowserViewMBS.newCellForRepresentedItem(item as IKImageBrowserItemMBS) as IKImageBrowserCellMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method ImageKit MBS AVFoundation Plugin 13.1 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the cell to use for the specified item.

Subclasses can override this method to customize the appearance of the cell that will represent anItem.
Available in OS X v10.6 and later.

IKImageBrowserViewMBS.numberOfColumns 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 columns.

Available in OS X v10.6 and later.

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:

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


The biggest plugin in space...