Package com.iizix.prop.ui.mlist
Interface IMListContentProvider
- All Superinterfaces:
IContentProvider<MLItemProp,
MLItem>
- All Known Subinterfaces:
IMListContentProviderAPI
- All Known Implementing Classes:
MLContentProvider
The minimum content provider interface for MList. This interface does not implement the API functions. To enable API functions, implement the
IContentProviderAPI
<MLItemProp,MLItem>
interface as well.- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptiondefault IImageTarget
getIcon
(VSRow row, MLItem listItem, IImageTarget iImageTarget) Gets the icon to use for the list item and the specified VS row.Returns the items container.Methods inherited from interface com.iizix.prop.content.IContentProvider
beginChanges, canModifyWithAPI, commitChanges, dispose, getAll, getItemCount, initialize, onAdded, onRemoved, onSelectionTypeChanged, reinitialize, updateContents
Method Details
getItemsContainer
MLGroup getItemsContainer()Returns the items container.- Specified by:
getItemsContainer
in interfaceIContentProvider<MLItemProp,
MLItem> - Returns:
- The container that stores the item properties. This method will return null if not yet initialized.
getIcon
Gets the icon to use for the list item and the specified VS row.The default is to use an icon provider to get the icon, or if this does not exist, the input value
iImageTarget
is used.- Parameters:
row
- The row.listItem
- The list item in question.iImageTarget
- The icon previously set using this method or by API, null for none.- Returns:
- The icon to use, null for none.