Interface BrowserItemBank<ItemType extends BrowserItem>
- All Superinterfaces:
Bank<ItemType>,HardwareBindable,ObjectProxy,RelativeHardwarControlBindable,Scrollable,Subscribable
- All Known Subinterfaces:
BrowserFilterItemBank,BrowserResultsItemBank
Instances of this interface are used to navigate a column in the Bitwig Studio browser.
- Since:
- API version 1
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.UseScrollable.canScrollBackwards()instead.voidDeprecated.UseScrollable.scrollPosition()instead.getItem(int index) Deprecated.UseBank.getItemAt(int)instead.intgetSize()Deprecated.UseBank.getSizeOfBank()instead.voidDeprecated.UseScrollable.scrollForwards()instead.voidDeprecated.UseScrollable.scrollPageForwards()instead.voidDeprecated.UseScrollable.scrollPageBackwards()instead.voidscrollUp()Deprecated.UseScrollable.scrollBackwards()instead.Methods inherited from interface com.bitwig.extension.controller.api.Bank
cursorIndex, getCapacityOfBank, getItemAt, getSizeOfBank, itemCount, setSizeOfBank, setSkipDisabledItemsMethods inherited from interface com.bitwig.extension.controller.api.ObjectProxy
createEqualsValue, existsMethods inherited from interface com.bitwig.extension.controller.api.RelativeHardwarControlBindable
addBinding, addBindingWithSensitivityMethods inherited from interface com.bitwig.extension.controller.api.Scrollable
canScrollBackwards, canScrollForwards, scrollBackwards, scrollBackwardsAction, scrollBy, scrollByPages, scrollForwards, scrollForwardsAction, scrollIntoView, scrollPageBackwards, scrollPageBackwardsAction, scrollPageForwards, scrollPageForwardsAction, scrollPositionMethods inherited from interface com.bitwig.extension.controller.api.Subscribable
isSubscribed, setIsSubscribed, subscribe, unsubscribe
-
Method Details
-
getSize
Deprecated.UseBank.getSizeOfBank()instead.Returns the window size that was used to configure the filter column during creation.- Returns:
- the size of the filter column.
- Since:
- API version 1
-
getItem
Deprecated.UseBank.getItemAt(int)instead.Returns the item for the given index.- Parameters:
index- the item index, must be in the range `[0..getSize-1]`- Returns:
- the requested item object
- Since:
- API version 1
-
scrollUp
Deprecated.UseScrollable.scrollBackwards()instead.Scrolls the filter column entries one item up.- Since:
- API version 1
-
scrollDown
Deprecated.UseScrollable.scrollForwards()instead.Scrolls the filter column entries one item down.- Since:
- API version 1
-
scrollPageUp
Deprecated.UseScrollable.scrollPageBackwards()instead.Scrolls the filter column entries one page up. For example if the column is configured with a window size of 8 entries and is currently showing items [1..8], calling this method would scroll the column to show items [9..16].- Since:
- API version 1
-
scrollPageDown
Deprecated.UseScrollable.scrollPageForwards()instead.Scrolls the filter column entries one page up. For example if the column is configured with a window size of 8 entries and is currently showing items [9..16], calling this method would scroll the column to show items [1..8].- Since:
- API version 1
-
addScrollPositionObserver
Deprecated.UseScrollable.scrollPosition()instead.Registers an observer that reports the current scroll position, more specifically the position of the first item within the underlying list of entries, that is shown as the first entry within the window.- Parameters:
callback- a callback function that receives a single integer number parameter. The parameter reflects the scroll position, or `-1` in case the column has no content.- Since:
- API version 1
-
addCanScrollUpObserver
Deprecated.UseScrollable.canScrollBackwards()instead.Registers an observer that reports if the column entries can be scrolled further up.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
addCanScrollDownObserver
Deprecated.UseScrollable.canScrollForwards()instead.Registers an observer that reports if the column entries can be scrolled further down.- Parameters:
callback- a callback function that receives a single boolean parameter- Since:
- API version 1
-
Scrollable.canScrollForwards()instead.