Package org.robovm.apple.pdfkit
Class PDFView
- All Implemented Interfaces:
CALayerDelegate,NSCoding,NSObjectProtocol,UIAccessibilityIdentification,UIActivityItemsConfigurationProviding,UIAppearanceContainer,UICoordinateSpace,UIDynamicItem,UIFocusEnvironment,UIFocusItem,UIFocusItemContainer,UIGestureRecognizerDelegate,UILargeContentViewerItem,UIPasteConfigurationSupporting,UIResponderStandardEditActions,UITraitEnvironment,UIUserActivityRestoring,ObjCProtocol
public class PDFView extends UIView implements UIGestureRecognizerDelegate
- Since:
- Available in iOS 11.0 and later.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPDFView.PDFViewPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIView
UIView.UIViewPtrNested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description PDFView()PDFView(CGRect frame)PDFView(NSCoder coder)protectedPDFView(NSObject.Handle h, long handle)protectedPDFView(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, 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, 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, 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, setActivityItemsConfiguration, setPasteConfiguration, setUserActivity, toggleBoldface, toggleItalics, toggleUnderline, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateTextAttributes, updateUserActivityState, validateCommandMethods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
PDFView
public PDFView() -
PDFView
-
PDFView
-
PDFView
-
PDFView
-
-
Method Details
-
getDocument
-
setDocument
-
canGoToFirstPage
public boolean canGoToFirstPage() -
canGoToLastPage
public boolean canGoToLastPage() -
canGoToNextPage
public boolean canGoToNextPage() -
canGoToPreviousPage
public boolean canGoToPreviousPage() -
canGoBack
public boolean canGoBack() -
canGoForward
public boolean canGoForward() -
getCurrentPage
-
getCurrentDestination
-
getDisplayMode
-
setDisplayMode
-
getDisplayDirection
- Since:
- Available in iOS 11.0 and later.
-
setDisplayDirection
- Since:
- Available in iOS 11.0 and later.
-
displaysPageBreaks
public boolean displaysPageBreaks() -
setDisplaysPageBreaks
public void setDisplaysPageBreaks(boolean v) -
getPageBreakMargins
- Since:
- Available in iOS 11.0 and later.
-
setPageBreakMargins
- Since:
- Available in iOS 11.0 and later.
-
getDisplayBox
-
setDisplayBox
-
displaysAsBook
public boolean displaysAsBook() -
setDisplaysAsBook
public void setDisplaysAsBook(boolean v) -
displaysRTL
public boolean displaysRTL()- Since:
- Available in iOS 11.0 and later.
-
setDisplaysRTL
public void setDisplaysRTL(boolean v)- Since:
- Available in iOS 11.0 and later.
-
getBackgroundColor
- Overrides:
getBackgroundColorin classUIView
-
setBackgroundColor
- Overrides:
setBackgroundColorin classUIView
-
getInterpolationQuality
- Since:
- Available in iOS 11.0 and later.
-
setInterpolationQuality
- Since:
- Available in iOS 11.0 and later.
-
isPageShadowsEnabled
public boolean isPageShadowsEnabled()- Since:
- Available in iOS 12.0 and later.
-
setPageShadowsEnabled
public void setPageShadowsEnabled(boolean v)- Since:
- Available in iOS 12.0 and later.
-
isUsingPageViewController
public boolean isUsingPageViewController()- Since:
- Available in iOS 11.0 and later.
-
getDelegate
-
setDelegate
-
getScaleFactor
public double getScaleFactor() -
setScaleFactor
public void setScaleFactor(double v) -
getMinScaleFactor
public double getMinScaleFactor()- Since:
- Available in iOS 11.0 and later.
-
setMinScaleFactor
public void setMinScaleFactor(double v)- Since:
- Available in iOS 11.0 and later.
-
getMaxScaleFactor
public double getMaxScaleFactor()- Since:
- Available in iOS 11.0 and later.
-
setMaxScaleFactor
public void setMaxScaleFactor(double v)- Since:
- Available in iOS 11.0 and later.
-
isAutoScales
public boolean isAutoScales() -
setAutoScales
public void setAutoScales(boolean v) -
getScaleFactorForSizeToFit
public double getScaleFactorForSizeToFit()- Since:
- Available in iOS 11.0 and later.
-
canZoomIn
public boolean canZoomIn() -
canZoomOut
public boolean canZoomOut() -
getCurrentSelection
-
setCurrentSelection
-
getHighlightedSelections
- Since:
- Available in iOS 11.0 and later.
-
setHighlightedSelections
- Since:
- Available in iOS 11.0 and later.
-
getDocumentView
-
getVisiblePages
- Since:
- Available in iOS 11.0 and later.
-
isEnableDataDetectors
public boolean isEnableDataDetectors()- Since:
- Available in iOS 11.0 and later.
-
setEnableDataDetectors
public void setEnableDataDetectors(boolean v)- Since:
- Available in iOS 11.0 and later.
-
getLayerClass
-
goToFirstPage
-
goToLastPage
-
goToNextPage
-
goToPreviousPage
-
goBack
-
goForward
-
goToPage
-
goToDestination
-
goToSelection
-
goToRect
-
usePageViewController
- Since:
- Available in iOS 11.0 and later.
-
zoomIn
-
zoomOut
-
areaOfInterestForMouse
-
areaOfInterestForPoint
-
performAction
- Since:
- Available in iOS 11.0 and later.
-
setCurrentSelection
- Since:
- Available in iOS 11.0 and later.
-
clearSelection
public void clearSelection() -
selectAll
- Specified by:
selectAllin interfaceUIResponderStandardEditActions- Overrides:
selectAllin classUIResponder
-
scrollSelectionToVisible
-
drawPage
- Since:
- Available in iOS 11.0 and later.
-
drawPagePost
- Since:
- Available in iOS 11.0 and later.
-
copy
- Specified by:
copyin interfaceUIResponderStandardEditActions- Overrides:
copyin classUIResponder
-
pageForPoint
-
convertPointToPage
-
convertRectToPage
-
convertPointFromPage
-
convertRectFromPage
-
layoutDocumentView
public void layoutDocumentView() -
annotationsChangedOnPage
- Since:
- Available in iOS 11.0 and later.
-
rowSizeForPage
-
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.
-
shouldBegin
- Specified by:
shouldBeginin interfaceUIGestureRecognizerDelegate
-
shouldRecognizeSimultaneously
public boolean shouldRecognizeSimultaneously(UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer)- Specified by:
shouldRecognizeSimultaneouslyin interfaceUIGestureRecognizerDelegate
-
shouldRequireFailure
public boolean shouldRequireFailure(UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer)- Specified by:
shouldRequireFailurein interfaceUIGestureRecognizerDelegate
-
shouldBeRequiredToFail
public boolean shouldBeRequiredToFail(UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer)- Specified by:
shouldBeRequiredToFailin interfaceUIGestureRecognizerDelegate
-
shouldReceiveTouch
- Specified by:
shouldReceiveTouchin interfaceUIGestureRecognizerDelegate
-
shouldReceivePress
- Specified by:
shouldReceivePressin interfaceUIGestureRecognizerDelegate
-
shouldReceiveEvent
- Specified by:
shouldReceiveEventin interfaceUIGestureRecognizerDelegate- Since:
- Available in iOS 13.4 and later.
-