Package org.robovm.apple.uikit
Class UITableViewModel
- 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.UITableViewModel
-
- All Implemented Interfaces:
NSObjectProtocol
,UIScrollViewDelegate
,UITableViewDataSource
,UITableViewDelegate
,org.robovm.objc.ObjCProtocol
public class UITableViewModel extends UIScrollViewDelegateAdapter implements UITableViewDelegate, UITableViewDataSource
-
-
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.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description UITableViewModel()
-
Method Summary
-
Methods inherited from class org.robovm.apple.uikit.UIScrollViewDelegateAdapter
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDragging
-
Methods 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, willChangeValues
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.uikit.UIScrollViewDelegate
didEndDecelerating, didEndDragging, didEndScrollingAnimation, didEndZooming, didScroll, didScrollToTop, didZoom, getViewForZooming, scrollViewDidChangeAdjustedContentInset, shouldScrollToTop, willBeginDecelerating, willBeginDragging, willBeginZooming, willEndDragging
-
-
-
-
Method Detail
-
willDisplayCell
public void willDisplayCell(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)
- Specified by:
willDisplayCell
in interfaceUITableViewDelegate
-
willDisplayHeaderView
public void willDisplayHeaderView(UITableView tableView, UIView view, long section)
- Specified by:
willDisplayHeaderView
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
willDisplayFooterView
public void willDisplayFooterView(UITableView tableView, UIView view, long section)
- Specified by:
willDisplayFooterView
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
didEndDisplayingCell
public void didEndDisplayingCell(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)
- Specified by:
didEndDisplayingCell
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
didEndDisplayingHeaderView
public void didEndDisplayingHeaderView(UITableView tableView, UIView view, long section)
- Specified by:
didEndDisplayingHeaderView
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
didEndDisplayingFooterView
public void didEndDisplayingFooterView(UITableView tableView, UIView view, long section)
- Specified by:
didEndDisplayingFooterView
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
getHeightForRow
public double getHeightForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getHeightForRow
in interfaceUITableViewDelegate
-
getHeightForHeader
public double getHeightForHeader(UITableView tableView, long section)
- Specified by:
getHeightForHeader
in interfaceUITableViewDelegate
-
getHeightForFooter
public double getHeightForFooter(UITableView tableView, long section)
- Specified by:
getHeightForFooter
in interfaceUITableViewDelegate
-
getEstimatedHeightForRow
public double getEstimatedHeightForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getEstimatedHeightForRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
getEstimatedHeightForHeader
public double getEstimatedHeightForHeader(UITableView tableView, long section)
- Specified by:
getEstimatedHeightForHeader
in interfaceUITableViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
getEstimatedHeightForFooter
public double getEstimatedHeightForFooter(UITableView tableView, long section)
- Specified by:
getEstimatedHeightForFooter
in interfaceUITableViewDelegate
- Since:
- Available in iOS 7.0 and later.
-
getViewForHeader
public UIView getViewForHeader(UITableView tableView, long section)
- Specified by:
getViewForHeader
in interfaceUITableViewDelegate
-
getViewForFooter
public UIView getViewForFooter(UITableView tableView, long section)
- Specified by:
getViewForFooter
in interfaceUITableViewDelegate
-
accessoryButtonTapped
public void accessoryButtonTapped(UITableView tableView, NSIndexPath indexPath)
- Specified by:
accessoryButtonTapped
in interfaceUITableViewDelegate
-
shouldHighlightRow
public boolean shouldHighlightRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
shouldHighlightRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
didHighlightRow
public void didHighlightRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
didHighlightRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
didUnhighlightRow
public void didUnhighlightRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
didUnhighlightRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 6.0 and later.
-
willSelectRow
public NSIndexPath willSelectRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
willSelectRow
in interfaceUITableViewDelegate
-
willDeselectRow
public NSIndexPath willDeselectRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
willDeselectRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 3.0 and later.
-
didSelectRow
public void didSelectRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
didSelectRow
in interfaceUITableViewDelegate
-
didDeselectRow
public void didDeselectRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
didDeselectRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 3.0 and later.
-
getEditingStyleForRow
public UITableViewCellEditingStyle getEditingStyleForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getEditingStyleForRow
in interfaceUITableViewDelegate
-
getTitleForDeleteConfirmationButton
public java.lang.String getTitleForDeleteConfirmationButton(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getTitleForDeleteConfirmationButton
in interfaceUITableViewDelegate
- Since:
- Available in iOS 3.0 and later.
-
getEditActionsForRow
public NSArray<UITableViewRowAction> getEditActionsForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getEditActionsForRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 8.0 and later.
-
shouldIndentWhileEditingRow
public boolean shouldIndentWhileEditingRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
shouldIndentWhileEditingRow
in interfaceUITableViewDelegate
-
willBeginEditingRow
public void willBeginEditingRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
willBeginEditingRow
in interfaceUITableViewDelegate
-
didEndEditingRow
public void didEndEditingRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
didEndEditingRow
in interfaceUITableViewDelegate
-
getTargetForMove
public NSIndexPath getTargetForMove(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath proposedDestinationIndexPath)
- Specified by:
getTargetForMove
in interfaceUITableViewDelegate
-
getIndentationLevelForRow
public long getIndentationLevelForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getIndentationLevelForRow
in interfaceUITableViewDelegate
-
shouldShowMenuForRow
public boolean shouldShowMenuForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
shouldShowMenuForRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 5.0 and later.
-
canPerformAction
public boolean canPerformAction(UITableView tableView, org.robovm.objc.Selector action, NSIndexPath indexPath, NSObject sender)
- Specified by:
canPerformAction
in interfaceUITableViewDelegate
- Since:
- Available in iOS 5.0 and later.
-
performActionForRow
public void performActionForRow(UITableView tableView, org.robovm.objc.Selector action, NSIndexPath indexPath, NSObject sender)
- Specified by:
performActionForRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 5.0 and later.
-
canFocusRow
public boolean canFocusRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
canFocusRow
in interfaceUITableViewDelegate
- Since:
- Available in iOS 9.0 and later.
-
shouldUpdateFocus
public boolean shouldUpdateFocus(UITableView tableView, UITableViewFocusUpdateContext context)
- Specified by:
shouldUpdateFocus
in interfaceUITableViewDelegate
- Since:
- Available in iOS 9.0 and later.
-
didUpdateFocus
public void didUpdateFocus(UITableView tableView, UITableViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)
- Specified by:
didUpdateFocus
in interfaceUITableViewDelegate
- Since:
- Available in iOS 9.0 and later.
-
getIndexPathForPreferredFocusedView
public NSIndexPath getIndexPathForPreferredFocusedView(UITableView tableView)
- Specified by:
getIndexPathForPreferredFocusedView
in interfaceUITableViewDelegate
- Since:
- Available in iOS 9.0 and later.
-
getNumberOfRowsInSection
public long getNumberOfRowsInSection(UITableView tableView, long section)
- Specified by:
getNumberOfRowsInSection
in interfaceUITableViewDataSource
-
getCellForRow
public UITableViewCell getCellForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getCellForRow
in interfaceUITableViewDataSource
-
getNumberOfSections
public long getNumberOfSections(UITableView tableView)
- Specified by:
getNumberOfSections
in interfaceUITableViewDataSource
-
getTitleForHeader
public java.lang.String getTitleForHeader(UITableView tableView, long section)
- Specified by:
getTitleForHeader
in interfaceUITableViewDataSource
-
getTitleForFooter
public java.lang.String getTitleForFooter(UITableView tableView, long section)
- Specified by:
getTitleForFooter
in interfaceUITableViewDataSource
-
canEditRow
public boolean canEditRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
canEditRow
in interfaceUITableViewDataSource
-
canMoveRow
public boolean canMoveRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
canMoveRow
in interfaceUITableViewDataSource
-
getSectionIndexTitles
public java.util.List<java.lang.String> getSectionIndexTitles(UITableView tableView)
- Specified by:
getSectionIndexTitles
in interfaceUITableViewDataSource
-
getSectionForSectionIndexTitle
public long getSectionForSectionIndexTitle(UITableView tableView, java.lang.String title, long index)
- Specified by:
getSectionForSectionIndexTitle
in interfaceUITableViewDataSource
-
commitEditingStyleForRow
public void commitEditingStyleForRow(UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath)
- Specified by:
commitEditingStyleForRow
in interfaceUITableViewDataSource
-
moveRow
public void moveRow(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)
- Specified by:
moveRow
in interfaceUITableViewDataSource
-
getLeadingSwipeActionsConfigurationForRow
public UISwipeActionsConfiguration getLeadingSwipeActionsConfigurationForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getLeadingSwipeActionsConfigurationForRow
in interfaceUITableViewDelegate
-
getTrailingSwipeActionsConfigurationForRow
public UISwipeActionsConfiguration getTrailingSwipeActionsConfigurationForRow(UITableView tableView, NSIndexPath indexPath)
- Specified by:
getTrailingSwipeActionsConfigurationForRow
in interfaceUITableViewDelegate
-
shouldSpringLoadRow
public boolean shouldSpringLoadRow(UITableView tableView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)
- Specified by:
shouldSpringLoadRow
in interfaceUITableViewDelegate
-
-