Package apple.carplay

Class CPInformationTemplate

    • Constructor Detail

      • CPInformationTemplate

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • actions

        public NSArray<? extends CPTextButton> actions()
        An array of actions that appear at the bottom of the template. To update the actions appearing in this information template, assign a new array to this property. [@note] The maximum number of actions is 3. If you specify more than 3, only the first 3 will be used.
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

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

        public CPInformationTemplate initWithTitleLayoutItemsActions​(java.lang.String title,
                                                                     long layout,
                                                                     NSArray<? extends CPInformationItem> items,
                                                                     NSArray<? extends CPTextButton> actions)
        Initialize a CPInformationTemplate with a title, optional labels, and optional action buttons. [@note] The maximum number of @c CPInformationItem is 10. If you specify more than 10 items, only the first 10 will be used. The maximum number of @c CPTextButton is 3. If you specify more than 3, only the first 3 will be used.
        Parameters:
        layout - Information template layout, either leading aligned or two columns
        title - Information template title, appears at the top of the template
        items - Information items that will appear in the template
        actions - Optional actions that appear at the bottom of the template
      • 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)
      • items

        public NSArray<? extends CPInformationItem> items()
        An array of @c CPInformationItem. To update the items appearing in this information template, assign a new array to this property. [@note] The maximum number of items is 10. If you specify more than 10 items, only the first 10 will be used.
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • layout

        public long layout()
        Information template layout, either leading aligned or two columns.
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

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

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

        public void setActions​(NSArray<? extends CPTextButton> value)
        An array of actions that appear at the bottom of the template. To update the actions appearing in this information template, assign a new array to this property. [@note] The maximum number of actions is 3. If you specify more than 3, only the first 3 will be used.
      • setItems

        public void setItems​(NSArray<? extends CPInformationItem> value)
        An array of @c CPInformationItem. To update the items appearing in this information template, assign a new array to this property. [@note] The maximum number of items is 10. If you specify more than 10 items, only the first 10 will be used.
      • setTitle

        public void setTitle​(java.lang.String value)
        Title that will appear at the top of the template.
      • 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

        public java.lang.String title()
        Title that will appear at the top of the template.
      • version_static

        public static long version_static()