Package apple.uikit
Class UINavigationItem
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.uikit.UINavigationItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUINavigationItem.Block_setTitleMenuProviderstatic interfaceUINavigationItem.Block_titleMenuProvider_ret-
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUINavigationItem(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()@Nullable UIDeferredMenuElementadditionalOverflowItems()Additional items to add to the overflow menu.static UINavigationItemalloc()static UINavigationItemallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)@Nullable UIActionbackAction()Replaces the back action for the navigation bar.@Nullable UIBarButtonItembackBarButtonItem()Bar button item to use for the back button when this item is the navigation bar's backItem.longbackButtonDisplayMode()Controls how the back button sources its title.@Nullable java.lang.StringbackButtonTitle()Title to use when this item is the navigation bar's backItem.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)@NotNull NSArray<? extends UIBarButtonItemGroup>centerItemGroups()Customizable UIBarButtonItemGroups that will be placed in the center region when the navigation bar is the browser or editor modes.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@Nullable UINavigationBarAppearancecompactAppearance()When set and this item is topmost, overrides the hosting navigation bar's compactAppearance.@Nullable UINavigationBarAppearancecompactScrollEdgeAppearance()When set and this item is topmost, overrides the hosting navigation bar's compactScrollEdgeAppearance.@Nullable java.lang.StringcustomizationIdentifier()Setting a non-nil customizationIdentifier enables customization and UIKit will automatically save & restore customizations based on this identifier.static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()@Nullable UIDocumentPropertiesdocumentProperties()When non-nil, UIKit will use the metadata provided to generate additional controls displayed from the title.voidencodeWithCoder(@NotNull NSCoder coder)static longhash_static()booleanhidesBackButton()If YES, this navigation item will hide the back button when it's on top of the stack.booleanhidesSearchBarWhenScrolling()If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view.UINavigationIteminit()UINavigationIteminitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZERUINavigationIteminitWithTitle(@NotNull java.lang.String title)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)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)longlargeTitleDisplayMode()When UINavigationBar.prefersLargeTitles=YES, this property controls when the larger out-of-line title is displayed.@NotNull NSArray<? extends UIBarButtonItemGroup>leadingItemGroups()UIBarButtonItemGroups to be displayed in the leading section of the navigation bar.@Nullable UIBarButtonItemleftBarButtonItem()Some navigation items want to display a custom left or right item when they're on top of the stack.@Nullable NSArray<? extends UIBarButtonItem>leftBarButtonItems()Use these properties to set multiple items in a navigation bar.booleanleftItemsSupplementBackButton()By default, the leftItemsSupplementBackButton property is NO.static UINavigationItemnew_objc()@Nullable UIPopoverPresentationControllerSourceItemoverflowPresentationSource()If the overflow button for this item is currently present, then this will return a non-nil item that can be used as a presentation source (e.g.@Nullable UIBarButtonItemGrouppinnedTrailingGroup()Set a group of items to be placed on the trailing edge of the bar, past the overflow & search items (if present).longpreferredSearchBarPlacement()The preferred search bar placement, when a search controller is assigned to this item.@Nullable java.lang.Stringprompt()Explanatory text to display above the navigation bar buttons.@Nullable UINavigationItemRenameDelegaterenameDelegate()When non-nil, enables the UINavigationBar to respond to the rename: action by providing an inline UI.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)@Nullable UIBarButtonItemrightBarButtonItem()@Nullable NSArray<? extends UIBarButtonItem>rightBarButtonItems()API-Since: 5.0@Nullable UINavigationBarAppearancescrollEdgeAppearance()When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance.longsearchBarPlacement()The realized placement.@Nullable UISearchControllersearchController()A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.voidsetAdditionalOverflowItems(@Nullable UIDeferredMenuElement value)Additional items to add to the overflow menu.voidsetBackAction(@Nullable UIAction value)Replaces the back action for the navigation bar.voidsetBackBarButtonItem(@Nullable UIBarButtonItem value)Bar button item to use for the back button when this item is the navigation bar's backItem.voidsetBackButtonDisplayMode(long value)Controls how the back button sources its title.voidsetBackButtonTitle(@Nullable java.lang.String value)Title to use when this item is the navigation bar's backItem.voidsetCenterItemGroups(@NotNull NSArray<? extends UIBarButtonItemGroup> value)Customizable UIBarButtonItemGroups that will be placed in the center region when the navigation bar is the browser or editor modes.voidsetCompactAppearance(@Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's compactAppearance.voidsetCompactScrollEdgeAppearance(@Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's compactScrollEdgeAppearance.voidsetCustomizationIdentifier(@Nullable java.lang.String value)Setting a non-nil customizationIdentifier enables customization and UIKit will automatically save & restore customizations based on this identifier.voidsetDocumentProperties(@Nullable UIDocumentProperties value)When non-nil, UIKit will use the metadata provided to generate additional controls displayed from the title.voidsetHidesBackButton(boolean value)If YES, this navigation item will hide the back button when it's on top of the stack.voidsetHidesBackButtonAnimated(boolean hidesBackButton, boolean animated)voidsetHidesSearchBarWhenScrolling(boolean value)If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view.voidsetLargeTitleDisplayMode(long value)When UINavigationBar.prefersLargeTitles=YES, this property controls when the larger out-of-line title is displayed.voidsetLeadingItemGroups(@NotNull NSArray<? extends UIBarButtonItemGroup> value)UIBarButtonItemGroups to be displayed in the leading section of the navigation bar.voidsetLeftBarButtonItem(@Nullable UIBarButtonItem value)Some navigation items want to display a custom left or right item when they're on top of the stack.voidsetLeftBarButtonItemAnimated(@Nullable UIBarButtonItem item, boolean animated)voidsetLeftBarButtonItems(@Nullable NSArray<? extends UIBarButtonItem> value)Use these properties to set multiple items in a navigation bar.voidsetLeftBarButtonItemsAnimated(@Nullable NSArray<? extends UIBarButtonItem> items, boolean animated)API-Since: 5.0voidsetLeftItemsSupplementBackButton(boolean value)By default, the leftItemsSupplementBackButton property is NO.voidsetPinnedTrailingGroup(@Nullable UIBarButtonItemGroup value)Set a group of items to be placed on the trailing edge of the bar, past the overflow & search items (if present).voidsetPreferredSearchBarPlacement(long value)The preferred search bar placement, when a search controller is assigned to this item.voidsetPrompt(@Nullable java.lang.String value)Explanatory text to display above the navigation bar buttons.voidsetRenameDelegate(@Nullable UINavigationItemRenameDelegate value)When non-nil, enables the UINavigationBar to respond to the rename: action by providing an inline UI.voidsetRenameDelegate_unsafe(@Nullable UINavigationItemRenameDelegate value)When non-nil, enables the UINavigationBar to respond to the rename: action by providing an inline UI.voidsetRightBarButtonItem(@Nullable UIBarButtonItem value)voidsetRightBarButtonItemAnimated(@Nullable UIBarButtonItem item, boolean animated)voidsetRightBarButtonItems(@Nullable NSArray<? extends UIBarButtonItem> value)API-Since: 5.0voidsetRightBarButtonItemsAnimated(@Nullable NSArray<? extends UIBarButtonItem> items, boolean animated)API-Since: 5.0voidsetScrollEdgeAppearance(@Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance.voidsetSearchController(@Nullable UISearchController value)A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar.voidsetStandardAppearance(@Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's standardAppearance.voidsetStyle(long value)Controls how content defined by this item is laid out in the navigation bar.voidsetTitle(@Nullable java.lang.String value)Title when topmost on the stack.voidsetTitleMenuProvider(@Nullable UINavigationItem.Block_setTitleMenuProvider value)When non-nil, UIKit will generate suggestedActions and call this block to generate a menu that is displayed from the title.voidsetTitleView(@Nullable UIView value)Custom view to use in lieu of a title.voidsetTrailingItemGroups(@NotNull NSArray<? extends UIBarButtonItemGroup> value)UIBarButtonItemGroups to be displayed in the trailing section of the navigation bar.static voidsetVersion_static(long aVersion)@Nullable UINavigationBarAppearancestandardAppearance()When set and this item is topmost, overrides the hosting navigation bar's standardAppearance.longstyle()Controls how content defined by this item is laid out in the navigation bar.static org.moe.natj.objc.Classsuperclass_static()@Nullable java.lang.Stringtitle()Title when topmost on the stack.@Nullable UINavigationItem.Block_titleMenuProvider_rettitleMenuProvider()When non-nil, UIKit will generate suggestedActions and call this block to generate a menu that is displayed from the title.@Nullable UIViewtitleView()Custom view to use in lieu of a title.@NotNull NSArray<? extends UIBarButtonItemGroup>trailingItemGroups()UIBarButtonItemGroups to be displayed in the trailing section of the navigation bar.static booleanuseStoredAccessor()Deprecated.static longversion_static()-
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()
-
alloc
public static UINavigationItem alloc()
-
allocWithZone
public static UINavigationItem allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
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()
-
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()
-
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)
-
new_objc
public static UINavigationItem new_objc()
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
version_static
public static long version_static()
-
backBarButtonItem
@Nullable public @Nullable UIBarButtonItem backBarButtonItem()
Bar button item to use for the back button when this item is the navigation bar's backItem.
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
hidesBackButton
public boolean hidesBackButton()
If YES, this navigation item will hide the back button when it's on top of the stack.
-
init
public UINavigationItem init()
-
initWithCoder
public UINavigationItem initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithTitle
public UINavigationItem initWithTitle(@NotNull @NotNull java.lang.String title)
-
leftBarButtonItem
@Nullable public @Nullable UIBarButtonItem leftBarButtonItem()
Some navigation items want to display a custom left or right item when they're on top of the stack. A custom left item replaces the regular back button unless you set leftItemsSupplementBackButton to YES
-
leftBarButtonItems
@Nullable public @Nullable NSArray<? extends UIBarButtonItem> leftBarButtonItems()
Use these properties to set multiple items in a navigation bar. The older single properties (leftBarButtonItem and rightBarButtonItem) now refer to the first item in the respective array of items. NOTE: You'll achieve the best results if you use either the singular properties or the plural properties consistently and don't try to mix them. leftBarButtonItems are placed in the navigation bar left to right with the first item in the list at the left outside edge and left aligned. rightBarButtonItems are placed right to left with the first item in the list at the right outside edge and right aligned. API-Since: 5.0
-
leftItemsSupplementBackButton
public boolean leftItemsSupplementBackButton()
By default, the leftItemsSupplementBackButton property is NO. In this case, the back button is not drawn and the left item or items replace it. If you would like the left items to appear in addition to the back button (as opposed to instead of it) set leftItemsSupplementBackButton to YES. API-Since: 5.0
-
prompt
@Nullable public @Nullable java.lang.String prompt()
Explanatory text to display above the navigation bar buttons.
-
rightBarButtonItem
@Nullable public @Nullable UIBarButtonItem rightBarButtonItem()
-
rightBarButtonItems
@Nullable public @Nullable NSArray<? extends UIBarButtonItem> rightBarButtonItems()
API-Since: 5.0
-
setBackBarButtonItem
public void setBackBarButtonItem(@Nullable @Nullable UIBarButtonItem value)Bar button item to use for the back button when this item is the navigation bar's backItem.
-
setHidesBackButton
public void setHidesBackButton(boolean value)
If YES, this navigation item will hide the back button when it's on top of the stack.
-
setHidesBackButtonAnimated
public void setHidesBackButtonAnimated(boolean hidesBackButton, boolean animated)
-
setLeftBarButtonItem
public void setLeftBarButtonItem(@Nullable @Nullable UIBarButtonItem value)Some navigation items want to display a custom left or right item when they're on top of the stack. A custom left item replaces the regular back button unless you set leftItemsSupplementBackButton to YES
-
setLeftBarButtonItemAnimated
public void setLeftBarButtonItemAnimated(@Nullable @Nullable UIBarButtonItem item, boolean animated)
-
setLeftBarButtonItems
public void setLeftBarButtonItems(@Nullable @Nullable NSArray<? extends UIBarButtonItem> value)Use these properties to set multiple items in a navigation bar. The older single properties (leftBarButtonItem and rightBarButtonItem) now refer to the first item in the respective array of items. NOTE: You'll achieve the best results if you use either the singular properties or the plural properties consistently and don't try to mix them. leftBarButtonItems are placed in the navigation bar left to right with the first item in the list at the left outside edge and left aligned. rightBarButtonItems are placed right to left with the first item in the list at the right outside edge and right aligned. API-Since: 5.0
-
setLeftBarButtonItemsAnimated
public void setLeftBarButtonItemsAnimated(@Nullable @Nullable NSArray<? extends UIBarButtonItem> items, boolean animated)API-Since: 5.0
-
setLeftItemsSupplementBackButton
public void setLeftItemsSupplementBackButton(boolean value)
By default, the leftItemsSupplementBackButton property is NO. In this case, the back button is not drawn and the left item or items replace it. If you would like the left items to appear in addition to the back button (as opposed to instead of it) set leftItemsSupplementBackButton to YES. API-Since: 5.0
-
setPrompt
public void setPrompt(@Nullable @Nullable java.lang.String value)Explanatory text to display above the navigation bar buttons.
-
setRightBarButtonItem
public void setRightBarButtonItem(@Nullable @Nullable UIBarButtonItem value)
-
setRightBarButtonItemAnimated
public void setRightBarButtonItemAnimated(@Nullable @Nullable UIBarButtonItem item, boolean animated)
-
setRightBarButtonItems
public void setRightBarButtonItems(@Nullable @Nullable NSArray<? extends UIBarButtonItem> value)API-Since: 5.0
-
setRightBarButtonItemsAnimated
public void setRightBarButtonItemsAnimated(@Nullable @Nullable NSArray<? extends UIBarButtonItem> items, boolean animated)API-Since: 5.0
-
setTitle
public void setTitle(@Nullable @Nullable java.lang.String value)Title when topmost on the stack. default is nil
-
setTitleView
public void setTitleView(@Nullable @Nullable UIView value)Custom view to use in lieu of a title. May be sized horizontally. Only used when item is topmost on the stack.
-
title
@Nullable public @Nullable java.lang.String title()
Title when topmost on the stack. default is nil
-
titleView
@Nullable public @Nullable UIView titleView()
Custom view to use in lieu of a title. May be sized horizontally. Only used when item is topmost on the stack.
-
hidesSearchBarWhenScrolling
public boolean hidesSearchBarWhenScrolling()
If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar. Not appicable and ignored for UINavigationItemSearchBarPlacementInline API-Since: 11.0
-
largeTitleDisplayMode
public long largeTitleDisplayMode()
When UINavigationBar.prefersLargeTitles=YES, this property controls when the larger out-of-line title is displayed. If prefersLargeTitles=NO, this property has no effect. The default value is Automatic. API-Since: 11.0
-
searchController
@Nullable public @Nullable UISearchController searchController()
A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar. API-Since: 11.0
-
setHidesSearchBarWhenScrolling
public void setHidesSearchBarWhenScrolling(boolean value)
If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar. Not appicable and ignored for UINavigationItemSearchBarPlacementInline API-Since: 11.0
-
setLargeTitleDisplayMode
public void setLargeTitleDisplayMode(long value)
When UINavigationBar.prefersLargeTitles=YES, this property controls when the larger out-of-line title is displayed. If prefersLargeTitles=NO, this property has no effect. The default value is Automatic. API-Since: 11.0
-
setSearchController
public void setSearchController(@Nullable @Nullable UISearchController value)A view controller that will be shown inside of a navigation controller can assign a UISearchController to this property to display the search controller’s search bar in its containing navigation controller’s navigation bar. API-Since: 11.0
-
compactAppearance
@Nullable public @Nullable UINavigationBarAppearance compactAppearance()
When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details. API-Since: 13.0
-
scrollEdgeAppearance
@Nullable public @Nullable UINavigationBarAppearance scrollEdgeAppearance()
When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance. See UINavigationBar.scrollEdgeAppearance for further details. API-Since: 13.0
-
setCompactAppearance
public void setCompactAppearance(@Nullable @Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's compactAppearance. See UINavigationBar.compactAppearance for further details. API-Since: 13.0
-
setScrollEdgeAppearance
public void setScrollEdgeAppearance(@Nullable @Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's scrollEdgeAppearance. See UINavigationBar.scrollEdgeAppearance for further details. API-Since: 13.0
-
setStandardAppearance
public void setStandardAppearance(@Nullable @Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details. API-Since: 13.0
-
standardAppearance
@Nullable public @Nullable UINavigationBarAppearance standardAppearance()
When set and this item is topmost, overrides the hosting navigation bar's standardAppearance. See UINavigationBar.standardAppearance for further details. API-Since: 13.0
-
backButtonDisplayMode
public long backButtonDisplayMode()
Controls how the back button sources its title. API-Since: 14.0
-
backButtonTitle
@Nullable public @Nullable java.lang.String backButtonTitle()
Title to use when this item is the navigation bar's backItem. Default is nil. backBarButtonItem takes precedence if both are specified. API-Since: 11.0
-
setBackButtonDisplayMode
public void setBackButtonDisplayMode(long value)
Controls how the back button sources its title. API-Since: 14.0
-
setBackButtonTitle
public void setBackButtonTitle(@Nullable @Nullable java.lang.String value)Title to use when this item is the navigation bar's backItem. Default is nil. backBarButtonItem takes precedence if both are specified. API-Since: 11.0
-
compactScrollEdgeAppearance
@Nullable public @Nullable UINavigationBarAppearance compactScrollEdgeAppearance()
When set and this item is topmost, overrides the hosting navigation bar's compactScrollEdgeAppearance. See UINavigationBar.h for further details. API-Since: 15.0
-
setCompactScrollEdgeAppearance
public void setCompactScrollEdgeAppearance(@Nullable @Nullable UINavigationBarAppearance value)When set and this item is topmost, overrides the hosting navigation bar's compactScrollEdgeAppearance. See UINavigationBar.h for further details. API-Since: 15.0
-
additionalOverflowItems
@Nullable public @Nullable UIDeferredMenuElement additionalOverflowItems()
Additional items to add to the overflow menu. Setting this property to a non-nil value will force the overflow button to appear, regardless of if you provide any content in the element's callback. Items returned are displayed directly in the presented menu. API-Since: 16.0
-
backAction
@Nullable public @Nullable UIAction backAction()
Replaces the back action for the navigation bar. if a back button is naturally present, this replaces only its action, otherwise a back button will be synthesized with the image or title from the action. API-Since: 16.0
-
centerItemGroups
@NotNull public @NotNull NSArray<? extends UIBarButtonItemGroup> centerItemGroups()
Customizable UIBarButtonItemGroups that will be placed in the center region when the navigation bar is the browser or editor modes. In navigation mode, these items will be placed in the overflow. API-Since: 16.0
-
customizationIdentifier
@Nullable public @Nullable java.lang.String customizationIdentifier()
Setting a non-nil customizationIdentifier enables customization and UIKit will automatically save & restore customizations based on this identifier. The identifier must be unique within the scope of the application. API-Since: 16.0
-
documentProperties
@Nullable public @Nullable UIDocumentProperties documentProperties()
When non-nil, UIKit will use the metadata provided to generate additional controls displayed from the title. API-Since: 16.0
-
leadingItemGroups
@NotNull public @NotNull NSArray<? extends UIBarButtonItemGroup> leadingItemGroups()
UIBarButtonItemGroups to be displayed in the leading section of the navigation bar. Items set via this method will replace items set via .leftBarButtonItem or .leftBarButtonItems. API-Since: 16.0
-
overflowPresentationSource
@Nullable public @Nullable UIPopoverPresentationControllerSourceItem overflowPresentationSource()
If the overflow button for this item is currently present, then this will return a non-nil item that can be used as a presentation source (e.g. for popovers). Otherwise it will return nil. API-Since: 16.0
-
pinnedTrailingGroup
@Nullable public @Nullable UIBarButtonItemGroup pinnedTrailingGroup()
Set a group of items to be placed on the trailing edge of the bar, past the overflow & search items (if present). If you wish to have more than 1 item, it is HIGHLY recommended to assign a representative item to the group to avoid overflowing the bar as this group cannot move to the overflow. API-Since: 16.0
-
preferredSearchBarPlacement
public long preferredSearchBarPlacement()
The preferred search bar placement, when a search controller is assigned to this item. API-Since: 16.0
-
renameDelegate
@Nullable public @Nullable UINavigationItemRenameDelegate renameDelegate()
When non-nil, enables the UINavigationBar to respond to the rename: action by providing an inline UI. Setting this property to nil while a rename operation is in progress will cancel the operation immediately. API-Since: 16.0
-
searchBarPlacement
public long searchBarPlacement()
The realized placement. Only valid if a search controller has been assigned to this item. API-Since: 16.0
-
setAdditionalOverflowItems
public void setAdditionalOverflowItems(@Nullable @Nullable UIDeferredMenuElement value)Additional items to add to the overflow menu. Setting this property to a non-nil value will force the overflow button to appear, regardless of if you provide any content in the element's callback. Items returned are displayed directly in the presented menu. API-Since: 16.0
-
setBackAction
public void setBackAction(@Nullable @Nullable UIAction value)Replaces the back action for the navigation bar. if a back button is naturally present, this replaces only its action, otherwise a back button will be synthesized with the image or title from the action. API-Since: 16.0
-
setCenterItemGroups
public void setCenterItemGroups(@NotNull @NotNull NSArray<? extends UIBarButtonItemGroup> value)Customizable UIBarButtonItemGroups that will be placed in the center region when the navigation bar is the browser or editor modes. In navigation mode, these items will be placed in the overflow. API-Since: 16.0
-
setCustomizationIdentifier
public void setCustomizationIdentifier(@Nullable @Nullable java.lang.String value)Setting a non-nil customizationIdentifier enables customization and UIKit will automatically save & restore customizations based on this identifier. The identifier must be unique within the scope of the application. API-Since: 16.0
-
setDocumentProperties
public void setDocumentProperties(@Nullable @Nullable UIDocumentProperties value)When non-nil, UIKit will use the metadata provided to generate additional controls displayed from the title. API-Since: 16.0
-
setLeadingItemGroups
public void setLeadingItemGroups(@NotNull @NotNull NSArray<? extends UIBarButtonItemGroup> value)UIBarButtonItemGroups to be displayed in the leading section of the navigation bar. Items set via this method will replace items set via .leftBarButtonItem or .leftBarButtonItems. API-Since: 16.0
-
setPinnedTrailingGroup
public void setPinnedTrailingGroup(@Nullable @Nullable UIBarButtonItemGroup value)Set a group of items to be placed on the trailing edge of the bar, past the overflow & search items (if present). If you wish to have more than 1 item, it is HIGHLY recommended to assign a representative item to the group to avoid overflowing the bar as this group cannot move to the overflow. API-Since: 16.0
-
setPreferredSearchBarPlacement
public void setPreferredSearchBarPlacement(long value)
The preferred search bar placement, when a search controller is assigned to this item. API-Since: 16.0
-
setRenameDelegate_unsafe
public void setRenameDelegate_unsafe(@Nullable @Nullable UINavigationItemRenameDelegate value)When non-nil, enables the UINavigationBar to respond to the rename: action by providing an inline UI. Setting this property to nil while a rename operation is in progress will cancel the operation immediately. API-Since: 16.0
-
setRenameDelegate
public void setRenameDelegate(@Nullable @Nullable UINavigationItemRenameDelegate value)When non-nil, enables the UINavigationBar to respond to the rename: action by providing an inline UI. Setting this property to nil while a rename operation is in progress will cancel the operation immediately. API-Since: 16.0
-
setStyle
public void setStyle(long value)
Controls how content defined by this item is laid out in the navigation bar. API-Since: 16.0
-
setTitleMenuProvider
public void setTitleMenuProvider(@Nullable @Nullable UINavigationItem.Block_setTitleMenuProvider value)When non-nil, UIKit will generate suggestedActions and call this block to generate a menu that is displayed from the title. API-Since: 16.0
-
setTrailingItemGroups
public void setTrailingItemGroups(@NotNull @NotNull NSArray<? extends UIBarButtonItemGroup> value)UIBarButtonItemGroups to be displayed in the trailing section of the navigation bar. Items set via this method will replace items set via .rightBarButtonItem or .rightBarButtonItems. API-Since: 16.0
-
style
public long style()
Controls how content defined by this item is laid out in the navigation bar. API-Since: 16.0
-
titleMenuProvider
@Nullable public @Nullable UINavigationItem.Block_titleMenuProvider_ret titleMenuProvider()
When non-nil, UIKit will generate suggestedActions and call this block to generate a menu that is displayed from the title. API-Since: 16.0
-
trailingItemGroups
@NotNull public @NotNull NSArray<? extends UIBarButtonItemGroup> trailingItemGroups()
UIBarButtonItemGroups to be displayed in the trailing section of the navigation bar. Items set via this method will replace items set via .rightBarButtonItem or .rightBarButtonItems. API-Since: 16.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-