Package org.robovm.apple.uikit
Class UITableViewController
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIResponder
org.robovm.apple.uikit.UIViewController
org.robovm.apple.uikit.UITableViewController
- All Implemented Interfaces:
NSCoding,NSExtensionRequestHandling,NSObjectProtocol,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UIScrollViewDelegate,UIStateRestoring,UITableViewDataSource,UITableViewDelegate,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
- Direct Known Subclasses:
CABTMIDICentralViewController
public class UITableViewController extends UIViewController implements UITableViewDelegate, UITableViewDataSource
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUITableViewController.UITableViewControllerPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIViewController
UIViewController.Notifications, UIViewController.UIViewControllerPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description UITableViewController()UITableViewController(String nibNameOrNil, NSBundle nibBundleOrNil)UITableViewController(NSCoder coder)protectedUITableViewController(NSObject.Handle h, long handle)protectedUITableViewController(NSObject.SkipInit skipInit)UITableViewController(UITableViewStyle style) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIViewController
addChildViewController, addKeyCommand, applicationFinishedRestoringState, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, beginRequest, canPerformUnwind, canPerformUnwindSegueAction, collapseSecondaryViewController, contentScrollViewForEdge, decodeRestorableState, definesPresentationContext, didMoveToParentViewController, didReceiveMemoryWarning, didRotate, didUpdateFocus, disablesAutomaticKeyboardDismissal, dismissMoviePlayerViewController, dismissViewController, encode, encodeRestorableState, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, getAdditionalSafeAreaInsets, getAllowedChildViewControllersForUnwinding, getBottomLayoutGuide, getChildViewControllerContainingSegueSource, getChildViewControllerForHomeIndicatorAutoHidden, getChildViewControllerForPointerLock, getChildViewControllerForScreenEdgesDeferringSystemGestures, getChildViewControllerForStatusBarHidden, getChildViewControllerForStatusBarStyle, getChildViewControllers, getContentSizeForViewInPopover, getEdgesForExtendedLayout, getEditButtonItem, getExtensionContext, getFocusGroupIdentifier, getFocusItemContainer, getInterfaceOrientation, getInterstitialPresentationPolicy, getModalPresentationStyle, getModalTransitionStyle, getNavigationController, getNavigationItem, getNibBundle, getNibName, getObjectRestorationClass, getOriginalContentView, getOverrideTraitCollection, getOverrideUserInterfaceStyle, getParentFocusEnvironment, getParentViewController, getPopoverPresentationController, getPreferredContentSize, getPreferredFocusedView, getPreferredFocusEnvironments, getPreferredInterfaceOrientationForPresentation, getPreferredScreenEdgesDeferringSystemGestures, getPreferredStatusBarStyle, getPreferredStatusBarUpdateAnimation, getPresentationController, getPresentedViewController, getPresentingViewController, getPreviewActionItems, getRestorationClass, getRestorationIdentifier, getRestorationParent, getRotatingFooterView, getRotatingHeaderView, getSearchDisplayController, getSegueForUnwinding, getSheetPresentationController, getSplitViewController, getStoryboard, getSupportedInterfaceOrientations, getSystemMinimumLayoutMargins, getTabBarController, getTabBarItem, getTargetViewControllerForAction, getTitle, getToolbarItems, getTopLayoutGuide, getTraitCollection, getTransitionCoordinator, getTransitioningDelegate, getView, getViewControllerForUnwind, getViewIfLoaded, hidesBottomBarWhenPushed, isBeingDismissed, isBeingPresented, isCanDisplayBannerAds, isDisplayingBannerAd, isEditing, isModalInPopover, isModalInPresentation, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isRestoresFocusAfterTransition, isViewLoaded, isViewRespectsSystemMinimumLayoutMargins, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, performsActionsWhilePresentingModally, performSegue, preferredContentSizeDidChangeForChildContentContainer, prefersHomeIndicatorAutoHidden, prefersPointerLocked, prefersStatusBarHidden, prepareForSegue, prepareInterstitialAds, presentMoviePlayerViewController, presentViewController, providesPresentationContextTransitionStyle, registerForPreviewing, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, separateSecondaryViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentScrollView, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setExtendedLayoutIncludesOpaqueBars, setFocusGroupIdentifier, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalInPresentation, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfPrefersPointerLocked, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollection, setOverrideUserInterfaceStyle, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldPerformSegue, shouldPresentInterstitialAd, shouldUpdateFocus, ShowDetailTargetDidChangeNotification, showDetailViewController, showViewController, sizeForChildContentContainer, systemLayoutFittingSizeDidChangeForChildContentContainer, traitCollectionDidChange, transition, unregisterForPreviewing, unwind, updateFocusIfNeeded, updateViewConstraints, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewLayoutMarginsDidChange, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSize, wantsFullScreenLayout, willAnimateRotation, willMoveToParentViewController, willRotate, willTransitionToTraitCollectionMethods inherited from class org.robovm.apple.uikit.UIResponder
becomeFirstResponder, buildMenu, canBecomeFirstResponder, canPasteItemProviders, canPerformAction, canResignFirstResponder, captureTextFromCamera, clearTextInputContextIdentifier, copy, cut, decreaseSize, delete, getActionTarget, getActivityItemsConfiguration, getEditingInteractionConfiguration, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getPasteConfiguration, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, increaseSize, isFirstResponder, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBegan, motionCancelled, motionEnded, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteItemProviders, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, print, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods 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 class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
UITableViewController
public UITableViewController() -
UITableViewController
-
UITableViewController
-
UITableViewController
-
UITableViewController
-
UITableViewController
-
-
Method Details
-
getTableView
-
setTableView
-
clearsSelectionOnViewWillAppear
public boolean clearsSelectionOnViewWillAppear() -
setClearsSelectionOnViewWillAppear
public void setClearsSelectionOnViewWillAppear(boolean v) -
getRefreshControl
-
setRefreshControl
-
init
-
init
- Overrides:
initin classUIViewController
-
init
- Overrides:
initin classUIViewController
-
willDisplayCell
- Specified by:
willDisplayCellin interfaceUITableViewDelegate
-
willDisplayHeaderView
- Specified by:
willDisplayHeaderViewin interfaceUITableViewDelegate
-
didEndDisplayingCell
public void didEndDisplayingCell(UITableView tableView, UITableViewCell cell, NSIndexPath indexPath)- Specified by:
didEndDisplayingCellin interfaceUITableViewDelegate
-
didEndDisplayingHeaderView
- Specified by:
didEndDisplayingHeaderViewin interfaceUITableViewDelegate
-
getHeightForRow
- Specified by:
getHeightForRowin interfaceUITableViewDelegate
-
getHeightForHeader
- Specified by:
getHeightForHeaderin interfaceUITableViewDelegate
-
getEstimatedHeightForRow
- Specified by:
getEstimatedHeightForRowin interfaceUITableViewDelegate
-
getEstimatedHeightForHeader
- Specified by:
getEstimatedHeightForHeaderin interfaceUITableViewDelegate
-
getViewForHeader
- Specified by:
getViewForHeaderin interfaceUITableViewDelegate
-
accessoryButtonTapped
- Specified by:
accessoryButtonTappedin interfaceUITableViewDelegate
-
shouldHighlightRow
- Specified by:
shouldHighlightRowin interfaceUITableViewDelegate
-
didHighlightRow
- Specified by:
didHighlightRowin interfaceUITableViewDelegate
-
didUnhighlightRow
- Specified by:
didUnhighlightRowin interfaceUITableViewDelegate
-
willSelectRow
- Specified by:
willSelectRowin interfaceUITableViewDelegate
-
willDeselectRow
- Specified by:
willDeselectRowin interfaceUITableViewDelegate
-
didSelectRow
- Specified by:
didSelectRowin interfaceUITableViewDelegate
-
didDeselectRow
- Specified by:
didDeselectRowin interfaceUITableViewDelegate
-
getEditingStyleForRow
public UITableViewCellEditingStyle getEditingStyleForRow(UITableView tableView, NSIndexPath indexPath)- Specified by:
getEditingStyleForRowin interfaceUITableViewDelegate
-
getTitleForDeleteConfirmationButton
- Specified by:
getTitleForDeleteConfirmationButtonin interfaceUITableViewDelegate
-
getEditActionsForRow
@Deprecated public NSArray<UITableViewRowAction> getEditActionsForRow(UITableView tableView, NSIndexPath indexPath)Deprecated.Deprecated in iOS 13.0. Use tableView:trailingSwipeActionsConfigurationForRowAtIndexPath:- Specified by:
getEditActionsForRowin interfaceUITableViewDelegate
-
getLeadingSwipeActionsConfigurationForRow
public UISwipeActionsConfiguration getLeadingSwipeActionsConfigurationForRow(UITableView tableView, NSIndexPath indexPath)- Specified by:
getLeadingSwipeActionsConfigurationForRowin interfaceUITableViewDelegate- Since:
- Available in iOS 11.0 and later.
-
getTrailingSwipeActionsConfigurationForRow
public UISwipeActionsConfiguration getTrailingSwipeActionsConfigurationForRow(UITableView tableView, NSIndexPath indexPath)- Specified by:
getTrailingSwipeActionsConfigurationForRowin interfaceUITableViewDelegate- Since:
- Available in iOS 11.0 and later.
-
shouldIndentWhileEditingRow
- Specified by:
shouldIndentWhileEditingRowin interfaceUITableViewDelegate
-
willBeginEditingRow
- Specified by:
willBeginEditingRowin interfaceUITableViewDelegate
-
didEndEditingRow
- Specified by:
didEndEditingRowin interfaceUITableViewDelegate
-
getTargetForMove
public NSIndexPath getTargetForMove(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath proposedDestinationIndexPath)- Specified by:
getTargetForMovein interfaceUITableViewDelegate
-
getIndentationLevelForRow
- Specified by:
getIndentationLevelForRowin interfaceUITableViewDelegate
-
shouldShowMenuForRow
Deprecated.Deprecated in iOS 13.0. Use tableView:contextMenuConfigurationForRowAtIndexPath:point:- Specified by:
shouldShowMenuForRowin interfaceUITableViewDelegate
-
canPerformAction
@Deprecated public boolean canPerformAction(UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender)Deprecated.Deprecated in iOS 13.0. Use tableView:contextMenuConfigurationForRowAtIndexPath:point:- Specified by:
canPerformActionin interfaceUITableViewDelegate
-
performActionForRow
@Deprecated public void performActionForRow(UITableView tableView, Selector action, NSIndexPath indexPath, NSObject sender)Deprecated.Deprecated in iOS 13.0. Use tableView:contextMenuConfigurationForRowAtIndexPath:- Specified by:
performActionForRowin interfaceUITableViewDelegate
-
canFocusRow
- Specified by:
canFocusRowin interfaceUITableViewDelegate- Since:
- Available in iOS 9.0 and later.
-
shouldUpdateFocus
- Specified by:
shouldUpdateFocusin interfaceUITableViewDelegate- Since:
- Available in iOS 9.0 and later.
-
didUpdateFocus
public void didUpdateFocus(UITableView tableView, UITableViewFocusUpdateContext context, UIFocusAnimationCoordinator coordinator)- Specified by:
didUpdateFocusin interfaceUITableViewDelegate- Since:
- Available in iOS 9.0 and later.
-
getIndexPathForPreferredFocusedView
- Specified by:
getIndexPathForPreferredFocusedViewin interfaceUITableViewDelegate- Since:
- Available in iOS 9.0 and later.
-
isSelectionFollowsFocus
- Specified by:
isSelectionFollowsFocusin interfaceUITableViewDelegate- Since:
- Available in iOS 15.0 and later.
-
shouldSpringLoadRow
public boolean shouldSpringLoadRow(UITableView tableView, NSIndexPath indexPath, UISpringLoadedInteractionContext context)- Specified by:
shouldSpringLoadRowin interfaceUITableViewDelegate- Since:
- Available in iOS 11.0 and later.
-
shouldBeginMultipleSelectionInteraction
public boolean shouldBeginMultipleSelectionInteraction(UITableView tableView, NSIndexPath indexPath)- Specified by:
shouldBeginMultipleSelectionInteractionin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
didBeginMultipleSelectionInteraction
- Specified by:
didBeginMultipleSelectionInteractionin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
tableViewDidEndMultipleSelectionInteraction
- Specified by:
tableViewDidEndMultipleSelectionInteractionin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
getContextMenuConfiguration
public UIContextMenuConfiguration getContextMenuConfiguration(UITableView tableView, NSIndexPath indexPath, CGPoint point)- Specified by:
getContextMenuConfigurationin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
getPreviewForHighlightingContextMenu
public UITargetedPreview getPreviewForHighlightingContextMenu(UITableView tableView, UIContextMenuConfiguration configuration)- Specified by:
getPreviewForHighlightingContextMenuin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
getPreviewForDismissingContextMenu
public UITargetedPreview getPreviewForDismissingContextMenu(UITableView tableView, UIContextMenuConfiguration configuration)- Specified by:
getPreviewForDismissingContextMenuin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
willPerformPreviewAction
public void willPerformPreviewAction(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionCommitAnimating animator)- Specified by:
willPerformPreviewActionin interfaceUITableViewDelegate- Since:
- Available in iOS 13.0 and later.
-
willDisplayContextMenu
public void willDisplayContextMenu(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)- Specified by:
willDisplayContextMenuin interfaceUITableViewDelegate- Since:
- Available in iOS 14.0 and later.
-
willEndContextMenuInteraction
public void willEndContextMenuInteraction(UITableView tableView, UIContextMenuConfiguration configuration, UIContextMenuInteractionAnimating animator)- Specified by:
willEndContextMenuInteractionin interfaceUITableViewDelegate- Since:
- Available in iOS 14.0 and later.
-
didScroll
- Specified by:
didScrollin interfaceUIScrollViewDelegate
-
didZoom
- Specified by:
didZoomin interfaceUIScrollViewDelegate
-
willBeginDragging
- Specified by:
willBeginDraggingin interfaceUIScrollViewDelegate
-
willEndDragging
public void willEndDragging(UIScrollView scrollView, CGPoint velocity, CGPoint targetContentOffset)- Specified by:
willEndDraggingin interfaceUIScrollViewDelegate
-
didEndDragging
- Specified by:
didEndDraggingin interfaceUIScrollViewDelegate
-
willBeginDecelerating
- Specified by:
willBeginDeceleratingin interfaceUIScrollViewDelegate
-
didEndDecelerating
- Specified by:
didEndDeceleratingin interfaceUIScrollViewDelegate
-
didEndScrollingAnimation
- Specified by:
didEndScrollingAnimationin interfaceUIScrollViewDelegate
-
getViewForZooming
- Specified by:
getViewForZoomingin interfaceUIScrollViewDelegate
-
willBeginZooming
- Specified by:
willBeginZoomingin interfaceUIScrollViewDelegate
-
didEndZooming
- Specified by:
didEndZoomingin interfaceUIScrollViewDelegate
-
shouldScrollToTop
- Specified by:
shouldScrollToTopin interfaceUIScrollViewDelegate
-
didScrollToTop
- Specified by:
didScrollToTopin interfaceUIScrollViewDelegate
-
scrollViewDidChangeAdjustedContentInset
- Specified by:
scrollViewDidChangeAdjustedContentInsetin interfaceUIScrollViewDelegate- Since:
- Available in iOS 11.0 and later.
-
getNumberOfRowsInSection
- Specified by:
getNumberOfRowsInSectionin interfaceUITableViewDataSource
-
getCellForRow
- Specified by:
getCellForRowin interfaceUITableViewDataSource
-
getNumberOfSections
- Specified by:
getNumberOfSectionsin interfaceUITableViewDataSource
-
getTitleForHeader
- Specified by:
getTitleForHeaderin interfaceUITableViewDataSource
-
canEditRow
- Specified by:
canEditRowin interfaceUITableViewDataSource
-
canMoveRow
- Specified by:
canMoveRowin interfaceUITableViewDataSource
-
getSectionIndexTitles
- Specified by:
getSectionIndexTitlesin interfaceUITableViewDataSource
-
getSectionForSectionIndexTitle
- Specified by:
getSectionForSectionIndexTitlein interfaceUITableViewDataSource
-
commitEditingStyleForRow
public void commitEditingStyleForRow(UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath)- Specified by:
commitEditingStyleForRowin interfaceUITableViewDataSource
-
moveRow
public void moveRow(UITableView tableView, NSIndexPath sourceIndexPath, NSIndexPath destinationIndexPath)- Specified by:
moveRowin interfaceUITableViewDataSource
-