Package org.luwrain.popups.pim
Class ChooseMailPopup.Model
java.lang.Object
org.luwrain.popups.pim.ChooseMailPopup.Model
- All Implemented Interfaces:
ListArea.Model<Object>
- Enclosing class:
ChooseMailPopup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ContactsFolderprotected Object[]protected final ContactsStoring -
Method Summary
-
Field Details
-
storing
-
folder
-
items
-
-
Method Details
-
getItemCount
public int getItemCount()Description copied from interface:ListArea.ModelReturns the total number of items in the model.- Specified by:
getItemCountin interfaceListArea.Model<Object>- Returns:
- the item count
-
getItem
Description copied from interface:ListArea.ModelReturns the item at the given index.- Specified by:
getItemin interfaceListArea.Model<Object>- Parameters:
index- the zero-based index of the item- Returns:
- the item at that position, or
nullif the index is out of bounds
-
refresh
public void refresh()Description copied from interface:ListArea.ModelCalled when the underlying data has changed and the list needs to be refreshed. Implementations should reload or update their data.- Specified by:
refreshin interfaceListArea.Model<Object>
-