Package org.robovm.apple.uikit
Class UICollectionViewDelegateAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIScrollViewDelegateAdapter
org.robovm.apple.uikit.UICollectionViewDelegateAdapter
- All Implemented Interfaces:
NSObjectProtocol,UICollectionViewDelegate,UIScrollViewDelegate,ObjCProtocol
- Direct Known Subclasses:
UICollectionViewDelegateFlowLayoutAdapter
public class UICollectionViewDelegateAdapter extends UIScrollViewDelegateAdapter implements UICollectionViewDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Constructor Description UICollectionViewDelegateAdapter() -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIScrollViewDelegateAdapter
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDraggingMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from interface org.robovm.apple.uikit.UIScrollViewDelegate
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDragging
-
Constructor Details
-
UICollectionViewDelegateAdapter
public UICollectionViewDelegateAdapter()
-
-
Method Details
-
shouldHighlightItem
- Specified by:
shouldHighlightItemin interfaceUICollectionViewDelegate
-
didHighlightItem
- Specified by:
didHighlightItemin interfaceUICollectionViewDelegate
-
didUnhighlightItem
- Specified by:
didUnhighlightItemin interfaceUICollectionViewDelegate
-
shouldSelectItem
- Specified by:
shouldSelectItemin interfaceUICollectionViewDelegate
-
shouldDeselectItem
- Specified by:
shouldDeselectItemin interfaceUICollectionViewDelegate
-
didSelectItem
- Specified by:
didSelectItemin interfaceUICollectionViewDelegate
-
didDeselectItem
- Specified by:
didDeselectItemin interfaceUICollectionViewDelegate
-
willDisplayCell
public void willDisplayCell(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath)- Specified by:
willDisplayCellin interfaceUICollectionViewDelegate
-
willDisplaySupplementaryView
public void willDisplaySupplementaryView(UICollectionView collectionView, UICollectionReusableView view, String elementKind, NSIndexPath indexPath)- Specified by:
willDisplaySupplementaryViewin interfaceUICollectionViewDelegate
-
didEndDisplayingCell
public void didEndDisplayingCell(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath)- Specified by:
didEndDisplayingCellin interfaceUICollectionViewDelegate
-
didEndDisplayingSupplementaryView
public void didEndDisplayingSupplementaryView(UICollectionView collectionView, UICollectionReusableView view, String elementKind, NSIndexPath indexPath)- Specified by:
didEndDisplayingSupplementaryViewin interfaceUICollectionViewDelegate
-
shouldShowMenuForItem
@Deprecated public boolean shouldShowMenuForItem(UICollectionView collectionView, NSIndexPath indexPath)Deprecated.Deprecated in iOS 13.0. Use collectionView:contextMenuConfigurationForItemAtIndexPath:- Specified by:
shouldShowMenuForItemin interfaceUICollectionViewDelegate
-
canPerformAction
@Deprecated public boolean canPerformAction(UICollectionView collectionView, Selector action, NSIndexPath indexPath, NSObject sender)Deprecated.Deprecated in iOS 13.0. Use collectionView:contextMenuConfigurationForItemAtIndexPath:- Specified by:
canPerformActionin interfaceUICollectionViewDelegate
-
performAction
@Deprecated public void performAction(UICollectionView collectionView, Selector action, NSIndexPath indexPath, NSObject sender)Deprecated.Deprecated in iOS 13.0. Use collectionView:contextMenuConfigurationForItemAtIndexPath:- Specified by:
performActionin interfaceUICollectionViewDelegate
-
getTransitionLayout
public UICollectionViewTransitionLayout getTransitionLayout(UICollectionView collectionView, UICollectionViewLayout fromLayout, UICollectionViewLayout toLayout)- Specified by:
getTransitionLayoutin interfaceUICollectionViewDelegate
-
canFocusItem
- Specified by:
canFocusItemin interfaceUICollectionViewDelegate- Since:
- Available in iOS 9.0 and later.
-
shouldUpdateFocus
public boolean shouldUpdateFocus(UICollectionView collectionView, UICollectionViewFocusUpdateContext context)- Specified by:
shouldUpdateFocusin interfaceUICollectionViewDelegate- Since:
- Available in iOS 9.0 and later.
-
didUpdateFocus
public void didUpdateFocus(UICollectionView collectionView, UICollectionViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)- Specified by:
didUpdateFocusin interfaceUICollectionViewDelegate- Since:
- Available in iOS 9.0 and later.
-
getIndexPathForPreferredFocusedView
- Specified by:
getIndexPathForPreferredFocusedViewin interfaceUICollectionViewDelegate- Since:
- Available in iOS 9.0 and later.
-
isSelectionFollowsFocus
- Specified by:
isSelectionFollowsFocusin interfaceUICollectionViewDelegate- Since:
- Available in iOS 15.0 and later.
-
getTargetIndexPathForMoveOfItemFromOriginalIndexPath
public NSIndexPath getTargetIndexPathForMoveOfItemFromOriginalIndexPath(UICollectionView collectionView, NSIndexPath originalIndexPath, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath)- Specified by:
getTargetIndexPathForMoveOfItemFromOriginalIndexPathin interfaceUICollectionViewDelegate- Since:
- Available in iOS 15.0 and later.
-
getTargetIndexPathForMoveFromItem
@Deprecated public NSIndexPath getTargetIndexPathForMoveFromItem(UICollectionView collectionView, NSIndexPath currentIndexPath, NSIndexPath proposedIndexPath)Deprecated.Deprecated in iOS 15.0. Use collectionView:targetIndexPathForMoveOfItemFromOriginalIndexPath:atCurrentIndexPath:toProposedIndexPath:- Specified by:
getTargetIndexPathForMoveFromItemin interfaceUICollectionViewDelegate- Since:
- Available in iOS 9.0 and later.
-
getTargetContentOffsetForProposedContentOffset
public CGPoint getTargetContentOffsetForProposedContentOffset(UICollectionView collectionView, CGPoint proposedContentOffset)- Specified by:
getTargetContentOffsetForProposedContentOffsetin interfaceUICollectionViewDelegate- Since:
- Available in iOS 9.0 and later.
-
canEditItem
- Specified by:
canEditItemin interfaceUICollectionViewDelegate- Since:
- Available in iOS 14.0 and later.
-
shouldSpringLoadItem
public boolean shouldSpringLoadItem(UICollectionView collectionView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)- Specified by:
shouldSpringLoadItemin interfaceUICollectionViewDelegate- Since:
- Available in iOS 11.0 and later.
-
shouldBeginMultipleSelectionInteraction
public boolean shouldBeginMultipleSelectionInteraction(UICollectionView collectionView, NSIndexPath indexPath)- Specified by:
shouldBeginMultipleSelectionInteractionin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
didBeginMultipleSelectionInteraction
public void didBeginMultipleSelectionInteraction(UICollectionView collectionView, NSIndexPath indexPath)- Specified by:
didBeginMultipleSelectionInteractionin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
collectionViewDidEndMultipleSelectionInteraction
- Specified by:
collectionViewDidEndMultipleSelectionInteractionin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
getContextMenuConfiguration
public UIContextMenuConfiguration getContextMenuConfiguration(UICollectionView collectionView, NSIndexPath indexPath, CGPoint point)- Specified by:
getContextMenuConfigurationin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
getPreviewForHighlightingContextMenu
public UITargetedPreview getPreviewForHighlightingContextMenu(UICollectionView collectionView, UIContextMenuConfiguration configuration)- Specified by:
getPreviewForHighlightingContextMenuin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
getPreviewForDismissingContextMenu
public UITargetedPreview getPreviewForDismissingContextMenu(UICollectionView collectionView, UIContextMenuConfiguration configuration)- Specified by:
getPreviewForDismissingContextMenuin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
willPerformPreviewAction
public void willPerformPreviewAction(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)- Specified by:
willPerformPreviewActionin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.0 and later.
-
willDisplayContextMenu
public void willDisplayContextMenu(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)- Specified by:
willDisplayContextMenuin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.2 and later.
-
willEndContextMenuInteraction
public void willEndContextMenuInteraction(UICollectionView collectionView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)- Specified by:
willEndContextMenuInteractionin interfaceUICollectionViewDelegate- Since:
- Available in iOS 13.2 and later.
-
getSceneActivationConfiguration
public UIWindowSceneActivationConfiguration getSceneActivationConfiguration(UICollectionView collectionView, NSIndexPath indexPath, CGPoint point)- Specified by:
getSceneActivationConfigurationin interfaceUICollectionViewDelegate- Since:
- Available in iOS 15.0 and later.
-