Package org.robovm.apple.uikit
Class UIScrollView
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIResponder
org.robovm.apple.uikit.UIView
org.robovm.apple.uikit.UIScrollView
- All Implemented Interfaces:
CALayerDelegate,NSCoding,NSObjectProtocol,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIFocusItemScrollableContainer,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
- Direct Known Subclasses:
PKCanvasView,UICollectionView,UITableView,UITextView
public class UIScrollView extends UIView implements NSCoding, UIFocusItemScrollableContainer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIScrollView.UIScrollViewPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description UIScrollView()UIScrollView(CGRect frame)UIScrollView(NSCoder coder)protectedUIScrollView(NSObject.Handle h, long handle)protectedUIScrollView(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.uikit.UIView
addConstraint, addConstraints, addGestureRecognizer, addInteraction, addKeyframe, addLayoutGuide, addMotionEffect, addSubview, animate, animate, animate, animate, animateKeyframes, areAnimationsEnabled, autoresizesSubviews, beginAnimations, bringSubviewToFront, canBecomeFocused, clearsContextBeforeDrawing, clipsToBounds, commitAnimations, convertPointFromCoordinateSpace, convertPointFromView, convertPointToCoordinateSpace, convertPointToView, convertRectFromCoordinateSpace, convertRectFromView, convertRectToCoordinateSpace, convertRectToView, decodeRestorableState, didAddSubview, didHintFocusMovement, didMoveToSuperview, didMoveToWindow, didUpdateFocus, displayLayer, draw, draw, drawLayer, drawViewHierarchy, encode, encodeRestorableState, endEditing, exchangeSubview, exerciseAmbiguityInLayout, focusItemsInRect, gestureRecognizerShouldBegin, getAccessibilityIdentifier, getAction, getAlignmentRectForFrame, getAlignmentRectInsets, getAlpha, getAppliedContentSizeCategoryLimitsDescription, getAutoresizingMask, getBackgroundColor, getBottomAnchor, getBounds, getCenter, getCenterXAnchor, getCenterYAnchor, getCollisionBoundingPath, getCollisionBoundsType, getConstraints, getConstraintsAffectingLayout, getContentCompressionResistancePriority, getContentHuggingPriority, getContentMode, getContentScaleFactor, getCoordinateSpace, getDirectionalLayoutMargins, getEffectiveUserInterfaceLayoutDirection, getFirstBaselineAnchor, getFocusEffect, getFocusGroupIdentifier, getFocusGroupPriority, getFocusItemContainer, getFrame, getFrameForAlignmentRect, getGestureRecognizers, getHeightAnchor, getInheritedAnimationDuration, getInteractions, getIntrinsicContentSize, getKeyboardLayoutGuide, getLargeContentImage, getLargeContentImageInsets, getLargeContentTitle, getLastBaselineAnchor, getLayer, getLayoutGuides, getLayoutMargins, getLayoutMarginsGuide, getLeadingAnchor, getLeftAnchor, getMaskView, getMaximumContentSizeCategory, getMinimumContentSizeCategory, getMotionEffects, getOverrideUserInterfaceStyle, getParentFocusEnvironment, getPreferredFocusedView, getPreferredFocusEnvironments, getReadableContentGuide, getResizableSnapshot, getRestorationIdentifier, getRightAnchor, getSafeAreaInsets, getSafeAreaLayoutGuide, getSemanticContentAttribute, getSizeThatFits, getSnapshot, getSubviews, getSuperview, getSystemLayoutSizeFittingSize, getSystemLayoutSizeFittingSize, getTag, getTintAdjustmentMode, getTintColor, getTopAnchor, getTrailingAnchor, getTraitCollection, getTransform, getTransform3D, getViewForBaselineLayout, getViewForFirstBaselineLayout, getViewForLastBaselineLayout, getViewPrintFormatter, getViewWithTag, getWidthAnchor, getWindow, hasAmbiguousLayout, hitTest, init, init, insertSubview, insertSubviewAbove, insertSubviewBelow, invalidateIntrinsicContentSize, isAccessibilityIgnoresInvertColors, isDescendantOf, isExclusiveTouch, isFocused, isHidden, isInsetsLayoutMarginsFromSafeArea, isMultipleTouchEnabled, isOpaque, isPointInside, isScalesLargeContentImage, isTransparentFocusItem, isUserInteractionEnabled, layoutIfNeeded, layoutMarginsDidChange, layoutSublayers, layoutSubviews, modifyAnimations, needsUpdateConstraints, NoIntrinsicMetric, performSystemAnimation, performWithoutAnimation, preservesSuperviewLayoutMargins, removeConstraint, removeConstraints, removeFromSuperview, removeGestureRecognizer, removeInteraction, removeLayoutGuide, removeMotionEffect, requiresConstraintBasedLayout, safeAreaInsetsDidChange, sendSubviewToBack, setAccessibilityIdentifier, setAccessibilityIgnoresInvertColors, setAlpha, setAnimationBeginsFromCurrentState, setAnimationCurve, setAnimationDelay, setAnimationDelegate, setAnimationDidStopSelector, setAnimationDurationInSeconds, setAnimationRepeatAutoreverses, setAnimationRepeatCount, setAnimationsEnabled, setAnimationStartDate, setAnimationTransition, setAnimationWillStartSelector, setAutoresizesSubviews, setAutoresizingMask, setBackgroundColor, setBounds, setCenter, setClearsContextBeforeDrawing, setClipsToBounds, setContentCompressionResistancePriority, setContentHuggingPriority, setContentMode, setContentScaleFactor, setDirectionalLayoutMargins, setExclusiveTouch, setFocusEffect, setFocusGroupIdentifier, setFocusGroupPriority, setFrame, setGestureRecognizers, setHidden, setInsetsLayoutMarginsFromSafeArea, setInteractions, setLargeContentImage, setLargeContentImageInsets, setLargeContentTitle, setLayoutMargins, setMaskView, setMaximumContentSizeCategory, setMinimumContentSizeCategory, setMotionEffects, setMultipleTouchEnabled, setNeedsDisplay, setNeedsDisplay, setNeedsFocusUpdate, setNeedsLayout, setNeedsUpdateConstraints, setOpaque, setOverrideUserInterfaceStyle, setPreservesSuperviewLayoutMargins, setRestorationIdentifier, setScalesLargeContentImage, setSemanticContentAttribute, setShowsLargeContentViewer, setTag, setTintAdjustmentMode, setTintColor, setTransform, setTransform3D, setTranslatesAutoresizingMaskIntoConstraints, setUserInteractionEnabled, shouldUpdateFocus, showsLargeContentViewer, sizeToFit, tintColorDidChange, traitCollectionDidChange, transition, transition, translatesAutoresizingMaskIntoConstraints, updateConstraints, updateConstraintsIfNeeded, updateFocusIfNeeded, willDrawLayer, willMoveToSuperview, willMoveToWindow, willRemoveSubviewMethods inherited from class org.robovm.apple.uikit.UIResponder
becomeFirstResponder, buildMenu, canBecomeFirstResponder, canPasteItemProviders, canPerformAction, canResignFirstResponder, captureTextFromCamera, clearTextInputContextIdentifier, copy, cut, decreaseSize, delete, getActionTarget, getActivityItemsConfiguration, getEditingInteractionConfiguration, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getPasteConfiguration, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, increaseSize, isFirstResponder, makeTextWritingDirectionLeftToRight, makeTextWritingDirectionRightToLeft, motionBegan, motionCancelled, motionEnded, paste, pasteAndGo, pasteAndMatchStyle, pasteAndSearch, pasteItemProviders, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, print, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, select, selectAll, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from interface org.robovm.apple.uikit.UIFocusItemContainer
focusItemsInRect, getCoordinateSpace
-
Constructor Details
-
UIScrollView
public UIScrollView() -
UIScrollView
-
UIScrollView
-
UIScrollView
-
UIScrollView
-
-
Method Details
-
getContentOffset
- Specified by:
getContentOffsetin interfaceUIFocusItemScrollableContainer
-
setContentOffset
- Specified by:
setContentOffsetin interfaceUIFocusItemScrollableContainer
-
getContentSize
- Specified by:
getContentSizein interfaceUIFocusItemScrollableContainer
-
setContentSize
-
getContentInset
-
setContentInset
-
getAdjustedContentInset
- Since:
- Available in iOS 11.0 and later.
-
getContentInsetAdjustmentBehavior
- Since:
- Available in iOS 11.0 and later.
-
setContentInsetAdjustmentBehavior
- Since:
- Available in iOS 11.0 and later.
-
automaticallyAdjustsScrollIndicatorInsets
public boolean automaticallyAdjustsScrollIndicatorInsets()- Since:
- Available in iOS 13.0 and later.
-
setAutomaticallyAdjustsScrollIndicatorInsets
public void setAutomaticallyAdjustsScrollIndicatorInsets(boolean v)- Since:
- Available in iOS 13.0 and later.
-
getContentLayoutGuide
- Since:
- Available in iOS 11.0 and later.
-
getFrameLayoutGuide
- Since:
- Available in iOS 11.0 and later.
-
getDelegate
-
setDelegate
-
isDirectionalLockEnabled
public boolean isDirectionalLockEnabled() -
setDirectionalLockEnabled
public void setDirectionalLockEnabled(boolean v) -
bounces
public boolean bounces() -
setBounces
public void setBounces(boolean v) -
alwaysBounceVertical
public boolean alwaysBounceVertical() -
setAlwaysBounceVertical
public void setAlwaysBounceVertical(boolean v) -
alwaysBounceHorizontal
public boolean alwaysBounceHorizontal() -
setAlwaysBounceHorizontal
public void setAlwaysBounceHorizontal(boolean v) -
isPagingEnabled
public boolean isPagingEnabled() -
setPagingEnabled
public void setPagingEnabled(boolean v) -
isScrollEnabled
public boolean isScrollEnabled() -
setScrollEnabled
public void setScrollEnabled(boolean v) -
showsVerticalScrollIndicator
public boolean showsVerticalScrollIndicator() -
setShowsVerticalScrollIndicator
public void setShowsVerticalScrollIndicator(boolean v) -
showsHorizontalScrollIndicator
public boolean showsHorizontalScrollIndicator() -
setShowsHorizontalScrollIndicator
public void setShowsHorizontalScrollIndicator(boolean v) -
getIndicatorStyle
-
setIndicatorStyle
-
getVerticalScrollIndicatorInsets
- Since:
- Available in iOS 11.1 and later.
-
setVerticalScrollIndicatorInsets
- Since:
- Available in iOS 11.1 and later.
-
getHorizontalScrollIndicatorInsets
- Since:
- Available in iOS 11.1 and later.
-
setHorizontalScrollIndicatorInsets
- Since:
- Available in iOS 11.1 and later.
-
getScrollIndicatorInsets
-
setScrollIndicatorInsets
-
getDecelerationRate
public double getDecelerationRate() -
setDecelerationRate
public void setDecelerationRate(double v) -
getIndexDisplayMode
-
setIndexDisplayMode
-
isTracking
public boolean isTracking() -
isDragging
public boolean isDragging() -
isDecelerating
public boolean isDecelerating() -
delaysContentTouches
public boolean delaysContentTouches() -
setDelaysContentTouches
public void setDelaysContentTouches(boolean v) -
canCancelContentTouches
public boolean canCancelContentTouches() -
setCanCancelContentTouches
public void setCanCancelContentTouches(boolean v) -
getMinimumZoomScale
public double getMinimumZoomScale() -
setMinimumZoomScale
public void setMinimumZoomScale(double v) -
getMaximumZoomScale
public double getMaximumZoomScale() -
setMaximumZoomScale
public void setMaximumZoomScale(double v) -
getZoomScale
public double getZoomScale() -
setZoomScale
public void setZoomScale(double v) -
bouncesZoom
public boolean bouncesZoom() -
setBouncesZoom
public void setBouncesZoom(boolean v) -
isZooming
public boolean isZooming() -
isZoomBouncing
public boolean isZoomBouncing() -
scrollsToTop
public boolean scrollsToTop() -
setScrollsToTop
public void setScrollsToTop(boolean v) -
getPanGestureRecognizer
-
getPinchGestureRecognizer
-
getDirectionalPressGestureRecognizer
-
getKeyboardDismissMode
-
setKeyboardDismissMode
-
getRefreshControl
- Since:
- Available in iOS 10.0 and later.
-
setRefreshControl
- Since:
- Available in iOS 10.0 and later.
-
getLayerClass
-
getVisibleSize
- Specified by:
getVisibleSizein interfaceUIFocusItemScrollableContainer
-
getNormalDecelerationRate
public static double getNormalDecelerationRate() -
getFastDecelerationRate
public static double getFastDecelerationRate() -
adjustedContentInsetDidChange
public void adjustedContentInsetDidChange()- Since:
- Available in iOS 11.0 and later.
-
setContentOffset
-
scrollRectToVisible
-
flashScrollIndicators
public void flashScrollIndicators() -
touchesShouldBegin
-
touchesShouldCancelInContentView
-
setZoomScale
public void setZoomScale(double scale, boolean animated) -
zoomToRect
-
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute attribute)- Since:
- Available in iOS 9.0 and later.
-
getUserInterfaceLayoutDirection
public static UIUserInterfaceLayoutDirection getUserInterfaceLayoutDirection(UISemanticContentAttribute semanticContentAttribute, UIUserInterfaceLayoutDirection layoutDirection)- Since:
- Available in iOS 10.0 and later.
-