Package com.iizix.prop.ui.mlist
Interface IMListContentProvider
- All Superinterfaces:
- IContentProvider<MLItemProp,MLItem>
 - All Known Subinterfaces:
- IMListContentProviderAPI
 - All Known Implementing Classes:
- MLContentProvider
 - public interface IMListContentProvider extends IContentProvider<MLItemProp,MLItem> The minimum content provider interface for MList. This interface does not implement the API functions. To enable API functions, implement the- IContentProviderAPI<MLItemProp,MLItem>- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods Default Methods - Modifier and Type - Method - Description - default IImageTarget- getIcon(VSRow row, MLItem listItem, IImageTarget iImageTarget)Gets the icon to use for the list item and the specified VS row.- MLGroup- getItemsContainer()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 Detail- getItemsContainer- MLGroup getItemsContainer() Returns the items container.- Specified by:
- getItemsContainerin interface- IContentProvider<MLItemProp,MLItem>
- Returns:
- The container that stores the item properties. This method will return null if not yet initialized.
 
 - getIcon- default IImageTarget getIcon(VSRow row, MLItem listItem, IImageTarget iImageTarget) 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 - iImageTargetis 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.