Package apple.carplay

Class CPGridTemplate

    • Constructor Detail

      • CPGridTemplate

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPGridTemplate 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()
      • gridButtons

        @NotNull
        public @NotNull NSArray<? extends CPGridButton> gridButtons()
        Array of grid buttons displayed on the template
      • hash_static

        public static long hash_static()
      • initWithTitleGridButtons

        public CPGridTemplate initWithTitleGridButtons​(@Nullable
                                                       @Nullable java.lang.String title,
                                                       @NotNull
                                                       @NotNull NSArray<? extends CPGridButton> gridButtons)
        Initialize a grid template with an array of @c CPGridButton and a title. [@note] A grid template will only display the first @c CPGridTemplateMaximumItems buttons in the provided @c gridButtons array.
        Parameters:
        title - Title shown in template's navigation bar.
        gridButtons - A list of grid buttons on the template. The maximum button count is @c CPGridTemplateMaximumItems.
      • 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)
      • leadingNavigationBarButtons

        @NotNull
        public @NotNull NSArray<? extends CPBarButton> leadingNavigationBarButtons()
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the leading side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the leading space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        leadingNavigationBarButtons in interface CPBarButtonProviding
      • resolveClassMethod

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

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

        public void setLeadingNavigationBarButtons​(@NotNull
                                                   @NotNull NSArray<? extends CPBarButton> value)
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the leading side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the leading space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        setLeadingNavigationBarButtons in interface CPBarButtonProviding
      • setTrailingNavigationBarButtons

        public void setTrailingNavigationBarButtons​(@NotNull
                                                    @NotNull NSArray<? extends CPBarButton> value)
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the trailing side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the trailing space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        setTrailingNavigationBarButtons in interface CPBarButtonProviding
      • 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
      • title

        @NotNull
        public @NotNull java.lang.String title()
        Title shown in template's navigation bar
      • trailingNavigationBarButtons

        @NotNull
        public @NotNull NSArray<? extends CPBarButton> trailingNavigationBarButtons()
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the trailing side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the trailing space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        trailingNavigationBarButtons in interface CPBarButtonProviding
      • version_static

        public static long version_static()
      • updateGridButtons

        public void updateGridButtons​(@NotNull
                                      @NotNull NSArray<? extends CPGridButton> gridButtons)
        Update the grid buttons displayed in this template, reloading the view displaying these buttons. API-Since: 15.0
      • updateTitle

        public void updateTitle​(@NotNull
                                @NotNull java.lang.String title)
        Update the title displayed in this template. API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.