Package apple.carplay
Class CPListImageRowItem
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.carplay.CPListImageRowItem
-
- All Implemented Interfaces:
CPListTemplateItem,CPSelectableListItem,NSObject
public class CPListImageRowItem extends NSObject implements CPSelectableListItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCPListImageRowItem.Block_listImageRowHandler_retstatic interfaceCPListImageRowItem.Block_setListImageRowHandler-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
Nested classes/interfaces inherited from interface apple.carplay.protocol.CPSelectableListItem
CPSelectableListItem.Block_handler_ret, CPSelectableListItem.Block_setHandler
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCPListImageRowItem(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanaccessInstanceVariablesDirectly()static CPListImageRowItemalloc()static java.lang.ObjectallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)static booleanautomaticallyNotifiesObserversForKey(java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget, org.moe.natj.objc.SEL aSelector, java.lang.Object anArgument)static NSArray<java.lang.String>classFallbacksForKeyedArchiver()static org.moe.natj.objc.ClassclassForKeyedUnarchiver()static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()NSArray<? extends UIImage>gridImages()Read-only access to the grid images shown in a row in the cell.CPSelectableListItem.Block_handler_rethandler()An optional action block, fired when the user selects this item in a list template.static longhash_static()CPListImageRowIteminit()CPListImageRowIteminitWithTextImages(java.lang.String text, NSArray<? extends UIImage> images)Initialize a list image row item with a text string and an array of @c UIImage for the grid of images.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 NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(java.lang.String key)CPListImageRowItem.Block_listImageRowHandler_retlistImageRowHandler()The image row item that the user selected.static CGSizemaximumImageSize()The expected image size for the grid images in your @c CPListImageRowItem.static java.lang.Objectnew_objc()static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)voidsetHandler(CPSelectableListItem.Block_setHandler value)An optional action block, fired when the user selects this item in a list template.voidsetListImageRowHandler(CPListImageRowItem.Block_setListImageRowHandler value)The image row item that the user selected.voidsetText(java.lang.String value)The primary text shown in a cell displaying this list item.voidsetUserInfo(java.lang.Object value)Any custom user info related to this item.static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()java.lang.Stringtext()The primary text shown in a cell displaying this list item.voidupdateImages(NSArray<? extends UIImage> gridImages)Update the images displayed in this image row item.java.lang.ObjectuserInfo()Any custom user info related to this item.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CPListImageRowItem alloc()
-
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()
-
gridImages
public NSArray<? extends UIImage> gridImages()
Read-only access to the grid images shown in a row in the cell. [@note] The maximum number of images shown is @c CPMaximumNumberOfGridImages. If you supply more images, only the first @c CPMaximumNumberOfGridImages will be used.
-
handler
public CPSelectableListItem.Block_handler_ret handler()
Description copied from interface:CPSelectableListItemAn optional action block, fired when the user selects this item in a list template.- Specified by:
handlerin interfaceCPSelectableListItem
-
hash_static
public static long hash_static()
-
init
public CPListImageRowItem init()
-
initWithTextImages
public CPListImageRowItem initWithTextImages(java.lang.String text, NSArray<? extends UIImage> images)
Initialize a list image row item with a text string and an array of @c UIImage for the grid of images. When providing an image, your app should provide a @c UIImage that is display-ready. If necessary for the image, provide light and dark styles by using an asset from your asset catalog, prepared with light and dark styles or by using @c UIImageAsset to combine two @c UIImage instances into a single image with both styles. UIImageAsset is used to combine multiple UIImages with different trait collections into a single UIImage. [@note] The expected image size is given by @c CPImageRowImageSize. Images provided will be resized to this size. To properly size your images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
-
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
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
-
listImageRowHandler
public CPListImageRowItem.Block_listImageRowHandler_ret listImageRowHandler()
The image row item that the user selected.
-
maximumImageSize
public static CGSize maximumImageSize()
The expected image size for the grid images in your @c CPListImageRowItem. Images provided will be resized to this size. To properly size your images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
-
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)
-
setHandler
public void setHandler(CPSelectableListItem.Block_setHandler value)
Description copied from interface:CPSelectableListItemAn optional action block, fired when the user selects this item in a list template.- Specified by:
setHandlerin interfaceCPSelectableListItem
-
setListImageRowHandler
public void setListImageRowHandler(CPListImageRowItem.Block_setListImageRowHandler value)
The image row item that the user selected.
-
setText
public void setText(java.lang.String value)
The primary text shown in a cell displaying this list item.
-
setUserInfo
public void setUserInfo(java.lang.Object value)
Description copied from interface:CPListTemplateItemAny custom user info related to this item.- Specified by:
setUserInfoin interfaceCPListTemplateItem
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
text
public java.lang.String text()
Description copied from interface:CPListTemplateItemThe primary text shown in a cell displaying this list item.- Specified by:
textin interfaceCPListTemplateItem
-
updateImages
public void updateImages(NSArray<? extends UIImage> gridImages)
Update the images displayed in this image row item. If this image row item is already displayed in a list template, this image row item will be automatically reloaded. When providing an image, your app should provide a @c UIImage that is display-ready. If necessary for the image, provide light and dark styles by using an asset from your asset catalog, prepared with light and dark styles or by using @c UIImageAsset to combine two @c UIImage instances into a single image with both styles. UIImageAsset is used to combine multiple UIImages with different trait collections into a single UIImage.- See Also:
update/reload the title of the image row item, assign to the @c text property of the image row item.
-
userInfo
public java.lang.Object userInfo()
Description copied from interface:CPListTemplateItemAny custom user info related to this item.- Specified by:
userInfoin interfaceCPListTemplateItem
-
version_static
public static long version_static()
-
-