Package apple.uikit
Class UITableView
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.uikit.UIScrollView
-
- apple.uikit.UITableView
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,UIAccessibilityIdentification,UIAppearance,UIAppearanceContainer,UICoordinateSpace,UIDataSourceTranslating,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIFocusItemScrollableContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UISpringLoadedInteractionSupporting,UITraitEnvironment,UIUserActivityRestoring
public class UITableView extends UIScrollView implements NSCoding, UIDataSourceTranslating, UISpringLoadedInteractionSupporting
_______________________________________________________________________________________________________________
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUITableView.Block_performBatchUpdatesCompletion_0static interfaceUITableView.Block_performBatchUpdatesCompletion_1-
Nested classes/interfaces inherited from class apple.uikit.UIView
UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationAnimations, UIView.Block_animateWithDurationAnimationsCompletion_1, UIView.Block_animateWithDurationAnimationsCompletion_2, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4, UIView.Block_performWithoutAnimation, UIView.Block_transitionFromViewToViewDurationOptionsCompletion, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIDataSourceTranslating
UIDataSourceTranslating.Block_performUsingPresentationValues
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUITableView(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.java.lang.Object_appearanceForTraitCollection(UITraitCollection trait)java.lang.Object_appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.java.lang.Object_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)java.lang.Object_appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.java.lang.Object_appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)static UITableViewalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanallowsMultipleSelection()default is NO.booleanallowsMultipleSelectionDuringEditing()default is NO.booleanallowsSelection()default is YES.booleanallowsSelectionDuringEditing()default is NO.static voidanimateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)static voidanimateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)static voidanimateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)static voidanimateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)static java.lang.Objectappearance()static java.lang.ObjectappearanceForTraitCollection(UITraitCollection trait)static java.lang.ObjectappearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static java.lang.ObjectappearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)static java.lang.ObjectappearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static java.lang.ObjectappearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)static booleanareAnimationsEnabled()static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)UIViewbackgroundView()the background view will be automatically resized to track the size of the table view.static voidbeginAnimationsContext(java.lang.String animationID, org.moe.natj.general.ptr.VoidPtr context)voidbeginUpdates()Use -performBatchUpdates:completion: instead of these methods, which will be deprecated in a future release.static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)UITableViewCellcellForRowAtIndexPath(NSIndexPath indexPath)returns nil if cell is not visible or index path is out of rangebooleancellLayoutMarginsFollowReadableWidth()if cell layout margins are derived from the width of the readableContentGuide. default is NO.static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(java.lang.String identifier)static voidcommitAnimations()UITableViewDataSourcedataSource()NSIndexPathdataSourceIndexPathForPresentationIndexPath(NSIndexPath presentationIndexPath)Translate (if needed) a Presentation index path to the Data Source index path.longdataSourceSectionIndexForPresentationSectionIndex(long presentationSectionIndex)Translate (if needed) a Presentation section index to its Data Source section index value.static java.lang.StringdebugDescription_static()java.lang.Objectdelegate()default nil. weak referencevoiddeleteRowsAtIndexPathsWithRowAnimation(NSArray<? extends NSIndexPath> indexPaths, long animation)voiddeleteSectionsWithRowAnimation(NSIndexSet sections, long animation)UITableViewCelldequeueReusableCellWithIdentifier(java.lang.String identifier)Used by the delegate to acquire an already allocated cell, in lieu of allocating a new one.UITableViewCelldequeueReusableCellWithIdentifierForIndexPath(java.lang.String identifier, NSIndexPath indexPath)newer dequeue method guarantees a cell is returned and resized properly, assuming identifier is registeredUITableViewHeaderFooterViewdequeueReusableHeaderFooterViewWithIdentifier(java.lang.String identifier)like dequeueReusableCellWithIdentifier:, but for headers/footersstatic java.lang.Stringdescription_static()voiddeselectRowAtIndexPathAnimated(NSIndexPath indexPath, boolean animated)UITableViewDragDelegatedragDelegate()booleandragInteractionEnabled()To enable intra-app drags on iPhone, set this to YES.UITableViewDropDelegatedropDelegate()voidencodeWithCoder(NSCoder coder)voidendUpdates()doubleestimatedRowHeight()default is UITableViewAutomaticDimension, set to 0 to disabledoubleestimatedSectionFooterHeight()default is UITableViewAutomaticDimension, set to 0 to disabledoubleestimatedSectionHeaderHeight()default is UITableViewAutomaticDimension, set to 0 to disableUITableViewHeaderFooterViewfooterViewForSection(long section)booleanhasActiveDrag()YES if a drag session is currently active.booleanhasActiveDrop()YES if table view is currently tracking a drop session.static longhash_static()booleanhasUncommittedUpdates()Returns YES if the table view is in the middle of reordering, is displaying a drop target gap, or has drop placeholders.UITableViewHeaderFooterViewheaderViewForSection(long section)NSIndexPathindexPathForCell(UITableViewCell cell)returns nil if cell is not visibleNSIndexPathindexPathForRowAtPoint(CGPoint point)returns nil if point is outside of any row in the tableNSIndexPathindexPathForSelectedRow()returns nil or index path representing section and row of selection.NSArray<? extends NSIndexPath>indexPathsForRowsInRect(CGRect rect)returns nil if rect not validNSArray<? extends NSIndexPath>indexPathsForSelectedRows()returns nil or a set of index paths representing the sections and rows of the selection.NSArray<? extends NSIndexPath>indexPathsForVisibleRows()static doubleinheritedAnimationDuration()UITableViewinit()UITableViewinitWithCoder(NSCoder coder)NS_DESIGNATED_INITIALIZERUITableViewinitWithFrame(CGRect frame)UITableViewinitWithFrameStyle(CGRect frame, long style)must specify style at creation.voidinsertRowsAtIndexPathsWithRowAnimation(NSArray<? extends NSIndexPath> indexPaths, long animation)voidinsertSectionsWithRowAnimation(NSIndexSet sections, long animation)booleaninsetsContentViewsToSafeArea()default value is YESstatic NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)booleanisEditing()default is NO. setting is not animated.booleanisSpringLoaded()static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)static org.moe.natj.objc.ClasslayerClass()static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)voidmoveRowAtIndexPathToIndexPath(NSIndexPath indexPath, NSIndexPath newIndexPath)voidmoveSectionToSection(long section, long newSection)static java.lang.Objectnew_objc()longnumberOfRowsInSection(long section)longnumberOfSections()InfovoidperformBatchUpdatesCompletion(UITableView.Block_performBatchUpdatesCompletion_0 updates, UITableView.Block_performBatchUpdatesCompletion_1 completion)Allows multiple insert/delete/reload/move calls to be animated simultaneously.static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)voidperformUsingPresentationValues(UIDataSourceTranslating.Block_performUsingPresentationValues actionsToTranslate)Arguments passed to actions performed inside the scope of this block will be interpreted as values in the presentation state, and the values returned from these actions will also be in the presentation state.static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)UITableViewDataSourcePrefetchingprefetchDataSource()NSIndexPathpresentationIndexPathForDataSourceIndexPath(NSIndexPath dataSourceIndexPath)Translate (if needed) a Data Source index path to the Presentation index path.longpresentationSectionIndexForDataSourceSectionIndex(long dataSourceSectionIndex)Translate (if needed) a Data Source section index to its Presentation section index value.CGRectrectForFooterInSection(long section)CGRectrectForHeaderInSection(long section)CGRectrectForRowAtIndexPath(NSIndexPath indexPath)CGRectrectForSection(long section)includes header, footer and all rowsvoidregisterClassForCellReuseIdentifier(org.moe.natj.objc.Class cellClass, java.lang.String identifier)voidregisterClassForHeaderFooterViewReuseIdentifier(org.moe.natj.objc.Class aClass, java.lang.String identifier)voidregisterNibForCellReuseIdentifier(UINib nib, java.lang.String identifier)Beginning in iOS 6, clients can register a nib or class for each cell.voidregisterNibForHeaderFooterViewReuseIdentifier(UINib nib, java.lang.String identifier)voidreloadData()Reloads everything from scratch.voidreloadRowsAtIndexPathsWithRowAnimation(NSArray<? extends NSIndexPath> indexPaths, long animation)voidreloadSectionIndexTitles()Reloads the section index bar.voidreloadSectionsWithRowAnimation(NSIndexSet sections, long animation)booleanremembersLastFocusedIndexPath()defaults to NO.static booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)doublerowHeight()default is UITableViewAutomaticDimensionvoidscrollToNearestSelectedRowAtScrollPositionAnimated(long scrollPosition, boolean animated)voidscrollToRowAtIndexPathAtScrollPositionAnimated(NSIndexPath indexPath, long scrollPosition, boolean animated)doublesectionFooterHeight()default is UITableViewAutomaticDimensiondoublesectionHeaderHeight()default is UITableViewAutomaticDimensionUIColorsectionIndexBackgroundColor()the background color of the section index while not being touchedUIColorsectionIndexColor()color used for text of the section indexlongsectionIndexMinimumDisplayRowCount()show special section index list on right when row count reaches this value. default is 0UIColorsectionIndexTrackingBackgroundColor()the background color of the section index while it is being touchedbooleanselectionFollowsFocus()When enabled, the table view ensures that selection is automatically triggered when focus moves to a cell.voidselectRowAtIndexPathAnimatedScrollPosition(NSIndexPath indexPath, boolean animated, long scrollPosition)Selects and deselects rows.UIColorseparatorColor()default is the standard separator grayUIVisualEffectseparatorEffect()effect to apply to table separatorsUIEdgeInsetsseparatorInset()allows customization of the frame of cell separators; see also the separatorInsetReference property.longseparatorInsetReference()Changes how custom separatorInset values are interpreted.longseparatorStyle()default is UITableViewCellSeparatorStyleSingleLinevoidsetAllowsMultipleSelection(boolean value)default is NO.voidsetAllowsMultipleSelectionDuringEditing(boolean value)default is NO.voidsetAllowsSelection(boolean value)default is YES.voidsetAllowsSelectionDuringEditing(boolean value)default is NO.static voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)static voidsetAnimationCurve(long curve)static voidsetAnimationDelay(double delay)static voidsetAnimationDelegate(java.lang.Object delegate)static voidsetAnimationDidStopSelector(org.moe.natj.objc.SEL selector)static voidsetAnimationDuration_static(double duration)static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)static voidsetAnimationRepeatCount_static(float repeatCount)static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(NSDate startDate)static voidsetAnimationTransitionForViewCache(long transition, UIView view, boolean cache)static voidsetAnimationWillStartSelector(org.moe.natj.objc.SEL selector)voidsetBackgroundView(UIView value)the background view will be automatically resized to track the size of the table view.voidsetCellLayoutMarginsFollowReadableWidth(boolean value)if cell layout margins are derived from the width of the readableContentGuide. default is NO.voidsetDataSource(UITableViewDataSource value)voidsetDataSource_unsafe(UITableViewDataSource value)voidsetDelegate(java.lang.Object value)default nil. weak referencevoidsetDelegate_unsafe(java.lang.Object value)default nil. weak referencevoidsetDragDelegate(UITableViewDragDelegate value)voidsetDragDelegate_unsafe(UITableViewDragDelegate value)voidsetDragInteractionEnabled(boolean value)To enable intra-app drags on iPhone, set this to YES.voidsetDropDelegate(UITableViewDropDelegate value)voidsetDropDelegate_unsafe(UITableViewDropDelegate value)voidsetEditing(boolean value)default is NO. setting is not animated.voidsetEditingAnimated(boolean editing, boolean animated)voidsetEstimatedRowHeight(double value)default is UITableViewAutomaticDimension, set to 0 to disablevoidsetEstimatedSectionFooterHeight(double value)default is UITableViewAutomaticDimension, set to 0 to disablevoidsetEstimatedSectionHeaderHeight(double value)default is UITableViewAutomaticDimension, set to 0 to disablevoidsetInsetsContentViewsToSafeArea(boolean value)default value is YESvoidsetPrefetchDataSource(UITableViewDataSourcePrefetching value)voidsetPrefetchDataSource_unsafe(UITableViewDataSourcePrefetching value)voidsetRemembersLastFocusedIndexPath(boolean value)defaults to NO.voidsetRowHeight(double value)default is UITableViewAutomaticDimensionvoidsetSectionFooterHeight(double value)default is UITableViewAutomaticDimensionvoidsetSectionHeaderHeight(double value)default is UITableViewAutomaticDimensionvoidsetSectionIndexBackgroundColor(UIColor value)the background color of the section index while not being touchedvoidsetSectionIndexColor(UIColor value)color used for text of the section indexvoidsetSectionIndexMinimumDisplayRowCount(long value)show special section index list on right when row count reaches this value. default is 0voidsetSectionIndexTrackingBackgroundColor(UIColor value)the background color of the section index while it is being touchedvoidsetSelectionFollowsFocus(boolean value)When enabled, the table view ensures that selection is automatically triggered when focus moves to a cell.voidsetSeparatorColor(UIColor value)default is the standard separator grayvoidsetSeparatorEffect(UIVisualEffect value)effect to apply to table separatorsvoidsetSeparatorInset(UIEdgeInsets value)allows customization of the frame of cell separators; see also the separatorInsetReference property.voidsetSeparatorInsetReference(long value)Changes how custom separatorInset values are interpreted.voidsetSeparatorStyle(long value)default is UITableViewCellSeparatorStyleSingleLinevoidsetSpringLoaded(boolean value)voidsetTableFooterView(UIView value)accessory view below content. default is nil. not to be confused with section footervoidsetTableHeaderView(UIView value)accessory view for above row content. default is nil. not to be confused with section headerstatic voidsetVersion_static(long aVersion)longstyle()static org.moe.natj.objc.Classsuperclass_static()UIViewtableFooterView()accessory view below content. default is nil. not to be confused with section footerUIViewtableHeaderView()accessory view for above row content. default is nil. not to be confused with section headerstatic voidtransitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)static longuserInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)static longuserInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)static longversion_static()NSArray<? extends UITableViewCell>visibleCells()-
Methods inherited from class apple.uikit.UIScrollView
adjustedContentInset, adjustedContentInsetDidChange, alwaysBounceHorizontal, alwaysBounceVertical, automaticallyAdjustsScrollIndicatorInsets, bounces, bouncesZoom, canCancelContentTouches, contentInset, contentInsetAdjustmentBehavior, contentLayoutGuide, contentOffset, contentSize, coordinateSpace, decelerationRate, delaysContentTouches, directionalPressGestureRecognizer, flashScrollIndicators, focusItemsInRect, frameLayoutGuide, horizontalScrollIndicatorInsets, indexDisplayMode, indicatorStyle, isDecelerating, isDirectionalLockEnabled, isDragging, isPagingEnabled, isScrollEnabled, isTracking, isZoomBouncing, isZooming, keyboardDismissMode, maximumZoomScale, minimumZoomScale, panGestureRecognizer, pinchGestureRecognizer, refreshControl, scrollIndicatorInsets, scrollRectToVisibleAnimated, scrollsToTop, setAlwaysBounceHorizontal, setAlwaysBounceVertical, setAutomaticallyAdjustsScrollIndicatorInsets, setBounces, setBouncesZoom, setCanCancelContentTouches, setContentInset, setContentInsetAdjustmentBehavior, setContentOffset, setContentOffsetAnimated, setContentSize, setDecelerationRate, setDelaysContentTouches, setDirectionalLockEnabled, setHorizontalScrollIndicatorInsets, setIndexDisplayMode, setIndicatorStyle, setKeyboardDismissMode, setMaximumZoomScale, setMinimumZoomScale, setPagingEnabled, setRefreshControl, setScrollEnabled, setScrollIndicatorInsets, setScrollsToTop, setShowsHorizontalScrollIndicator, setShowsVerticalScrollIndicator, setVerticalScrollIndicatorInsets, setZoomScale, setZoomScaleAnimated, showsHorizontalScrollIndicator, showsVerticalScrollIndicator, touchesShouldBeginWithEventInContentView, touchesShouldCancelInContentView, verticalScrollIndicatorInsets, visibleSize, zoomScale, zoomToRectAnimated
-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, autoresizesSubviews, autoresizingMask, backgroundColor, bottomAnchor, bounds, bringSubviewToFront, canBecomeFocused, center, centerXAnchor, centerYAnchor, clearsContextBeforeDrawing, clipsToBounds, collisionBoundingPath, collisionBoundsType, constraints, constraintsAffectingLayoutForAxis, contentCompressionResistancePriorityForAxis, contentHuggingPriorityForAxis, contentMode, contentScaleFactor, contentStretch, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableStateWithCoder, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocusInContextWithAnimationCoordinator, directionalLayoutMargins, displayLayer, drawLayerInContext, drawRect, drawRectForViewPrintFormatter, drawViewHierarchyInRectAfterScreenUpdates, effectiveUserInterfaceLayoutDirection, encodeRestorableStateWithCoder, endEditing, exchangeSubviewAtIndexWithSubviewAtIndex, exerciseAmbiguityInLayout, firstBaselineAnchor, focusGroupIdentifier, focusItemContainer, frame, frameForAlignmentRect, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isUserInteractionEnabled, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusGroupIdentifier, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplayInRect, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocusInContext, showsLargeContentViewer, sizeThatFits, sizeToFit, snapshotViewAfterScreenUpdates, subviews, superview, systemLayoutSizeFittingSize, systemLayoutSizeFittingSizeWithHorizontalFittingPriorityVerticalFittingPriority, tag, tintAdjustmentMode, tintColor, tintColorDidChange, topAnchor, trailingAnchor, traitCollection, traitCollectionDidChange, transform, transform3D, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, copy, cut, decreaseSize, delete, editingInteractionConfiguration, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, nextResponder, paste, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, reloadInputViews, remoteControlReceivedWithEvent, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static UITableView alloc()
-
allocWithZone
public static java.lang.Object allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, UIView.Block_animateWithDurationAnimationsCompletion_1 animations, UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
public static java.lang.Object appearance()
-
appearanceForTraitCollection
public static java.lang.Object appearanceForTraitCollection(UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@Deprecated public static java.lang.Object appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
public static java.lang.Object appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@Deprecated public static java.lang.Object appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
public static java.lang.Object appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
-
beginAnimationsContext
public static void beginAnimationsContext(java.lang.String animationID, org.moe.natj.general.ptr.VoidPtr context)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(java.lang.String identifier)
-
commitAnimations
public static void commitAnimations()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
hash_static
public static long hash_static()
-
inheritedAnimationDuration
public static double inheritedAnimationDuration()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
layerClass
public static org.moe.natj.objc.Class layerClass()
-
new_objc
public static java.lang.Object new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)
-
requiresConstraintBasedLayout
public static boolean requiresConstraintBasedLayout()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setAnimationBeginsFromCurrentState
public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
-
setAnimationCurve
public static void setAnimationCurve(long curve)
-
setAnimationDelay
public static void setAnimationDelay(double delay)
-
setAnimationDelegate
public static void setAnimationDelegate(java.lang.Object delegate)
-
setAnimationDidStopSelector
public static void setAnimationDidStopSelector(org.moe.natj.objc.SEL selector)
-
setAnimationDuration_static
public static void setAnimationDuration_static(double duration)
-
setAnimationRepeatAutoreverses
public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
-
setAnimationRepeatCount_static
public static void setAnimationRepeatCount_static(float repeatCount)
-
setAnimationStartDate
public static void setAnimationStartDate(NSDate startDate)
-
setAnimationTransitionForViewCache
public static void setAnimationTransitionForViewCache(long transition, UIView view, boolean cache)
-
setAnimationWillStartSelector
public static void setAnimationWillStartSelector(org.moe.natj.objc.SEL selector)
-
setAnimationsEnabled
public static void setAnimationsEnabled(boolean enabled)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
transitionFromViewToViewDurationOptionsCompletion
public static void transitionFromViewToViewDurationOptionsCompletion(UIView fromView, UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(UIView view, double duration, long options, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_4 completion)
-
userInterfaceLayoutDirectionForSemanticContentAttribute
public static long userInterfaceLayoutDirectionForSemanticContentAttribute(long attribute)
-
userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection
public static long userInterfaceLayoutDirectionForSemanticContentAttributeRelativeToLayoutDirection(long semanticContentAttribute, long layoutDirection)
-
version_static
public static long version_static()
-
allowsMultipleSelection
public boolean allowsMultipleSelection()
default is NO. Controls whether multiple rows can be selected simultaneously
-
allowsMultipleSelectionDuringEditing
public boolean allowsMultipleSelectionDuringEditing()
default is NO. Controls whether multiple rows can be selected simultaneously in editing mode
-
allowsSelection
public boolean allowsSelection()
default is YES. Controls whether rows can be selected when not in editing mode
-
allowsSelectionDuringEditing
public boolean allowsSelectionDuringEditing()
default is NO. Controls whether rows can be selected when in editing mode
-
_appearance
public java.lang.Object _appearance()
Description copied from interface:UIAppearanceTo customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class. For example, to modify the bar tint color for all UINavigationBar instances: [[UINavigationBar appearance] setBarTintColor:myColor]; Note for iOS7: On iOS7 the tintColor property has moved to UIView, and now has special inherited behavior described in UIView.h. This inherited behavior can conflict with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy.- Specified by:
_appearancein interfaceUIAppearance- Overrides:
_appearancein classUIScrollView
-
_appearanceForTraitCollection
public java.lang.Object _appearanceForTraitCollection(UITraitCollection trait)
- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIScrollView
-
_appearanceForTraitCollectionWhenContainedIn
@Deprecated public java.lang.Object _appearanceForTraitCollectionWhenContainedIn(UITraitCollection trait, UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIScrollView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
public java.lang.Object _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(UITraitCollection trait, NSArray<?> containerTypes)
- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIScrollView
-
_appearanceWhenContainedIn
@Deprecated public java.lang.Object _appearanceWhenContainedIn(UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceTo customize the appearances for instances of a class contained within an instance of a container class, or instances in a hierarchy, use +appearanceWhenContainedInInstancesOfClasses: for the appropriate appearance proxy. For example: [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UISplitViewController class]]] setBarTintColor:myColor]; [[UINavigationBar appearanceWhenContainedInInstancesOfClasses:@[[UITabBarController class], [UISplitViewController class]]] setBarTintColor:myTabbedNavBarColor]; In any given view hierarchy the outermost appearance proxy wins. Specificity (depth of the chain) is the tie-breaker. In other words, the containment statement is treated as a partial ordering. Given a concrete ordering (actual subview hierarchy), we select the partial ordering that is the first unique match when reading the actual hierarchy from the window down.- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIScrollView
-
_appearanceWhenContainedInInstancesOfClasses
public java.lang.Object _appearanceWhenContainedInInstancesOfClasses(NSArray<?> containerTypes)
- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIScrollView
-
backgroundView
public UIView backgroundView()
the background view will be automatically resized to track the size of the table view. this will be placed as a subview of the table view behind all cells and headers/footers. default may be non-nil for some devices.
-
beginUpdates
public void beginUpdates()
Use -performBatchUpdates:completion: instead of these methods, which will be deprecated in a future release.
-
cellForRowAtIndexPath
public UITableViewCell cellForRowAtIndexPath(NSIndexPath indexPath)
returns nil if cell is not visible or index path is out of range
-
cellLayoutMarginsFollowReadableWidth
public boolean cellLayoutMarginsFollowReadableWidth()
if cell layout margins are derived from the width of the readableContentGuide. default is NO.
-
dataSource
public UITableViewDataSource dataSource()
-
delegate
public java.lang.Object delegate()
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
delegatein classUIScrollView
-
deleteRowsAtIndexPathsWithRowAnimation
public void deleteRowsAtIndexPathsWithRowAnimation(NSArray<? extends NSIndexPath> indexPaths, long animation)
-
deleteSectionsWithRowAnimation
public void deleteSectionsWithRowAnimation(NSIndexSet sections, long animation)
-
dequeueReusableCellWithIdentifier
public UITableViewCell dequeueReusableCellWithIdentifier(java.lang.String identifier)
Used by the delegate to acquire an already allocated cell, in lieu of allocating a new one.
-
dequeueReusableCellWithIdentifierForIndexPath
public UITableViewCell dequeueReusableCellWithIdentifierForIndexPath(java.lang.String identifier, NSIndexPath indexPath)
newer dequeue method guarantees a cell is returned and resized properly, assuming identifier is registered
-
dequeueReusableHeaderFooterViewWithIdentifier
public UITableViewHeaderFooterView dequeueReusableHeaderFooterViewWithIdentifier(java.lang.String identifier)
like dequeueReusableCellWithIdentifier:, but for headers/footers
-
deselectRowAtIndexPathAnimated
public void deselectRowAtIndexPathAnimated(NSIndexPath indexPath, boolean animated)
-
encodeWithCoder
public void encodeWithCoder(NSCoder coder)
- Specified by:
encodeWithCoderin interfaceNSCoding- Overrides:
encodeWithCoderin classUIScrollView
-
endUpdates
public void endUpdates()
-
estimatedRowHeight
public double estimatedRowHeight()
default is UITableViewAutomaticDimension, set to 0 to disable
-
estimatedSectionFooterHeight
public double estimatedSectionFooterHeight()
default is UITableViewAutomaticDimension, set to 0 to disable
-
estimatedSectionHeaderHeight
public double estimatedSectionHeaderHeight()
default is UITableViewAutomaticDimension, set to 0 to disable
-
footerViewForSection
public UITableViewHeaderFooterView footerViewForSection(long section)
-
headerViewForSection
public UITableViewHeaderFooterView headerViewForSection(long section)
-
indexPathForCell
public NSIndexPath indexPathForCell(UITableViewCell cell)
returns nil if cell is not visible
-
indexPathForRowAtPoint
public NSIndexPath indexPathForRowAtPoint(CGPoint point)
returns nil if point is outside of any row in the table
-
indexPathForSelectedRow
public NSIndexPath indexPathForSelectedRow()
returns nil or index path representing section and row of selection.
-
indexPathsForRowsInRect
public NSArray<? extends NSIndexPath> indexPathsForRowsInRect(CGRect rect)
returns nil if rect not valid
-
indexPathsForSelectedRows
public NSArray<? extends NSIndexPath> indexPathsForSelectedRows()
returns nil or a set of index paths representing the sections and rows of the selection.
-
indexPathsForVisibleRows
public NSArray<? extends NSIndexPath> indexPathsForVisibleRows()
-
init
public UITableView init()
- Overrides:
initin classUIScrollView
-
initWithCoder
public UITableView initWithCoder(NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIScrollView
-
initWithFrame
public UITableView initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIScrollView
-
initWithFrameStyle
public UITableView initWithFrameStyle(CGRect frame, long style)
must specify style at creation. -initWithFrame: calls this with UITableViewStylePlain
-
insertRowsAtIndexPathsWithRowAnimation
public void insertRowsAtIndexPathsWithRowAnimation(NSArray<? extends NSIndexPath> indexPaths, long animation)
-
insertSectionsWithRowAnimation
public void insertSectionsWithRowAnimation(NSIndexSet sections, long animation)
-
isEditing
public boolean isEditing()
default is NO. setting is not animated.
-
setEditing
public void setEditing(boolean value)
default is NO. setting is not animated.
-
moveRowAtIndexPathToIndexPath
public void moveRowAtIndexPathToIndexPath(NSIndexPath indexPath, NSIndexPath newIndexPath)
-
moveSectionToSection
public void moveSectionToSection(long section, long newSection)
-
numberOfRowsInSection
public long numberOfRowsInSection(long section)
-
numberOfSections
public long numberOfSections()
Info
-
prefetchDataSource
public UITableViewDataSourcePrefetching prefetchDataSource()
-
rectForFooterInSection
public CGRect rectForFooterInSection(long section)
-
rectForHeaderInSection
public CGRect rectForHeaderInSection(long section)
-
rectForRowAtIndexPath
public CGRect rectForRowAtIndexPath(NSIndexPath indexPath)
-
rectForSection
public CGRect rectForSection(long section)
includes header, footer and all rows
-
registerClassForCellReuseIdentifier
public void registerClassForCellReuseIdentifier(org.moe.natj.objc.Class cellClass, java.lang.String identifier)
-
registerClassForHeaderFooterViewReuseIdentifier
public void registerClassForHeaderFooterViewReuseIdentifier(org.moe.natj.objc.Class aClass, java.lang.String identifier)
-
registerNibForCellReuseIdentifier
public void registerNibForCellReuseIdentifier(UINib nib, java.lang.String identifier)
Beginning in iOS 6, clients can register a nib or class for each cell. If all reuse identifiers are registered, use the newer -dequeueReusableCellWithIdentifier:forIndexPath: to guarantee that a cell instance is returned. Instances returned from the new dequeue method will also be properly sized when they are returned.
-
registerNibForHeaderFooterViewReuseIdentifier
public void registerNibForHeaderFooterViewReuseIdentifier(UINib nib, java.lang.String identifier)
-
reloadData
public void reloadData()
Reloads everything from scratch. Redisplays visible rows. Note that this will cause any existing drop placeholder rows to be removed.
-
reloadRowsAtIndexPathsWithRowAnimation
public void reloadRowsAtIndexPathsWithRowAnimation(NSArray<? extends NSIndexPath> indexPaths, long animation)
-
reloadSectionIndexTitles
public void reloadSectionIndexTitles()
Reloads the section index bar.
-
reloadSectionsWithRowAnimation
public void reloadSectionsWithRowAnimation(NSIndexSet sections, long animation)
-
remembersLastFocusedIndexPath
public boolean remembersLastFocusedIndexPath()
defaults to NO. If YES, when focusing on a table view the last focused index path is focused automatically. If the table view has never been focused, then the preferred focused index path is used.
-
rowHeight
public double rowHeight()
default is UITableViewAutomaticDimension
-
scrollToNearestSelectedRowAtScrollPositionAnimated
public void scrollToNearestSelectedRowAtScrollPositionAnimated(long scrollPosition, boolean animated)
-
scrollToRowAtIndexPathAtScrollPositionAnimated
public void scrollToRowAtIndexPathAtScrollPositionAnimated(NSIndexPath indexPath, long scrollPosition, boolean animated)
-
sectionFooterHeight
public double sectionFooterHeight()
default is UITableViewAutomaticDimension
-
sectionHeaderHeight
public double sectionHeaderHeight()
default is UITableViewAutomaticDimension
-
sectionIndexBackgroundColor
public UIColor sectionIndexBackgroundColor()
the background color of the section index while not being touched
-
sectionIndexColor
public UIColor sectionIndexColor()
color used for text of the section index
-
sectionIndexMinimumDisplayRowCount
public long sectionIndexMinimumDisplayRowCount()
show special section index list on right when row count reaches this value. default is 0
-
sectionIndexTrackingBackgroundColor
public UIColor sectionIndexTrackingBackgroundColor()
the background color of the section index while it is being touched
-
selectRowAtIndexPathAnimatedScrollPosition
public void selectRowAtIndexPathAnimatedScrollPosition(NSIndexPath indexPath, boolean animated, long scrollPosition)
Selects and deselects rows. These methods will not call the delegate methods (-tableView:willSelectRowAtIndexPath: or tableView:didSelectRowAtIndexPath:), nor will it send out a notification.
-
separatorColor
public UIColor separatorColor()
default is the standard separator gray
-
separatorEffect
public UIVisualEffect separatorEffect()
effect to apply to table separators
-
separatorInset
public UIEdgeInsets separatorInset()
allows customization of the frame of cell separators; see also the separatorInsetReference property. Use UITableViewAutomaticDimension for the automatic inset for that edge.
-
separatorStyle
public long separatorStyle()
default is UITableViewCellSeparatorStyleSingleLine
-
setAllowsMultipleSelection
public void setAllowsMultipleSelection(boolean value)
default is NO. Controls whether multiple rows can be selected simultaneously
-
setAllowsMultipleSelectionDuringEditing
public void setAllowsMultipleSelectionDuringEditing(boolean value)
default is NO. Controls whether multiple rows can be selected simultaneously in editing mode
-
setAllowsSelection
public void setAllowsSelection(boolean value)
default is YES. Controls whether rows can be selected when not in editing mode
-
setAllowsSelectionDuringEditing
public void setAllowsSelectionDuringEditing(boolean value)
default is NO. Controls whether rows can be selected when in editing mode
-
setBackgroundView
public void setBackgroundView(UIView value)
the background view will be automatically resized to track the size of the table view. this will be placed as a subview of the table view behind all cells and headers/footers. default may be non-nil for some devices.
-
setCellLayoutMarginsFollowReadableWidth
public void setCellLayoutMarginsFollowReadableWidth(boolean value)
if cell layout margins are derived from the width of the readableContentGuide. default is NO.
-
setDataSource_unsafe
public void setDataSource_unsafe(UITableViewDataSource value)
-
setDataSource
public void setDataSource(UITableViewDataSource value)
-
setDelegate_unsafe
public void setDelegate_unsafe(java.lang.Object value)
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
setDelegate_unsafein classUIScrollView
-
setDelegate
public void setDelegate(java.lang.Object value)
Description copied from class:UIScrollViewdefault nil. weak reference- Overrides:
setDelegatein classUIScrollView
-
setEditingAnimated
public void setEditingAnimated(boolean editing, boolean animated)
-
setEstimatedRowHeight
public void setEstimatedRowHeight(double value)
default is UITableViewAutomaticDimension, set to 0 to disable
-
setEstimatedSectionFooterHeight
public void setEstimatedSectionFooterHeight(double value)
default is UITableViewAutomaticDimension, set to 0 to disable
-
setEstimatedSectionHeaderHeight
public void setEstimatedSectionHeaderHeight(double value)
default is UITableViewAutomaticDimension, set to 0 to disable
-
setPrefetchDataSource_unsafe
public void setPrefetchDataSource_unsafe(UITableViewDataSourcePrefetching value)
-
setPrefetchDataSource
public void setPrefetchDataSource(UITableViewDataSourcePrefetching value)
-
setRemembersLastFocusedIndexPath
public void setRemembersLastFocusedIndexPath(boolean value)
defaults to NO. If YES, when focusing on a table view the last focused index path is focused automatically. If the table view has never been focused, then the preferred focused index path is used.
-
setRowHeight
public void setRowHeight(double value)
default is UITableViewAutomaticDimension
-
setSectionFooterHeight
public void setSectionFooterHeight(double value)
default is UITableViewAutomaticDimension
-
setSectionHeaderHeight
public void setSectionHeaderHeight(double value)
default is UITableViewAutomaticDimension
-
setSectionIndexBackgroundColor
public void setSectionIndexBackgroundColor(UIColor value)
the background color of the section index while not being touched
-
setSectionIndexColor
public void setSectionIndexColor(UIColor value)
color used for text of the section index
-
setSectionIndexMinimumDisplayRowCount
public void setSectionIndexMinimumDisplayRowCount(long value)
show special section index list on right when row count reaches this value. default is 0
-
setSectionIndexTrackingBackgroundColor
public void setSectionIndexTrackingBackgroundColor(UIColor value)
the background color of the section index while it is being touched
-
setSeparatorColor
public void setSeparatorColor(UIColor value)
default is the standard separator gray
-
setSeparatorEffect
public void setSeparatorEffect(UIVisualEffect value)
effect to apply to table separators
-
setSeparatorInset
public void setSeparatorInset(UIEdgeInsets value)
allows customization of the frame of cell separators; see also the separatorInsetReference property. Use UITableViewAutomaticDimension for the automatic inset for that edge.
-
setSeparatorStyle
public void setSeparatorStyle(long value)
default is UITableViewCellSeparatorStyleSingleLine
-
setTableFooterView
public void setTableFooterView(UIView value)
accessory view below content. default is nil. not to be confused with section footer
-
setTableHeaderView
public void setTableHeaderView(UIView value)
accessory view for above row content. default is nil. not to be confused with section header
-
style
public long style()
-
tableFooterView
public UIView tableFooterView()
accessory view below content. default is nil. not to be confused with section footer
-
tableHeaderView
public UIView tableHeaderView()
accessory view for above row content. default is nil. not to be confused with section header
-
visibleCells
public NSArray<? extends UITableViewCell> visibleCells()
-
dataSourceIndexPathForPresentationIndexPath
public NSIndexPath dataSourceIndexPathForPresentationIndexPath(NSIndexPath presentationIndexPath)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Presentation index path to the Data Source index path. If the item was inserted at the index path, this will return nil. If no effective change took place, will return passed value.- Specified by:
dataSourceIndexPathForPresentationIndexPathin interfaceUIDataSourceTranslating
-
dataSourceSectionIndexForPresentationSectionIndex
public long dataSourceSectionIndexForPresentationSectionIndex(long presentationSectionIndex)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Presentation section index to its Data Source section index value. If section was inserted and not known the Data Source, this will return NSNotFound. If no effective change took place, will return passed value.- Specified by:
dataSourceSectionIndexForPresentationSectionIndexin interfaceUIDataSourceTranslating
-
dragDelegate
public UITableViewDragDelegate dragDelegate()
-
dragInteractionEnabled
public boolean dragInteractionEnabled()
To enable intra-app drags on iPhone, set this to YES. You can also force drags to be disabled for this table view by setting this to NO. By default, this will return YES on iPad and NO on iPhone.
-
dropDelegate
public UITableViewDropDelegate dropDelegate()
-
hasActiveDrag
public boolean hasActiveDrag()
YES if a drag session is currently active. A drag session begins after rows are "lifted" from the table view.
-
hasActiveDrop
public boolean hasActiveDrop()
YES if table view is currently tracking a drop session.
-
hasUncommittedUpdates
public boolean hasUncommittedUpdates()
Returns YES if the table view is in the middle of reordering, is displaying a drop target gap, or has drop placeholders. If possible, avoid calling -reloadData while there are uncommitted updates to avoid interfering with user-initiated interactions that have not yet completed.
-
insetsContentViewsToSafeArea
public boolean insetsContentViewsToSafeArea()
default value is YES
-
isSpringLoaded
public boolean isSpringLoaded()
- Specified by:
isSpringLoadedin interfaceUISpringLoadedInteractionSupporting
-
performBatchUpdatesCompletion
public void performBatchUpdatesCompletion(UITableView.Block_performBatchUpdatesCompletion_0 updates, UITableView.Block_performBatchUpdatesCompletion_1 completion)
Allows multiple insert/delete/reload/move calls to be animated simultaneously. Nestable.
-
performUsingPresentationValues
public void performUsingPresentationValues(UIDataSourceTranslating.Block_performUsingPresentationValues actionsToTranslate)
Description copied from interface:UIDataSourceTranslatingArguments passed to actions performed inside the scope of this block will be interpreted as values in the presentation state, and the values returned from these actions will also be in the presentation state.- Specified by:
performUsingPresentationValuesin interfaceUIDataSourceTranslating
-
presentationIndexPathForDataSourceIndexPath
public NSIndexPath presentationIndexPathForDataSourceIndexPath(NSIndexPath dataSourceIndexPath)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Data Source index path to the Presentation index path. If the item was deleted at the index path, this will return nil. If no effective change took place, will return passed value.- Specified by:
presentationIndexPathForDataSourceIndexPathin interfaceUIDataSourceTranslating
-
presentationSectionIndexForDataSourceSectionIndex
public long presentationSectionIndexForDataSourceSectionIndex(long dataSourceSectionIndex)
Description copied from interface:UIDataSourceTranslatingTranslate (if needed) a Data Source section index to its Presentation section index value. If section was deleted during a transaction, this will return NSNotFound. If no effective change took place, will return passed value.- Specified by:
presentationSectionIndexForDataSourceSectionIndexin interfaceUIDataSourceTranslating
-
separatorInsetReference
public long separatorInsetReference()
Changes how custom separatorInset values are interpreted. The default value is UITableViewSeparatorInsetFromCellEdges
-
setDragDelegate_unsafe
public void setDragDelegate_unsafe(UITableViewDragDelegate value)
-
setDragDelegate
public void setDragDelegate(UITableViewDragDelegate value)
-
setDragInteractionEnabled
public void setDragInteractionEnabled(boolean value)
To enable intra-app drags on iPhone, set this to YES. You can also force drags to be disabled for this table view by setting this to NO. By default, this will return YES on iPad and NO on iPhone.
-
setDropDelegate_unsafe
public void setDropDelegate_unsafe(UITableViewDropDelegate value)
-
setDropDelegate
public void setDropDelegate(UITableViewDropDelegate value)
-
setInsetsContentViewsToSafeArea
public void setInsetsContentViewsToSafeArea(boolean value)
default value is YES
-
setSeparatorInsetReference
public void setSeparatorInsetReference(long value)
Changes how custom separatorInset values are interpreted. The default value is UITableViewSeparatorInsetFromCellEdges
-
setSpringLoaded
public void setSpringLoaded(boolean value)
- Specified by:
setSpringLoadedin interfaceUISpringLoadedInteractionSupporting
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
selectionFollowsFocus
public boolean selectionFollowsFocus()
When enabled, the table view ensures that selection is automatically triggered when focus moves to a cell.
-
setSelectionFollowsFocus
public void setSelectionFollowsFocus(boolean value)
When enabled, the table view ensures that selection is automatically triggered when focus moves to a cell.
-
-