Package apple.carplay.protocol
Interface CPListTemplateItem
-
- All Known Subinterfaces:
CPSelectableListItem
- All Known Implementing Classes:
CPListImageRowItem,CPListItem,CPMessageListItem
public interface CPListTemplateItem[@c] CPListTemplateItem describes common properties of list items that can be displayed in a @c CPListTemplate. API-Since: 14.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisEnabled()A Boolean value indicating whether the button is enabled.voidsetEnabled(boolean value)A Boolean value indicating whether the button is enabled.voidsetUserInfo(@Nullable java.lang.Object value)Any custom user info related to this item.@Nullable java.lang.Stringtext()The primary text shown in a cell displaying this list item.@Nullable java.lang.ObjectuserInfo()Any custom user info related to this item.
-
-
-
Method Detail
-
setUserInfo
void setUserInfo(@Nullable @Nullable java.lang.Object value)Any custom user info related to this item.
-
text
@Nullable @Nullable java.lang.String text()
The primary text shown in a cell displaying this list item.
-
userInfo
@Nullable @Nullable java.lang.Object userInfo()
Any custom user info related to this item.
-
isEnabled
boolean isEnabled()
A Boolean value indicating whether the button is enabled. Set the value of this property to @c YES to enable the button or @c NO to disable it. The default value of this property is @c YES. API-Since: 15.0
-
setEnabled
void setEnabled(boolean value)
A Boolean value indicating whether the button is enabled. Set the value of this property to @c YES to enable the button or @c NO to disable it. The default value of this property is @c YES. API-Since: 15.0
-
-