Package org.robovm.apple.uikit
Class UIPresentationController
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.uikit.UIPresentationController
- All Implemented Interfaces:
NSObjectProtocol,UIAppearanceContainer,UIContentContainer,UIFocusEnvironment,UITraitEnvironment,ObjCProtocol
- Direct Known Subclasses:
UIPopoverPresentationController,UISheetPresentationController
public class UIPresentationController extends NSObject implements UIAppearanceContainer, UITraitEnvironment, UIContentContainer, UIFocusEnvironment
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUIPresentationController.UIPresentationControllerPtrNested 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 protectedUIPresentationController()protectedUIPresentationController(NSObject.Handle h, long handle)protectedUIPresentationController(NSObject.SkipInit skipInit)UIPresentationController(UIViewController presentedViewController, UIViewController presentingViewController) -
Method Summary
Methods 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, updateStrongRef
-
Constructor Details
-
UIPresentationController
protected UIPresentationController() -
UIPresentationController
-
UIPresentationController
-
UIPresentationController
public UIPresentationController(UIViewController presentedViewController, UIViewController presentingViewController)
-
-
Method Details
-
getPresentingViewController
-
getPresentedViewController
-
getPresentationStyle
-
getContainerView
-
getDelegate
-
setDelegate
-
getAdaptivePresentationStyle
-
getPresentedView
-
getFrameOfPresentedViewInContainerView
-
shouldPresentInFullscreen
public boolean shouldPresentInFullscreen() -
shouldRemovePresentersView
public boolean shouldRemovePresentersView() -
getOverrideTraitCollection
-
setOverrideTraitCollection
-
getTraitCollection
- Specified by:
getTraitCollectionin interfaceUITraitEnvironment
-
getPreferredContentSize
- Specified by:
getPreferredContentSizein interfaceUIContentContainer
-
getPreferredFocusEnvironments
- Specified by:
getPreferredFocusEnvironmentsin interfaceUIFocusEnvironment
-
getParentFocusEnvironment
- Specified by:
getParentFocusEnvironmentin interfaceUIFocusEnvironment- Since:
- Available in iOS 12.0 and later.
-
getFocusItemContainer
- Specified by:
getFocusItemContainerin interfaceUIFocusEnvironment- Since:
- Available in iOS 12.0 and later.
-
getPreferredFocusedView
Deprecated.Deprecated in iOS 10.0. Use preferredFocusEnvironments- Specified by:
getPreferredFocusedViewin interfaceUIFocusEnvironment- Since:
- Available in iOS 9.0 and later.
-
getFocusGroupIdentifier
- Specified by:
getFocusGroupIdentifierin interfaceUIFocusEnvironment- Since:
- Available in iOS 14.0 and later.
-
init
protected long init(UIViewController presentedViewController, UIViewController presentingViewController) -
getAdaptivePresentationStyleForTraitCollection
public UIModalPresentationStyle getAdaptivePresentationStyleForTraitCollection(UITraitCollection traitCollection)- Since:
- Available in iOS 8.3 and later.
-
containerViewWillLayoutSubviews
public void containerViewWillLayoutSubviews() -
containerViewDidLayoutSubviews
public void containerViewDidLayoutSubviews() -
presentationTransitionWillBegin
public void presentationTransitionWillBegin() -
presentationTransitionDidEnd
public void presentationTransitionDidEnd(boolean completed) -
dismissalTransitionWillBegin
public void dismissalTransitionWillBegin() -
dismissalTransitionDidEnd
public void dismissalTransitionDidEnd(boolean completed) -
traitCollectionDidChange
- Specified by:
traitCollectionDidChangein interfaceUITraitEnvironment
-
preferredContentSizeDidChangeForChildContentContainer
- Specified by:
preferredContentSizeDidChangeForChildContentContainerin interfaceUIContentContainer
-
systemLayoutFittingSizeDidChangeForChildContentContainer
- Specified by:
systemLayoutFittingSizeDidChangeForChildContentContainerin interfaceUIContentContainer
-
sizeForChildContentContainer
- Specified by:
sizeForChildContentContainerin interfaceUIContentContainer
-
viewWillTransitionToSize
public void viewWillTransitionToSize(CGSize size, UIViewControllerTransitionCoordinator coordinator)- Specified by:
viewWillTransitionToSizein interfaceUIContentContainer
-
willTransitionToTraitCollection
public void willTransitionToTraitCollection(UITraitCollection newCollection, UIViewControllerTransitionCoordinator coordinator)- Specified by:
willTransitionToTraitCollectionin interfaceUIContentContainer
-
setNeedsFocusUpdate
public void setNeedsFocusUpdate()- Specified by:
setNeedsFocusUpdatein interfaceUIFocusEnvironment
-
updateFocusIfNeeded
public void updateFocusIfNeeded()- Specified by:
updateFocusIfNeededin interfaceUIFocusEnvironment
-
shouldUpdateFocus
- Specified by:
shouldUpdateFocusin interfaceUIFocusEnvironment
-
didUpdateFocus
- Specified by:
didUpdateFocusin interfaceUIFocusEnvironment
-