Package org.robovm.apple.uikit
Class UITableView
- All Implemented Interfaces:
CALayerDelegate,NSCoding,NSObjectProtocol,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UICoordinateSpace,UIDataSourceTranslating,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIFocusItemScrollableContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UISpringLoadedInteractionSupporting,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
public class UITableView extends UIScrollView implements NSCoding, UIDataSourceTranslating, UISpringLoadedInteractionSupporting
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUITableView.Notificationsstatic classUITableView.UITableViewPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIScrollView
UIScrollView.UIScrollViewPtrNested 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
-
Constructor Summary
Constructors Modifier Constructor Description UITableView()UITableView(CGRect frame)UITableView(CGRect frame, UITableViewStyle style)UITableView(NSCoder coder)protectedUITableView(NSObject.Handle h, long handle)protectedUITableView(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIScrollView
adjustedContentInsetDidChange, alwaysBounceHorizontal, alwaysBounceVertical, automaticallyAdjustsScrollIndicatorInsets, bounces, bouncesZoom, canCancelContentTouches, delaysContentTouches, flashScrollIndicators, getAdjustedContentInset, getContentInset, getContentInsetAdjustmentBehavior, getContentLayoutGuide, getContentOffset, getContentSize, getDecelerationRate, getDirectionalPressGestureRecognizer, getFastDecelerationRate, getFrameLayoutGuide, getHorizontalScrollIndicatorInsets, getIndexDisplayMode, getIndicatorStyle, getKeyboardDismissMode, getMaximumZoomScale, getMinimumZoomScale, getNormalDecelerationRate, getPanGestureRecognizer, getPinchGestureRecognizer, getRefreshControl, getScrollIndicatorInsets, getVerticalScrollIndicatorInsets, getVisibleSize, getZoomScale, isDecelerating, isDirectionalLockEnabled, isDragging, isPagingEnabled, isScrollEnabled, isTracking, isZoomBouncing, isZooming, scrollRectToVisible, scrollsToTop, setAlwaysBounceHorizontal, setAlwaysBounceVertical, setAutomaticallyAdjustsScrollIndicatorInsets, setBounces, setBouncesZoom, setCanCancelContentTouches, setContentInset, setContentInsetAdjustmentBehavior, setContentOffset, setContentOffset, setContentSize, setDecelerationRate, setDelaysContentTouches, setDelegate, setDirectionalLockEnabled, setHorizontalScrollIndicatorInsets, setIndexDisplayMode, setIndicatorStyle, setKeyboardDismissMode, setMaximumZoomScale, setMinimumZoomScale, setPagingEnabled, setRefreshControl, setScrollEnabled, setScrollIndicatorInsets, setScrollsToTop, setShowsHorizontalScrollIndicator, setShowsVerticalScrollIndicator, setVerticalScrollIndicatorInsets, setZoomScale, setZoomScale, showsHorizontalScrollIndicator, showsVerticalScrollIndicator, touchesShouldBegin, touchesShouldCancelInContentView, zoomToRectMethods inherited from class org.robovm.apple.uikit.UIView
addConstraint, addConstraints, addGestureRecognizer, addInteraction, addKeyframe, addLayoutGuide, addMotionEffect, addSubview, animate, animate, animate, animate, animateKeyframes, areAnimationsEnabled, autoresizesSubviews, beginAnimations, bringSubviewToFront, canBecomeFocused, clearsContextBeforeDrawing, clipsToBounds, commitAnimations, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableState, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocus, displayLayer, draw, draw, drawLayer, drawViewHierarchy, encode, encodeRestorableState, endEditing, exchangeSubview, exerciseAmbiguityInLayout, focusItemsInRect, gestureRecognizerShouldBegin, getAccessibilityIdentifier, getAction, getAlignmentRectForFrame, getAlignmentRectInsets, getAlpha, getAppliedContentSizeCategoryLimitsDescription, getAutoresizingMask, getBackgroundColor, getBottomAnchor, getBounds, getCenter, getCenterXAnchor, getCenterYAnchor, getCollisionBoundingPath, getCollisionBoundsType, getConstraints, getConstraintsAffectingLayout, getContentCompressionResistancePriority, getContentHuggingPriority, getContentMode, getContentScaleFactor, getCoordinateSpace, getDirectionalLayoutMargins, getEffectiveUserInterfaceLayoutDirection, getFirstBaselineAnchor, getFocusEffect, getFocusGroupIdentifier, getFocusGroupPriority, getFocusItemContainer, getFrame, getFrameForAlignmentRect, getGestureRecognizers, getHeightAnchor, getInheritedAnimationDuration, getInteractions, getIntrinsicContentSize, getKeyboardLayoutGuide, getLargeContentImage, getLargeContentImageInsets, getLargeContentTitle, getLastBaselineAnchor, getLayer, getLayoutGuides, getLayoutMargins, getLayoutMarginsGuide, getLeadingAnchor, getLeftAnchor, getMaskView, getMaximumContentSizeCategory, getMinimumContentSizeCategory, getMotionEffects, getOverrideUserInterfaceStyle, getParentFocusEnvironment, getPreferredFocusedView, getPreferredFocusEnvironments, getReadableContentGuide, getResizableSnapshot, getRestorationIdentifier, getRightAnchor, getSafeAreaInsets, getSafeAreaLayoutGuide, getSemanticContentAttribute, getSizeThatFits, getSnapshot, getSubviews, getSuperview, getSystemLayoutSizeFittingSize, getSystemLayoutSizeFittingSize, getTag, getTintAdjustmentMode, getTintColor, getTopAnchor, getTrailingAnchor, getTraitCollection, getTransform, getTransform3D, getViewForBaselineLayout, getViewForFirstBaselineLayout, getViewForLastBaselineLayout, getViewPrintFormatter, getViewWithTag, getWidthAnchor, getWindow, hasAmbiguousLayout, hitTest, init, insertSubview, insertSubviewAbove, insertSubviewBelow, invalidateIntrinsicContentSize, isAccessibilityIgnoresInvertColors, isDescendantOf, isExclusiveTouch, isFocused, isHidden, isInsetsLayoutMarginsFromSafeArea, isMultipleTouchEnabled, isOpaque, isPointInside, isScalesLargeContentImage, isTransparentFocusItem, isUserInteractionEnabled, layoutIfNeeded, layoutMarginsDidChange, layoutSublayers, layoutSubviews, modifyAnimations, needsUpdateConstraints, NoIntrinsicMetric, performSystemAnimation, performWithoutAnimation, preservesSuperviewLayoutMargins, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, requiresConstraintBasedLayout, safeAreaInsetsDidChange, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnimationBeginsFromCurrentState, setAnimationCurve, setAnimationDelay, setAnimationDelegate, setAnimationDidStopSelector, setAnimationDurationInSeconds, setAnimationRepeatAutoreverses, setAnimationRepeatCount, setAnimationsEnabled, setAnimationStartDate, setAnimationTransition, setAnimationWillStartSelector, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriority, setContentHuggingPriority, setContentMode, setContentScaleFactor, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplay, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocus, showsLargeContentViewer, sizeToFit, tintColorDidChange, traitCollectionDidChange, transition, transition, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, willDrawLayer, willMoveToSuperview, willMoveToWindow, willRemoveSubviewMethods 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 interface org.robovm.apple.uikit.UIFocusItemContainer
focusItemsInRect, getCoordinateSpace
-
Constructor Details
-
UITableView
public UITableView() -
UITableView
-
UITableView
-
UITableView
-
UITableView
-
UITableView
-
-
Method Details
-
getStyle
-
getDataSource
-
setDataSource
-
getDelegate
- Overrides:
getDelegatein classUIScrollView
-
setDelegate
-
getPrefetchDataSource
- Since:
- Available in iOS 10.0 and later.
-
setPrefetchDataSource
- Since:
- Available in iOS 10.0 and later.
-
isPrefetchingEnabled
public boolean isPrefetchingEnabled()- Since:
- Available in iOS 15.0 and later.
-
setPrefetchingEnabled
public void setPrefetchingEnabled(boolean v)- Since:
- Available in iOS 15.0 and later.
-
getDragDelegate
- Since:
- Available in iOS 11.0 and later.
-
setDragDelegate
- Since:
- Available in iOS 11.0 and later.
-
getDropDelegate
- Since:
- Available in iOS 11.0 and later.
-
setDropDelegate
- Since:
- Available in iOS 11.0 and later.
-
getRowHeight
public double getRowHeight() -
setRowHeight
public void setRowHeight(double v) -
getSectionHeaderHeight
public double getSectionHeaderHeight() -
setSectionHeaderHeight
public void setSectionHeaderHeight(double v) -
getSectionFooterHeight
public double getSectionFooterHeight() -
setSectionFooterHeight
public void setSectionFooterHeight(double v) -
getEstimatedRowHeight
public double getEstimatedRowHeight() -
setEstimatedRowHeight
public void setEstimatedRowHeight(double v) -
getEstimatedSectionHeaderHeight
public double getEstimatedSectionHeaderHeight() -
setEstimatedSectionHeaderHeight
public void setEstimatedSectionHeaderHeight(double v) -
getEstimatedSectionFooterHeight
public double getEstimatedSectionFooterHeight() -
setEstimatedSectionFooterHeight
public void setEstimatedSectionFooterHeight(double v) -
getFillerRowHeight
public double getFillerRowHeight()- Since:
- Available in iOS 15.0 and later.
-
setFillerRowHeight
public void setFillerRowHeight(double v)- Since:
- Available in iOS 15.0 and later.
-
getSectionHeaderTopPadding
public double getSectionHeaderTopPadding()- Since:
- Available in iOS 15.0 and later.
-
setSectionHeaderTopPadding
public void setSectionHeaderTopPadding(double v)- Since:
- Available in iOS 15.0 and later.
-
getSeparatorInset
-
setSeparatorInset
-
getSeparatorInsetReference
- Since:
- Available in iOS 11.0 and later.
-
setSeparatorInsetReference
- Since:
- Available in iOS 11.0 and later.
-
getBackgroundView
-
setBackgroundView
-
getContextMenuInteraction
- Since:
- Available in iOS 14.0 and later.
-
getNumberOfSections
public long getNumberOfSections() -
getVisibleCells
-
getIndexPathsForVisibleRows
-
hasUncommittedUpdates
public boolean hasUncommittedUpdates()- Since:
- Available in iOS 11.0 and later.
-
isEditing
public boolean isEditing() -
setEditing
public void setEditing(boolean v) -
allowsSelection
public boolean allowsSelection() -
setAllowsSelection
public void setAllowsSelection(boolean v) -
allowsSelectionDuringEditing
public boolean allowsSelectionDuringEditing() -
setAllowsSelectionDuringEditing
public void setAllowsSelectionDuringEditing(boolean v) -
allowsMultipleSelection
public boolean allowsMultipleSelection() -
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean v) -
allowsMultipleSelectionDuringEditing
public boolean allowsMultipleSelectionDuringEditing() -
setAllowsMultipleSelectionDuringEditing
public void setAllowsMultipleSelectionDuringEditing(boolean v) -
getIndexPathForSelectedRow
-
getIndexPathsForSelectedRows
-
getSectionIndexMinimumDisplayRowCount
public long getSectionIndexMinimumDisplayRowCount() -
setSectionIndexMinimumDisplayRowCount
public void setSectionIndexMinimumDisplayRowCount(long v) -
getSectionIndexColor
-
setSectionIndexColor
-
getSectionIndexBackgroundColor
-
setSectionIndexBackgroundColor
-
getSectionIndexTrackingBackgroundColor
-
setSectionIndexTrackingBackgroundColor
-
getSeparatorStyle
-
setSeparatorStyle
-
getSeparatorColor
-
setSeparatorColor
-
getSeparatorEffect
-
setSeparatorEffect
-
cellLayoutMarginsFollowReadableWidth
public boolean cellLayoutMarginsFollowReadableWidth()- Since:
- Available in iOS 9.0 and later.
-
setCellLayoutMarginsFollowReadableWidth
public void setCellLayoutMarginsFollowReadableWidth(boolean v)- Since:
- Available in iOS 9.0 and later.
-
isInsetsContentViewsToSafeArea
public boolean isInsetsContentViewsToSafeArea()- Since:
- Available in iOS 11.0 and later.
-
setInsetsContentViewsToSafeArea
public void setInsetsContentViewsToSafeArea(boolean v)- Since:
- Available in iOS 11.0 and later.
-
getTableHeaderView
-
setTableHeaderView
-
getTableFooterView
-
setTableFooterView
-
remembersLastFocusedIndexPath
public boolean remembersLastFocusedIndexPath()- Since:
- Available in iOS 9.0 and later.
-
setRemembersLastFocusedIndexPath
public void setRemembersLastFocusedIndexPath(boolean v)- Since:
- Available in iOS 9.0 and later.
-
isSelectionFollowsFocus
public boolean isSelectionFollowsFocus()- Since:
- Available in iOS 14.0 and later.
-
setSelectionFollowsFocus
public void setSelectionFollowsFocus(boolean v)- Since:
- Available in iOS 14.0 and later.
-
allowsFocus
public boolean allowsFocus()- Since:
- Available in iOS 15.0 and later.
-
setAllowsFocus
public void setAllowsFocus(boolean v)- Since:
- Available in iOS 15.0 and later.
-
allowsFocusDuringEditing
public boolean allowsFocusDuringEditing()- Since:
- Available in iOS 15.0 and later.
-
setAllowsFocusDuringEditing
public void setAllowsFocusDuringEditing(boolean v)- Since:
- Available in iOS 15.0 and later.
-
isDragInteractionEnabled
public boolean isDragInteractionEnabled()- Since:
- Available in iOS 11.0 and later.
-
setDragInteractionEnabled
public void setDragInteractionEnabled(boolean v)- Since:
- Available in iOS 11.0 and later.
-
hasActiveDrag
public boolean hasActiveDrag()- Since:
- Available in iOS 11.0 and later.
-
hasActiveDrop
public boolean hasActiveDrop()- Since:
- Available in iOS 11.0 and later.
-
getLayerClass
-
isSpringLoaded
public boolean isSpringLoaded()- Specified by:
isSpringLoadedin interfaceUISpringLoadedInteractionSupporting- Since:
- Available in iOS 11.0 and later.
-
setSpringLoaded
public void setSpringLoaded(boolean v)- Specified by:
setSpringLoadedin interfaceUISpringLoadedInteractionSupporting- Since:
- Available in iOS 11.0 and later.
-
insertRow
-
deleteRow
-
reloadRow
-
setModel
-
getModel
-
getIndexSearch
-
getAutomaticDimension
public static double getAutomaticDimension() -
SelectionDidChangeNotification
-
init
-
init
-
getNumberOfRowsInSection
public long getNumberOfRowsInSection(long section) -
getRectForSection
-
getRectForHeaderInSection
-
getRectForFooterInSection
-
getRectForRow
-
getIndexPathForRow
-
getIndexPathForCell
-
getIndexPathsForRowsInRect
-
getCellForRow
-
getHeaderViewForSection
-
getFooterViewForSection
-
scrollToRow
public void scrollToRow(NSIndexPath indexPath, UITableViewScrollPosition scrollPosition, boolean animated) -
scrollToNearestSelectedRow
-
performBatchUpdates
- Since:
- Available in iOS 11.0 and later.
-
beginUpdates
public void beginUpdates() -
endUpdates
public void endUpdates() -
insertSections
-
deleteSections
-
moveSection
public void moveSection(long section, long newSection) -
reloadSections
-
insertRows
-
deleteRows
-
moveRow
-
reloadRows
-
reconfigureRowsAtIndexPaths
- Since:
- Available in iOS 15.0 and later.
-
reloadData
public void reloadData() -
reloadSectionIndexTitles
public void reloadSectionIndexTitles() -
setEditing
public void setEditing(boolean editing, boolean animated) -
selectRow
public void selectRow(NSIndexPath indexPath, boolean animated, UITableViewScrollPosition scrollPosition) -
deselectRow
-
dequeueReusableCell
-
dequeueReusableCell
-
dequeueReusableHeaderFooterView
-
registerReusableCellNib
-
registerReusableCellClass
public void registerReusableCellClass(Class<? extends UITableViewCell> cellClass, String identifier) -
registerReusableHeaderFooterViewNib
-
registerReusableHeaderFooterViewClass
public void registerReusableHeaderFooterViewClass(Class<? extends UITableViewHeaderFooterView> aClass, String identifier) -
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute attribute)- Since:
- Available in iOS 9.0 and later.
-
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)- Since:
- Available in iOS 10.0 and later.
-
presentationSectionIndexForDataSourceSectionIndex
public long presentationSectionIndexForDataSourceSectionIndex(long dataSourceSectionIndex)- Specified by:
presentationSectionIndexForDataSourceSectionIndexin interfaceUIDataSourceTranslating
-
dataSourceSectionIndexForPresentationSectionIndex
public long dataSourceSectionIndexForPresentationSectionIndex(long presentationSectionIndex)- Specified by:
dataSourceSectionIndexForPresentationSectionIndexin interfaceUIDataSourceTranslating
-
presentationIndexPathForDataSourceIndexPath
- Specified by:
presentationIndexPathForDataSourceIndexPathin interfaceUIDataSourceTranslating
-
dataSourceIndexPathForPresentationIndexPath
- Specified by:
dataSourceIndexPathForPresentationIndexPathin interfaceUIDataSourceTranslating
-
performUsingPresentationValues
- Specified by:
performUsingPresentationValuesin interfaceUIDataSourceTranslating
-