Package apple.uikit
Class UIScrollView
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UIResponder
-
- apple.uikit.UIView
-
- apple.uikit.UIScrollView
-
- All Implemented Interfaces:
NSCoding,NSObject,CALayerDelegate,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearance,UIAppearanceContainer,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIFocusItemScrollableContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIPopoverPresentationControllerSourceItem,UIResponderStandardEditActions,UITraitChangeObservable,UITraitEnvironment,UIUserActivityRestoring
- Direct Known Subclasses:
PKCanvasView,UICollectionView,UITableView,UITextView
public class UIScrollView extends UIView implements NSCoding, UIFocusItemScrollableContainer
API-Since: 2.0
-
-
Nested Class Summary
-
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_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_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.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UIResponderStandardEditActions
UIResponderStandardEditActions.Block_updateTextAttributesWithConversionHandler
-
Nested classes/interfaces inherited from interface apple.uikit.protocol.UITraitChangeObservable
UITraitChangeObservable.Block_registerForTraitChangesWithHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUIScrollView(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull UIScrollView_appearance()To customize the appearance of all instances of a class, send the relevant appearance modification messages to the appearance proxy for the class.@NotNull UIScrollView_appearanceForTraitCollection(@NotNull UITraitCollection trait)API-Since: 8.0@NotNull UIScrollView_appearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UIScrollView_appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)API-Since: 9.0@NotNull UIScrollView_appearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.@NotNull UIScrollView_appearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)API-Since: 9.0static booleanaccessInstanceVariablesDirectly()static voidaddKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)UIEdgeInsetsadjustedContentInset()When contentInsetAdjustmentBehavior allows, UIScrollView may incorporate its safeAreaInsets into the adjustedContentInset.voidadjustedContentInsetDidChange()Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol.static UIScrollViewalloc()static UIScrollViewallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)booleanallowsKeyboardScrolling()Set this to YES to make the scroll view animate its content offset in response to keys like Page Up/Down, Home/End, and the arrow keys.booleanalwaysBounceHorizontal()default NO.booleanalwaysBounceVertical()default 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 voidanimateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)static @NotNull UIScrollViewappearance()static @NotNull UIScrollViewappearanceForTraitCollection(@NotNull UITraitCollection trait)static @NotNull UIScrollViewappearanceForTraitCollectionWhenContainedIn(@NotNull UITraitCollection trait, @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UIScrollViewappearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull UITraitCollection trait, @NotNull NSArray<?> containerTypes)static @NotNull UIScrollViewappearanceWhenContainedIn(@Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)Deprecated.static @NotNull UIScrollViewappearanceWhenContainedInInstancesOfClasses(@NotNull NSArray<?> containerTypes)static booleanareAnimationsEnabled()booleanautomaticallyAdjustsScrollIndicatorInsets()Configures whether the scroll indicator insets are automatically adjusted by the system.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidbeginAnimationsContext(@Nullable java.lang.String animationID, @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.booleanbounces()default YES.booleanbouncesZoom()default is YES.booleancanCancelContentTouches()default is YES.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()static voidclearTextInputContextIdentifier(@NotNull java.lang.String identifier)static voidcommitAnimations()Deprecated.UIEdgeInsetscontentInset()default UIEdgeInsetsZero.longcontentInsetAdjustmentBehavior()Configure the behavior of adjustedContentInset.@NotNull UILayoutGuidecontentLayoutGuide()contentLayoutGuide anchors (e.g., contentLayoutGuide.centerXAnchor, etc.) refer to the untranslated content area of the scroll view.CGPointcontentOffset()The current content offset of this scrollable container.CGSizecontentSize()The total size of the content contained by this container.@NotNull UICoordinateSpacecoordinateSpace()The coordinate space of the focus items contained in this container.static java.lang.StringdebugDescription_static()doubledecelerationRate()API-Since: 3.0booleandelaysContentTouches()default is YES.@Nullable java.lang.Objectdelegate()default nil.static java.lang.Stringdescription_static()@NotNull UIGestureRecognizerdirectionalPressGestureRecognizer()`directionalPressGestureRecognizer` is disabled by default, but can be enabled to perform scrolling in response to up / down / left / right arrow button presses directly, instead of scrolling indirectly in response to focus updates.voidencodeWithCoder(@NotNull NSCoder coder)voidflashScrollIndicators()displays the scroll indicators for a short time.@NotNull NSArray<?>focusItemsInRect(CGRect rect)Returns an array of all focus items within this container that intersect with the provided rect.@NotNull UILayoutGuideframeLayoutGuide()frameLayoutGuide anchors (e.g., frameLayoutGuide.centerXAnchor) refer to the untransformed frame of the scroll view.static longhash_static()UIEdgeInsetshorizontalScrollIndicatorInsets()default is UIEdgeInsetsZero.longindexDisplayMode()longindicatorStyle()default is UIScrollViewIndicatorStyleDefaultstatic doubleinheritedAnimationDuration()UIScrollViewinit()UIScrollViewinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERUIScrollViewinitWithFrame(CGRect frame)static 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)booleanisDecelerating()returns YES if user isn't dragging (touch up) but scroll view is still movingbooleanisDirectionalLockEnabled()default NO.booleanisDragging()returns YES if user has started scrolling.booleanisPagingEnabled()default NO.booleanisScrollEnabled()default YES.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)booleanisTracking()returns YES if user has touched.booleanisZoomBouncing()returns YES if we are in the middle of zooming back to the min/max valuebooleanisZooming()returns YES if user in zoom gesturelongkeyboardDismissMode()default is UIScrollViewKeyboardDismissModeNone API-Since: 7.0static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @NotNull org.moe.natj.objc.ClasslayerClass()doublemaximumZoomScale()default is 1.0.doubleminimumZoomScale()default is 1.0static voidmodifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)static UIScrollViewnew_objc()@NotNull UIPanGestureRecognizerpanGestureRecognizer()Change `panGestureRecognizer.allowedTouchTypes` to limit scrolling to a particular set of touch types.static voidperformSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull NSArray<? extends UIView> views, long options, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)static voidperformWithoutAnimation(UIView.Block_performWithoutAnimation actionsWithoutAnimation)@Nullable UIPinchGestureRecognizerpinchGestureRecognizer()`pinchGestureRecognizer` will return nil when zooming is disabled.@Nullable UIRefreshControlrefreshControl()API-Since: 10.0static booleanrequiresConstraintBasedLayout()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)UIEdgeInsetsscrollIndicatorInsets()Deprecated.voidscrollRectToVisibleAnimated(CGRect rect, boolean animated)scroll so rect is just visible (nearest edges).booleanscrollsToTop()default is YES.voidsetAllowsKeyboardScrolling(boolean value)Set this to YES to make the scroll view animate its content offset in response to keys like Page Up/Down, Home/End, and the arrow keys.voidsetAlwaysBounceHorizontal(boolean value)default NO.voidsetAlwaysBounceVertical(boolean value)default NO.static voidsetAnimationBeginsFromCurrentState(boolean fromCurrentState)Deprecated.static voidsetAnimationCurve(long curve)Deprecated.static voidsetAnimationDelay(double delay)Deprecated.static voidsetAnimationDelegate(@Nullable java.lang.Object delegate)Deprecated.static voidsetAnimationDidStopSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.static voidsetAnimationDuration_static(double duration)Deprecated.static voidsetAnimationRepeatAutoreverses(boolean repeatAutoreverses)Deprecated.static voidsetAnimationRepeatCount_static(float repeatCount)Deprecated.static voidsetAnimationsEnabled(boolean enabled)static voidsetAnimationStartDate(@NotNull NSDate startDate)Deprecated.static voidsetAnimationTransitionForViewCache(long transition, @NotNull UIView view, boolean cache)Deprecated.static voidsetAnimationWillStartSelector(@Nullable org.moe.natj.objc.SEL selector)Deprecated.voidsetAutomaticallyAdjustsScrollIndicatorInsets(boolean value)Configures whether the scroll indicator insets are automatically adjusted by the system.voidsetBounces(boolean value)default YES.voidsetBouncesZoom(boolean value)default is YES.voidsetCanCancelContentTouches(boolean value)default is YES.voidsetContentInset(UIEdgeInsets value)default UIEdgeInsetsZero.voidsetContentInsetAdjustmentBehavior(long value)Configure the behavior of adjustedContentInset.voidsetContentOffset(CGPoint value)The current content offset of this scrollable container.voidsetContentOffsetAnimated(CGPoint contentOffset, boolean animated)animate at constant velocity to new offsetvoidsetContentSize(CGSize value)default CGSizeZerovoidsetDecelerationRate(double value)API-Since: 3.0voidsetDelaysContentTouches(boolean value)default is YES.voidsetDelegate(@Nullable java.lang.Object value)default nil.voidsetDelegate_unsafe(@Nullable java.lang.Object value)default nil.voidsetDirectionalLockEnabled(boolean value)default NO.voidsetHorizontalScrollIndicatorInsets(UIEdgeInsets value)default is UIEdgeInsetsZero.voidsetIndexDisplayMode(long value)voidsetIndicatorStyle(long value)default is UIScrollViewIndicatorStyleDefaultvoidsetKeyboardDismissMode(long value)default is UIScrollViewKeyboardDismissModeNone API-Since: 7.0voidsetMaximumZoomScale(double value)default is 1.0.voidsetMinimumZoomScale(double value)default is 1.0voidsetPagingEnabled(boolean value)default NO.voidsetRefreshControl(@Nullable UIRefreshControl value)API-Since: 10.0voidsetScrollEnabled(boolean value)default YES.voidsetScrollIndicatorInsets(UIEdgeInsets value)use the setter only, as a convenience for setting both verticalScrollIndicatorInsets and horizontalScrollIndicatorInsets to the same value.voidsetScrollsToTop(boolean value)default is YES.voidsetShowsHorizontalScrollIndicator(boolean value)default YES.voidsetShowsVerticalScrollIndicator(boolean value)default YES.static voidsetVersion_static(long aVersion)voidsetVerticalScrollIndicatorInsets(UIEdgeInsets value)default is UIEdgeInsetsZero.voidsetZoomScale(double value)default is 1.0 API-Since: 3.0voidsetZoomScaleAnimated(double scale, boolean animated)API-Since: 3.0booleanshowsHorizontalScrollIndicator()default YES.booleanshowsVerticalScrollIndicator()default YES.static org.moe.natj.objc.Classsuperclass_static()booleantouchesShouldBeginWithEventInContentView(@NotNull NSSet<? extends UITouch> touches, @Nullable UIEvent event, @NotNull UIView view)override points for subclasses to control delivery of touch events to subviews of the scroll view called before touches are delivered to a subview of the scroll view.booleantouchesShouldCancelInContentView(@NotNull UIView view)called before scrolling begins if touches have already been delivered to a subview of the scroll view.static voidtransitionFromViewToViewDurationOptionsCompletion(@NotNull UIView fromView, @NotNull UIView toView, double duration, long options, UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)static voidtransitionWithViewDurationOptionsAnimationsCompletion(@NotNull 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 booleanuseStoredAccessor()Deprecated.static longversion_static()UIEdgeInsetsverticalScrollIndicatorInsets()default is UIEdgeInsetsZero.CGSizevisibleSize()The visible size of this scrollable container.doublezoomScale()default is 1.0 API-Since: 3.0voidzoomToRectAnimated(CGRect rect, boolean animated)API-Since: 3.0-
Methods inherited from class apple.uikit.UIView
accessibilityIdentifier, accessibilityIgnoresInvertColors, actionForLayerForKey, addConstraint, addConstraints, addGestureRecognizer, addInteraction, addLayoutGuide, addMotionEffect, addSubview, alignmentRectForFrame, alignmentRectInsets, alpha, anchorPoint, appliedContentSizeCategoryLimitsDescription, 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, focusEffect, focusGroupIdentifier, focusGroupPriority, focusItemContainer, frame, frameForAlignmentRect, frameInView, gestureRecognizers, gestureRecognizerShouldBegin, hasAmbiguousLayout, heightAnchor, hitTestWithEvent, hoverStyle, insertSubviewAboveSubview, insertSubviewAtIndex, insertSubviewBelowSubview, insetsLayoutMarginsFromSafeArea, interactions, intrinsicContentSize, invalidateIntrinsicContentSize, isDescendantOfView, isExclusiveTouch, isFocused, isHidden, isMultipleTouchEnabled, isOpaque, isTransparentFocusItem, isUserInteractionEnabled, keyboardLayoutGuide, largeContentImage, largeContentImageInsets, largeContentTitle, lastBaselineAnchor, layer, layerWillDraw, layoutGuides, layoutIfNeeded, layoutMargins, layoutMarginsDidChange, layoutMarginsGuide, layoutSublayersOfLayer, layoutSubviews, leadingAnchor, leftAnchor, maskView, maximumContentSizeCategory, minimumContentSizeCategory, motionEffects, needsUpdateConstraints, overrideUserInterfaceStyle, parentFocusEnvironment, pointInsideWithEvent, preferredFocusedView, preferredFocusEnvironments, preservesSuperviewLayoutMargins, readableContentGuide, registerForTraitChangesWithAction, registerForTraitChangesWithHandler, registerForTraitChangesWithTargetAction, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, resizableSnapshotViewFromRectAfterScreenUpdatesWithCapInsets, restorationIdentifier, rightAnchor, safeAreaInsets, safeAreaInsetsDidChange, safeAreaLayoutGuide, scalesLargeContentImage, semanticContentAttribute, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnchorPoint, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriorityForAxis, setContentHuggingPriorityForAxis, setContentMode, setContentScaleFactor, setContentStretch, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setHoverStyle, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, 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, traitOverrides, transform, transform3D, translatesAutoresizingMaskIntoConstraints, unregisterForTraitChanges, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, updateTraitsIfNeeded, viewForBaselineLayout, viewForFirstBaselineLayout, viewForLastBaselineLayout, viewPrintFormatter, viewWithTag, widthAnchor, willMoveToSuperview, willMoveToWindow, willRemoveSubview, window
-
Methods inherited from class apple.uikit.UIResponder
activityItemsConfiguration, becomeFirstResponder, buildMenuWithBuilder, canBecomeFirstResponder, canPasteItemProviders, canPerformActionWithSender, canResignFirstResponder, captureTextFromCamera, copy, cut, decreaseSize, delete, duplicate, editingInteractionConfiguration, export, find, findAndReplace, findNext, findPrevious, increaseSize, inputAccessoryView, inputAccessoryViewController, inputAssistantItem, inputView, inputViewController, isFirstResponder, keyCommands, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBeganWithEvent, motionCancelledWithEvent, motionEndedWithEvent, move, nextResponder, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteConfiguration, pasteItemProviders, pressesBeganWithEvent, pressesCancelledWithEvent, pressesChangedWithEvent, pressesEndedWithEvent, print, reloadInputViews, remoteControlReceivedWithEvent, rename, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, targetForActionWithSender, textInputContextIdentifier, textInputMode, toggleBoldface, toggleItalics, toggleUnderline, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesEstimatedPropertiesUpdated, touchesMovedWithEvent, undoManager, updateTextAttributesWithConversionHandler, updateUserActivityState, userActivity, useSelectionForFind, validateCommand
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, 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, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
addKeyframeWithRelativeStartTimeRelativeDurationAnimations
public static void addKeyframeWithRelativeStartTimeRelativeDurationAnimations(double frameStartTime, double frameDuration, @NotNull UIView.Block_addKeyframeWithRelativeStartTimeRelativeDurationAnimations animations)
-
alloc
public static UIScrollView alloc()
-
allocWithZone
public static UIScrollView allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
animateKeyframesWithDurationDelayOptionsAnimationsCompletion
public static void animateKeyframesWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateKeyframesWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationAnimations
public static void animateWithDurationAnimations(double duration, @NotNull UIView.Block_animateWithDurationAnimations animations)
-
animateWithDurationAnimationsCompletion
public static void animateWithDurationAnimationsCompletion(double duration, @NotNull UIView.Block_animateWithDurationAnimationsCompletion_1 animations, @Nullable UIView.Block_animateWithDurationAnimationsCompletion_2 completion)
-
animateWithDurationDelayOptionsAnimationsCompletion
public static void animateWithDurationDelayOptionsAnimationsCompletion(double duration, double delay, long options, @NotNull UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_3 animations, @Nullable UIView.Block_animateWithDurationDelayOptionsAnimationsCompletion_4 completion)
-
animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion
public static void animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(double duration, double delay, double dampingRatio, double velocity, long options, @NotNull UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion_6 completion)
-
appearance
@NotNull public static @NotNull UIScrollView appearance()
-
appearanceForTraitCollection
@NotNull public static @NotNull UIScrollView appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
-
appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public static @NotNull UIScrollView appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UIScrollView appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
-
appearanceWhenContainedIn
@NotNull @Deprecated public static @NotNull UIScrollView appearanceWhenContainedIn(@Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.
-
appearanceWhenContainedInInstancesOfClasses
@NotNull public static @NotNull UIScrollView appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
-
areAnimationsEnabled
public static boolean areAnimationsEnabled()
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
beginAnimationsContext
@Deprecated public static void beginAnimationsContext(@Nullable @Nullable java.lang.String animationID, @Nullable @Nullable org.moe.natj.general.ptr.VoidPtr context)Deprecated.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
clearTextInputContextIdentifier
public static void clearTextInputContextIdentifier(@NotNull @NotNull java.lang.String identifier)
-
commitAnimations
@Deprecated public static void commitAnimations()
Deprecated.
-
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
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
layerClass
@NotNull public static @NotNull org.moe.natj.objc.Class layerClass()
-
new_objc
public static UIScrollView new_objc()
-
performSystemAnimationOnViewsOptionsAnimationsCompletion
public static void performSystemAnimationOnViewsOptionsAnimationsCompletion(long animation, @NotNull @NotNull NSArray<? extends UIView> views, long options, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_3 parallelAnimations, @Nullable UIView.Block_performSystemAnimationOnViewsOptionsAnimationsCompletion_4 completion)
-
performWithoutAnimation
public static void performWithoutAnimation(@NotNull 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
@Deprecated public static void setAnimationBeginsFromCurrentState(boolean fromCurrentState)
Deprecated.
-
setAnimationCurve
@Deprecated public static void setAnimationCurve(long curve)
Deprecated.
-
setAnimationDelay
@Deprecated public static void setAnimationDelay(double delay)
Deprecated.
-
setAnimationDelegate
@Deprecated public static void setAnimationDelegate(@Nullable @Nullable java.lang.Object delegate)Deprecated.
-
setAnimationDidStopSelector
@Deprecated public static void setAnimationDidStopSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
setAnimationDuration_static
@Deprecated public static void setAnimationDuration_static(double duration)
Deprecated.
-
setAnimationRepeatAutoreverses
@Deprecated public static void setAnimationRepeatAutoreverses(boolean repeatAutoreverses)
Deprecated.
-
setAnimationRepeatCount_static
@Deprecated public static void setAnimationRepeatCount_static(float repeatCount)
Deprecated.
-
setAnimationStartDate
@Deprecated public static void setAnimationStartDate(@NotNull @NotNull NSDate startDate)Deprecated.
-
setAnimationTransitionForViewCache
@Deprecated public static void setAnimationTransitionForViewCache(long transition, @NotNull @NotNull UIView view, boolean cache)Deprecated.
-
setAnimationWillStartSelector
@Deprecated public static void setAnimationWillStartSelector(@Nullable @Nullable org.moe.natj.objc.SEL selector)Deprecated.
-
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(@NotNull @NotNull UIView fromView, @NotNull @NotNull UIView toView, double duration, long options, @Nullable UIView.Block_transitionFromViewToViewDurationOptionsCompletion completion)
-
transitionWithViewDurationOptionsAnimationsCompletion
public static void transitionWithViewDurationOptionsAnimationsCompletion(@NotNull @NotNull UIView view, double duration, long options, @Nullable UIView.Block_transitionWithViewDurationOptionsAnimationsCompletion_3 animations, @Nullable 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()
-
alwaysBounceHorizontal
public boolean alwaysBounceHorizontal()
default NO. if YES and bounces is YES, even if content is smaller than bounds, allow drag horizontally
-
alwaysBounceVertical
public boolean alwaysBounceVertical()
default NO. if YES and bounces is YES, even if content is smaller than bounds, allow drag vertically
-
_appearance
@NotNull public @NotNull UIScrollView _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 classUIView
-
_appearanceForTraitCollection
@NotNull public @NotNull UIScrollView _appearanceForTraitCollection(@NotNull @NotNull UITraitCollection trait)
Description copied from interface:UIAppearanceAPI-Since: 8.0- Specified by:
_appearanceForTraitCollectionin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionin classUIView
-
_appearanceForTraitCollectionWhenContainedIn
@NotNull @Deprecated public @NotNull UIScrollView _appearanceForTraitCollectionWhenContainedIn(@NotNull @NotNull UITraitCollection trait, @Nullable @Nullable UIAppearanceContainer ContainerClass, java.lang.Object... varargs)
Deprecated.Description copied from interface:UIAppearanceAPI-Since: 8.0 Deprecated-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInin classUIView
-
_appearanceForTraitCollectionWhenContainedInInstancesOfClasses
@NotNull public @NotNull UIScrollView _appearanceForTraitCollectionWhenContainedInInstancesOfClasses(@NotNull @NotNull UITraitCollection trait, @NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceForTraitCollectionWhenContainedInInstancesOfClassesin classUIView
-
_appearanceWhenContainedIn
@NotNull @Deprecated public @NotNull UIScrollView _appearanceWhenContainedIn(@Nullable @Nullable 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. API-Since: 5.0 Deprecated-Since: 9.0- Specified by:
_appearanceWhenContainedInin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInin classUIView
-
_appearanceWhenContainedInInstancesOfClasses
@NotNull public @NotNull UIScrollView _appearanceWhenContainedInInstancesOfClasses(@NotNull @NotNull NSArray<?> containerTypes)
Description copied from interface:UIAppearanceAPI-Since: 9.0- Specified by:
_appearanceWhenContainedInInstancesOfClassesin interfaceUIAppearance- Overrides:
_appearanceWhenContainedInInstancesOfClassesin classUIView
-
bounces
public boolean bounces()
default YES. if YES, bounces past edge of content and back again
-
bouncesZoom
public boolean bouncesZoom()
default is YES. if set, user can go past min/max zoom while gesturing and the zoom will animate to the min/max value at gesture end
-
canCancelContentTouches
public boolean canCancelContentTouches()
default is YES. if NO, then once we start tracking, we don't try to drag if the touch moves. this has no effect on presses
-
contentInset
public UIEdgeInsets contentInset()
default UIEdgeInsetsZero. add additional scroll area around content
-
contentOffset
public CGPoint contentOffset()
Description copied from interface:UIFocusItemScrollableContainerThe current content offset of this scrollable container. If the scrollable container has a `bounds` property, `bounds.origin` must be equal to `contentOffset`.- Specified by:
contentOffsetin interfaceUIFocusItemScrollableContainer
-
contentSize
public CGSize contentSize()
Description copied from interface:UIFocusItemScrollableContainerThe total size of the content contained by this container. If this size exceeds the size of this container's visible size, then scrolling is possible.- Specified by:
contentSizein interfaceUIFocusItemScrollableContainer
-
decelerationRate
public double decelerationRate()
API-Since: 3.0
-
delaysContentTouches
public boolean delaysContentTouches()
default is YES. if NO, we immediately call -touchesShouldBegin:withEvent:inContentView:. this has no effect on presses
-
delegate
@Nullable public @Nullable java.lang.Object delegate()
default nil. weak reference
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding- Overrides:
encodeWithCoderin classUIView
-
flashScrollIndicators
public void flashScrollIndicators()
displays the scroll indicators for a short time. This should be done whenever you bring the scroll view to front.
-
indicatorStyle
public long indicatorStyle()
default is UIScrollViewIndicatorStyleDefault
-
init
public UIScrollView init()
-
initWithCoder
public UIScrollView initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding- Overrides:
initWithCoderin classUIView
-
initWithFrame
public UIScrollView initWithFrame(CGRect frame)
- Overrides:
initWithFramein classUIView
-
isDecelerating
public boolean isDecelerating()
returns YES if user isn't dragging (touch up) but scroll view is still moving
-
isDirectionalLockEnabled
public boolean isDirectionalLockEnabled()
default NO. if YES, try to lock vertical or horizontal scrolling while dragging
-
setDirectionalLockEnabled
public void setDirectionalLockEnabled(boolean value)
default NO. if YES, try to lock vertical or horizontal scrolling while dragging
-
isDragging
public boolean isDragging()
returns YES if user has started scrolling. this may require some time and or distance to move to initiate dragging
-
isPagingEnabled
public boolean isPagingEnabled()
default NO. if YES, stop on multiples of view bounds
-
setPagingEnabled
public void setPagingEnabled(boolean value)
default NO. if YES, stop on multiples of view bounds
-
isScrollEnabled
public boolean isScrollEnabled()
default YES. turn off any dragging temporarily
-
setScrollEnabled
public void setScrollEnabled(boolean value)
default YES. turn off any dragging temporarily
-
isTracking
public boolean isTracking()
returns YES if user has touched. may not yet have started dragging
-
isZoomBouncing
public boolean isZoomBouncing()
returns YES if we are in the middle of zooming back to the min/max value
-
isZooming
public boolean isZooming()
returns YES if user in zoom gesture
-
keyboardDismissMode
public long keyboardDismissMode()
default is UIScrollViewKeyboardDismissModeNone API-Since: 7.0
-
maximumZoomScale
public double maximumZoomScale()
default is 1.0. must be > minimum zoom scale to enable zooming
-
minimumZoomScale
public double minimumZoomScale()
default is 1.0
-
panGestureRecognizer
@NotNull public @NotNull UIPanGestureRecognizer panGestureRecognizer()
Change `panGestureRecognizer.allowedTouchTypes` to limit scrolling to a particular set of touch types. API-Since: 5.0
-
pinchGestureRecognizer
@Nullable public @Nullable UIPinchGestureRecognizer pinchGestureRecognizer()
`pinchGestureRecognizer` will return nil when zooming is disabled. API-Since: 5.0
-
refreshControl
@Nullable public @Nullable UIRefreshControl refreshControl()
API-Since: 10.0
-
scrollIndicatorInsets
@Deprecated public UIEdgeInsets scrollIndicatorInsets()
Deprecated.API-Since: 2.0 Deprecated-Since: 13.0 Deprecated-Message: The scrollIndicatorInsets getter is deprecated, use the verticalScrollIndicatorInsets and horizontalScrollIndicatorInsets getters instead.
-
scrollRectToVisibleAnimated
public void scrollRectToVisibleAnimated(CGRect rect, boolean animated)
scroll so rect is just visible (nearest edges). nothing if rect completely visible
-
scrollsToTop
public boolean scrollsToTop()
default is YES.
-
setAlwaysBounceHorizontal
public void setAlwaysBounceHorizontal(boolean value)
default NO. if YES and bounces is YES, even if content is smaller than bounds, allow drag horizontally
-
setAlwaysBounceVertical
public void setAlwaysBounceVertical(boolean value)
default NO. if YES and bounces is YES, even if content is smaller than bounds, allow drag vertically
-
setBounces
public void setBounces(boolean value)
default YES. if YES, bounces past edge of content and back again
-
setBouncesZoom
public void setBouncesZoom(boolean value)
default is YES. if set, user can go past min/max zoom while gesturing and the zoom will animate to the min/max value at gesture end
-
setCanCancelContentTouches
public void setCanCancelContentTouches(boolean value)
default is YES. if NO, then once we start tracking, we don't try to drag if the touch moves. this has no effect on presses
-
setContentInset
public void setContentInset(UIEdgeInsets value)
default UIEdgeInsetsZero. add additional scroll area around content
-
setContentOffset
public void setContentOffset(CGPoint value)
Description copied from interface:UIFocusItemScrollableContainerThe current content offset of this scrollable container. If the scrollable container has a `bounds` property, `bounds.origin` must be equal to `contentOffset`.- Specified by:
setContentOffsetin interfaceUIFocusItemScrollableContainer
-
setContentOffsetAnimated
public void setContentOffsetAnimated(CGPoint contentOffset, boolean animated)
animate at constant velocity to new offset
-
setContentSize
public void setContentSize(CGSize value)
default CGSizeZero
-
setDecelerationRate
public void setDecelerationRate(double value)
API-Since: 3.0
-
setDelaysContentTouches
public void setDelaysContentTouches(boolean value)
default is YES. if NO, we immediately call -touchesShouldBegin:withEvent:inContentView:. this has no effect on presses
-
setDelegate_unsafe
public void setDelegate_unsafe(@Nullable @Nullable java.lang.Object value)default nil. weak reference
-
setDelegate
public void setDelegate(@Nullable @Nullable java.lang.Object value)default nil. weak reference
-
setIndicatorStyle
public void setIndicatorStyle(long value)
default is UIScrollViewIndicatorStyleDefault
-
setKeyboardDismissMode
public void setKeyboardDismissMode(long value)
default is UIScrollViewKeyboardDismissModeNone API-Since: 7.0
-
setMaximumZoomScale
public void setMaximumZoomScale(double value)
default is 1.0. must be > minimum zoom scale to enable zooming
-
setMinimumZoomScale
public void setMinimumZoomScale(double value)
default is 1.0
-
setRefreshControl
public void setRefreshControl(@Nullable @Nullable UIRefreshControl value)API-Since: 10.0
-
setScrollIndicatorInsets
public void setScrollIndicatorInsets(UIEdgeInsets value)
use the setter only, as a convenience for setting both verticalScrollIndicatorInsets and horizontalScrollIndicatorInsets to the same value. if those properties have been set to different values, the return value of this getter (deprecated) is undefined.
-
setScrollsToTop
public void setScrollsToTop(boolean value)
default is YES.
-
setShowsHorizontalScrollIndicator
public void setShowsHorizontalScrollIndicator(boolean value)
default YES. show indicator while we are tracking. fades out after tracking
-
setShowsVerticalScrollIndicator
public void setShowsVerticalScrollIndicator(boolean value)
default YES. show indicator while we are tracking. fades out after tracking
-
setZoomScale
public void setZoomScale(double value)
default is 1.0 API-Since: 3.0
-
setZoomScaleAnimated
public void setZoomScaleAnimated(double scale, boolean animated)API-Since: 3.0
-
showsHorizontalScrollIndicator
public boolean showsHorizontalScrollIndicator()
default YES. show indicator while we are tracking. fades out after tracking
-
showsVerticalScrollIndicator
public boolean showsVerticalScrollIndicator()
default YES. show indicator while we are tracking. fades out after tracking
-
touchesShouldBeginWithEventInContentView
public boolean touchesShouldBeginWithEventInContentView(@NotNull @NotNull NSSet<? extends UITouch> touches, @Nullable @Nullable UIEvent event, @NotNull @NotNull UIView view)override points for subclasses to control delivery of touch events to subviews of the scroll view called before touches are delivered to a subview of the scroll view. if it returns NO the touches will not be delivered to the subview this has no effect on presses default returns YES
-
touchesShouldCancelInContentView
public boolean touchesShouldCancelInContentView(@NotNull @NotNull UIView view)called before scrolling begins if touches have already been delivered to a subview of the scroll view. if it returns NO the touches will continue to be delivered to the subview and scrolling will not occur not called if canCancelContentTouches is NO. default returns YES if view isn't a UIControl this has no effect on presses
-
zoomScale
public double zoomScale()
default is 1.0 API-Since: 3.0
-
zoomToRectAnimated
public void zoomToRectAnimated(CGRect rect, boolean animated)
API-Since: 3.0
-
adjustedContentInset
public UIEdgeInsets adjustedContentInset()
When contentInsetAdjustmentBehavior allows, UIScrollView may incorporate its safeAreaInsets into the adjustedContentInset. API-Since: 11.0
-
adjustedContentInsetDidChange
public void adjustedContentInsetDidChange()
Also see -scrollViewDidChangeAdjustedContentInset: in the UIScrollViewDelegate protocol. API-Since: 11.0
-
contentInsetAdjustmentBehavior
public long contentInsetAdjustmentBehavior()
Configure the behavior of adjustedContentInset. Default is UIScrollViewContentInsetAdjustmentAutomatic. API-Since: 11.0
-
contentLayoutGuide
@NotNull public @NotNull UILayoutGuide contentLayoutGuide()
contentLayoutGuide anchors (e.g., contentLayoutGuide.centerXAnchor, etc.) refer to the untranslated content area of the scroll view. API-Since: 11.0
-
directionalPressGestureRecognizer
@NotNull public @NotNull UIGestureRecognizer directionalPressGestureRecognizer()
`directionalPressGestureRecognizer` is disabled by default, but can be enabled to perform scrolling in response to up / down / left / right arrow button presses directly, instead of scrolling indirectly in response to focus updates.
-
frameLayoutGuide
@NotNull public @NotNull UILayoutGuide frameLayoutGuide()
frameLayoutGuide anchors (e.g., frameLayoutGuide.centerXAnchor) refer to the untransformed frame of the scroll view. API-Since: 11.0
-
indexDisplayMode
public long indexDisplayMode()
-
setContentInsetAdjustmentBehavior
public void setContentInsetAdjustmentBehavior(long value)
Configure the behavior of adjustedContentInset. Default is UIScrollViewContentInsetAdjustmentAutomatic. API-Since: 11.0
-
setIndexDisplayMode
public void setIndexDisplayMode(long value)
-
automaticallyAdjustsScrollIndicatorInsets
public boolean automaticallyAdjustsScrollIndicatorInsets()
Configures whether the scroll indicator insets are automatically adjusted by the system. Default is YES. API-Since: 13.0
-
coordinateSpace
@NotNull public @NotNull UICoordinateSpace coordinateSpace()
Description copied from interface:UIFocusItemContainerThe coordinate space of the focus items contained in this container. The focus items returned by focusItemsInRect: should report their frames in this coordinate space. If you are implementing this protocol, you may find it convenient to return the UIScreen as your coordinate space, and ensure that your contained items report their frames in screen space. Similarly, you might find that your focus items' containing UIView or UIWindow is the most convenient coordinate space to use. You may also choose to implement your own object that conforms to UICoordinateSpace, if that is the most natural solution for your architecture.- Specified by:
coordinateSpacein interfaceUIFocusItemContainer- Overrides:
coordinateSpacein classUIView
-
focusItemsInRect
@NotNull public @NotNull NSArray<?> focusItemsInRect(CGRect rect)
Description copied from interface:UIFocusItemContainerReturns an array of all focus items within this container that intersect with the provided rect. `rect` is expressed in `coordinateSpace`. Note: starting in iOS & tvOS 16.0, UIView will return its subviews from this method. If you override this method in a UIView subclass, it will be your responsibility to call super and merge your array of custom focus items with UIView's default focus items.- Specified by:
focusItemsInRectin interfaceUIFocusItemContainer- Overrides:
focusItemsInRectin classUIView
-
horizontalScrollIndicatorInsets
public UIEdgeInsets horizontalScrollIndicatorInsets()
default is UIEdgeInsetsZero. API-Since: 11.1
-
modifyAnimationsWithRepeatCountAutoreversesAnimations
public static void modifyAnimationsWithRepeatCountAutoreversesAnimations(double count, boolean autoreverses, @NotNull UIView.Block_modifyAnimationsWithRepeatCountAutoreversesAnimations animations)
-
setAutomaticallyAdjustsScrollIndicatorInsets
public void setAutomaticallyAdjustsScrollIndicatorInsets(boolean value)
Configures whether the scroll indicator insets are automatically adjusted by the system. Default is YES. API-Since: 13.0
-
setHorizontalScrollIndicatorInsets
public void setHorizontalScrollIndicatorInsets(UIEdgeInsets value)
default is UIEdgeInsetsZero. API-Since: 11.1
-
setVerticalScrollIndicatorInsets
public void setVerticalScrollIndicatorInsets(UIEdgeInsets value)
default is UIEdgeInsetsZero. API-Since: 11.1
-
verticalScrollIndicatorInsets
public UIEdgeInsets verticalScrollIndicatorInsets()
default is UIEdgeInsetsZero. API-Since: 11.1
-
visibleSize
public CGSize visibleSize()
Description copied from interface:UIFocusItemScrollableContainerThe visible size of this scrollable container.- Specified by:
visibleSizein interfaceUIFocusItemScrollableContainer
-
allowsKeyboardScrolling
public boolean allowsKeyboardScrolling()
Set this to YES to make the scroll view animate its content offset in response to keys like Page Up/Down, Home/End, and the arrow keys. The scroll view must be focused or first responder in order to receive these key events. Default is YES for apps linked after iOS 17.0. API-Since: 17.0
-
animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion
public static void animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(double duration, double bounce, double velocity, double delay, long options, @NotNull UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_5 animations, @Nullable UIView.Block_animateWithSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion_6 completion)
-
setAllowsKeyboardScrolling
public void setAllowsKeyboardScrolling(boolean value)
Set this to YES to make the scroll view animate its content offset in response to keys like Page Up/Down, Home/End, and the arrow keys. The scroll view must be focused or first responder in order to receive these key events. Default is YES for apps linked after iOS 17.0. API-Since: 17.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-