Package apple.carplay

Class CPTabBarTemplate

    • Constructor Detail

      • CPTabBarTemplate

        protected CPTabBarTemplate​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPTabBarTemplate 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()
      • delegate

        @Nullable
        public @Nullable CPTabBarTemplateDelegate delegate()
        The tab bar delegate is informed of tab bar events, like selecting a tab.
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithTemplates

        public CPTabBarTemplate initWithTemplates​(@NotNull
                                                  @NotNull NSArray<? extends CPTemplate> templates)
        Initialize the tab bar with an array of templates. Each template in the array becomes a tab on the tab bar. The maximum number of tabs in the tab bar template is given by @c maximumTabCount.
      • 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)
      • maximumTabCount

        public static long maximumTabCount()
        The maximum number of tabs that your app may display in a @c CPTabBarTemplate, depending on the entitlements that your app declares. [@warning] The system will throw an exception if your app attempts to display more than this number of tabs in your tab bar template.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • selectedTemplate

        @Nullable
        public @Nullable CPTemplate selectedTemplate()
        The currently-selected template in the tab bar.
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable CPTabBarTemplateDelegate value)
        The tab bar delegate is informed of tab bar events, like selecting a tab.
      • setDelegate

        public void setDelegate​(@Nullable
                                @Nullable CPTabBarTemplateDelegate value)
        The tab bar delegate is informed of tab bar events, like selecting a tab.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class CPTemplate
      • templates

        @NotNull
        public @NotNull NSArray<? extends CPTemplate> templates()
        The currently-visible templates in the tab bar. Each template corresponds to a single tab on the tab bar.
      • updateTemplates

        public void updateTemplates​(@NotNull
                                    @NotNull NSArray<? extends CPTemplate> newTemplates)
        Update the tabs displayed in this tab bar, replacing the currently-visible tabs. Each template in the array becomes a tab on the tab bar.
      • version_static

        public static long version_static()
      • selectTemplate

        public void selectTemplate​(@NotNull
                                   @NotNull CPTemplate newTemplate)
        Update the currently-selected tab in this tab bar template, switching to the first tab that is currently hosting @c newTemplate.
        Parameters:
        newTemplate - The template that should become selected in the tab bar. API-Since: 17.0
      • selectTemplateAtIndex

        public void selectTemplateAtIndex​(long index)
        Update the currently-selected tab in this tab bar template, switching to the tab at the specified index.
        Parameters:
        index - The index of the tab to select. This must be less than the number of tabs in this tab bar template. API-Since: 17.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.