Package org.robovm.apple.uikit
Class UINavigationController
- 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.UIViewController
-
- org.robovm.apple.uikit.UINavigationController
-
- All Implemented Interfaces:
NSCoding
,NSExtensionRequestHandling
,NSObjectProtocol
,UIAccessibility
,UIAppearanceContainer
,UIContentContainer
,UIFocusEnvironment
,UIStateRestoring
,UITraitEnvironment
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
ABPeoplePickerNavigationController
,EKEventEditViewController
,GKFriendRequestComposeViewController
,GKGameCenterViewController
,GKMatchmakerViewController
,GKTurnBasedMatchmakerViewController
,MFMailComposeViewController
,MFMessageComposeViewController
,UIImagePickerController
,UIVideoEditorController
public class UINavigationController extends UIViewController
- Since:
- Available in iOS 2.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UINavigationController.UINavigationControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIViewController
UIViewController.Notifications, UIViewController.UIViewControllerPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.uikit.UIResponder
UIResponder.UIResponderPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description UINavigationController()
UINavigationController(java.lang.Class<? extends UINavigationBar> navigationBarClass, java.lang.Class<? extends UIToolbar> toolbarClass)
UINavigationController(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
UINavigationController(NSCoder decoder)
protected
UINavigationController(NSObject.Handle h, long handle)
protected
UINavigationController(NSObject.SkipInit skipInit)
UINavigationController(UIViewController rootViewController)
-
Method Summary
-
Methods inherited from class org.robovm.apple.uikit.UIViewController
addChildViewController, addKeyCommand, applicationFinishedRestoringState, attemptRotationToDeviceOrientation, automaticallyAdjustsScrollViewInsets, beginAppearanceTransition, beginRequest, canPerformUnwind, collapseSecondaryViewController, decodeRestorableState, definesPresentationContext, didMoveToParentViewController, didReceiveMemoryWarning, didRotate, didUpdateFocus, disablesAutomaticKeyboardDismissal, dismissMoviePlayerViewController, dismissViewController, encode, encodeRestorableState, endAppearanceTransition, extendedLayoutIncludesOpaqueBars, getAdditionalSafeAreaInsets, getAllowedChildViewControllersForUnwinding, getBottomLayoutGuide, getChildViewControllerContainingSegueSource, getChildViewControllerForHomeIndicatorAutoHidden, getChildViewControllerForScreenEdgesDeferringSystemGestures, getChildViewControllerForStatusBarHidden, getChildViewControllerForStatusBarStyle, getChildViewControllers, getContentSizeForViewInPopover, getEdgesForExtendedLayout, getEditButtonItem, getExtensionContext, getFocusItemContainer, getInterfaceOrientation, getInterstitialPresentationPolicy, getModalPresentationStyle, getModalTransitionStyle, getNavigationController, getNavigationItem, getNibBundle, getNibName, getObjectRestorationClass, getOriginalContentView, getOverrideTraitCollection, getParentFocusEnvironment, getParentViewController, getPopoverPresentationController, getPreferredContentSize, getPreferredFocusedView, getPreferredFocusEnvironments, getPreferredInterfaceOrientationForPresentation, getPreferredScreenEdgesDeferringSystemGestures, getPreferredStatusBarStyle, getPreferredStatusBarUpdateAnimation, getPresentationController, getPresentedViewController, getPresentingViewController, getPreviewActionItems, getRestorationClass, getRestorationIdentifier, getRestorationParent, getRotatingFooterView, getRotatingHeaderView, getSearchDisplayController, getSegueForUnwinding, getSplitViewController, getStoryboard, getSupportedInterfaceOrientations, getSystemMinimumLayoutMargins, getTabBarController, getTabBarItem, getTargetViewControllerForAction, getTitle, getToolbarItems, getTopLayoutGuide, getTraitCollection, getTransitionCoordinator, getTransitioningDelegate, getView, getViewControllerForUnwind, getViewIfLoaded, hidesBottomBarWhenPushed, init, init, isBeingDismissed, isBeingPresented, isCanDisplayBannerAds, isDisplayingBannerAd, isEditing, isModalInPopover, isMovingFromParentViewController, isMovingToParentViewController, isPresentingFullScreenAd, isRestoresFocusAfterTransition, isViewLoaded, isViewRespectsSystemMinimumLayoutMargins, loadView, loadViewIfNeeded, modalPresentationCapturesStatusBarAppearance, performSegue, preferredContentSizeDidChangeForChildContentContainer, prefersHomeIndicatorAutoHidden, prefersStatusBarHidden, prepareForSegue, prepareInterstitialAds, presentMoviePlayerViewController, presentViewController, providesPresentationContextTransitionStyle, registerForPreviewing, removeFromParentViewController, removeKeyCommand, requestInterstitialAdPresentation, separateSecondaryViewController, setAdditionalSafeAreaInsets, setAutomaticallyAdjustsScrollViewInsets, setCanDisplayBannerAds, setContentSizeForViewInPopover, setDefinesPresentationContext, setEdgesForExtendedLayout, setEditing, setEditing, setExtendedLayoutIncludesOpaqueBars, setHidesBottomBarWhenPushed, setInterstitialPresentationPolicy, setModalInPopover, setModalPresentationCapturesStatusBarAppearance, setModalPresentationStyle, setModalTransitionStyle, setNeedsFocusUpdate, setNeedsStatusBarAppearanceUpdate, setNeedsUpdateOfHomeIndicatorAutoHidden, setNeedsUpdateOfScreenEdgesDeferringSystemGestures, setOverrideTraitCollection, setPreferredContentSize, setProvidesPresentationContextTransitionStyle, setRestorationClass, setRestorationIdentifier, setRestoresFocusAfterTransition, setTabBarItem, setTitle, setToolbarItems, setToolbarItems, setTransitioningDelegate, setView, setViewRespectsSystemMinimumLayoutMargins, setWantsFullScreenLayout, shouldAutomaticallyForwardAppearanceMethods, shouldAutomaticallyForwardRotationMethods, shouldAutorotate, shouldPerformSegue, shouldPresentInterstitialAd, shouldUpdateFocus, ShowDetailTargetDidChangeNotification, showDetailViewController, sizeForChildContentContainer, systemLayoutFittingSizeDidChangeForChildContentContainer, traitCollectionDidChange, transition, unregisterForPreviewing, unwind, updateFocusIfNeeded, updateViewConstraints, viewDidAppear, viewDidDisappear, viewDidLayoutSubviews, viewDidLoad, viewLayoutMarginsDidChange, viewSafeAreaInsetsDidChange, viewWillAppear, viewWillDisappear, viewWillLayoutSubviews, viewWillTransitionToSize, wantsFullScreenLayout, willAnimateRotation, willMoveToParentViewController, willRotate, willTransitionToTraitCollection
-
Methods inherited from class org.robovm.apple.uikit.UIResponder
areAccessibilityElementsHidden, becomeFirstResponder, canBecomeFirstResponder, canPerformAction, canResignFirstResponder, clearTextInputContextIdentifier, getAccessibilityActivationPoint, getAccessibilityAttributedHint, getAccessibilityAttributedLabel, getAccessibilityAttributedValue, getAccessibilityFrame, getAccessibilityHint, getAccessibilityLabel, getAccessibilityLanguage, getAccessibilityNavigationStyle, getAccessibilityPath, getAccessibilityTraits, getAccessibilityValue, getActionTarget, getInputAccessoryView, getInputAccessoryViewController, getInputAssistantItem, getInputView, getInputViewController, getKeyCommands, getNextResponder, getTextInputContextIdentifier, getTextInputMode, getUndoManager, getUserActivity, isAccessibilityElement, isAccessibilityViewModal, isFirstResponder, motionBegan, motionCancelled, motionEnded, pressesBegan, pressesCancelled, pressesChanged, pressesEnded, reloadInputViews, remoteControlReceived, resignFirstResponder, restoreUserActivityState, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedValue, setAccessibilityElement, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityTraits, setAccessibilityValue, setAccessibilityViewModal, setShouldGroupAccessibilityChildren, setUserActivity, shouldGroupAccessibilityChildren, touchesBegan, touchesCancelled, touchesEnded, touchesEstimatedPropertiesUpdated, touchesMoved, updateUserActivityState
-
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, willChangeValues
-
-
-
-
Constructor Detail
-
UINavigationController
public UINavigationController()
-
UINavigationController
protected UINavigationController(NSObject.Handle h, long handle)
-
UINavigationController
protected UINavigationController(NSObject.SkipInit skipInit)
-
UINavigationController
public UINavigationController(java.lang.Class<? extends UINavigationBar> navigationBarClass, java.lang.Class<? extends UIToolbar> toolbarClass)
- Since:
- Available in iOS 5.0 and later.
-
UINavigationController
public UINavigationController(UIViewController rootViewController)
-
UINavigationController
public UINavigationController(java.lang.String nibNameOrNil, NSBundle nibBundleOrNil)
-
UINavigationController
public UINavigationController(NSCoder decoder)
-
-
Method Detail
-
getTopViewController
public UIViewController getTopViewController()
-
getVisibleViewController
public UIViewController getVisibleViewController()
-
getViewControllers
public NSArray<UIViewController> getViewControllers()
-
setViewControllers
public void setViewControllers(NSArray<UIViewController> v)
-
isNavigationBarHidden
public boolean isNavigationBarHidden()
-
setNavigationBarHidden
public void setNavigationBarHidden(boolean v)
-
getNavigationBar
public UINavigationBar getNavigationBar()
-
isToolbarHidden
public boolean isToolbarHidden()
- Since:
- Available in iOS 3.0 and later.
-
setToolbarHidden
public void setToolbarHidden(boolean v)
- Since:
- Available in iOS 3.0 and later.
-
getToolbar
public UIToolbar getToolbar()
- Since:
- Available in iOS 3.0 and later.
-
getDelegate
public UINavigationControllerDelegate getDelegate()
-
setDelegate
public void setDelegate(UINavigationControllerDelegate v)
-
getInteractivePopGestureRecognizer
public UIGestureRecognizer getInteractivePopGestureRecognizer()
- Since:
- Available in iOS 7.0 and later.
-
hidesBarsWhenKeyboardAppears
public boolean hidesBarsWhenKeyboardAppears()
- Since:
- Available in iOS 8.0 and later.
-
setHidesBarsWhenKeyboardAppears
public void setHidesBarsWhenKeyboardAppears(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
hidesBarsOnSwipe
public boolean hidesBarsOnSwipe()
- Since:
- Available in iOS 8.0 and later.
-
setHidesBarsOnSwipe
public void setHidesBarsOnSwipe(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
getBarHideOnSwipeGestureRecognizer
public UIPanGestureRecognizer getBarHideOnSwipeGestureRecognizer()
- Since:
- Available in iOS 8.0 and later.
-
hidesBarsWhenVerticallyCompact
public boolean hidesBarsWhenVerticallyCompact()
- Since:
- Available in iOS 8.0 and later.
-
setHidesBarsWhenVerticallyCompact
public void setHidesBarsWhenVerticallyCompact(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
hidesBarsOnTap
public boolean hidesBarsOnTap()
- Since:
- Available in iOS 8.0 and later.
-
setHidesBarsOnTap
public void setHidesBarsOnTap(boolean v)
- Since:
- Available in iOS 8.0 and later.
-
getBarHideOnTapGestureRecognizer
public UITapGestureRecognizer getBarHideOnTapGestureRecognizer()
- Since:
- Available in iOS 8.0 and later.
-
getHideShowBarDuration
public static double getHideShowBarDuration()
-
init
protected long init(java.lang.Class<? extends UINavigationBar> navigationBarClass, java.lang.Class<? extends UIToolbar> toolbarClass)
- Since:
- Available in iOS 5.0 and later.
-
init
protected long init(UIViewController rootViewController)
-
pushViewController
public void pushViewController(UIViewController viewController, boolean animated)
-
popViewController
public UIViewController popViewController(boolean animated)
-
popToViewController
public NSArray<UIViewController> popToViewController(UIViewController viewController, boolean animated)
-
popToRootViewController
public NSArray<UIViewController> popToRootViewController(boolean animated)
-
setViewControllers
public void setViewControllers(NSArray<UIViewController> viewControllers, boolean animated)
- Since:
- Available in iOS 3.0 and later.
-
setNavigationBarHidden
public void setNavigationBarHidden(boolean hidden, boolean animated)
-
setToolbarHidden
public void setToolbarHidden(boolean hidden, boolean animated)
- Since:
- Available in iOS 3.0 and later.
-
showViewController
public void showViewController(UIViewController vc, NSObject sender)
- Overrides:
showViewController
in classUIViewController
- Since:
- Available in iOS 8.0 and later.
-
-