|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceListModelListener
An interface for listening to changes in a SourceListModel
.
Method Summary | |
---|---|
void |
categoryAdded(SourceListCategory category,
int index)
Called when a category is adeded. |
void |
categoryRemoved(SourceListCategory category)
Called when a category is removed. |
void |
itemAddedToCategory(SourceListItem itemAdded,
SourceListCategory category,
int index)
Called when an item is added to a category. |
void |
itemAddedToItem(SourceListItem itemAdded,
SourceListItem parentItem,
int index)
Called when an item is added to another item. |
void |
itemChanged(SourceListItem item)
Called when an item's content changes (e.g. |
void |
itemRemovedFromCategory(SourceListItem itemRemoved,
SourceListCategory category)
Called when an item is removed from a category. |
void |
itemRemovedFromItem(SourceListItem itemRemoved,
SourceListItem parentItem)
Called when an item is removed from another item. |
Method Detail |
---|
void categoryAdded(SourceListCategory category, int index)
category
- the category that was removed.index
- the index at which the category was added.void categoryRemoved(SourceListCategory category)
category
- the category that was removed.void itemAddedToCategory(SourceListItem itemAdded, SourceListCategory category, int index)
itemAdded
- the item that was added.category
- the category that the item was added to.index
- the index at which the category was added.void itemRemovedFromCategory(SourceListItem itemRemoved, SourceListCategory category)
itemRemoved
- the item that was removed.category
- the category that the item was removed from.void itemAddedToItem(SourceListItem itemAdded, SourceListItem parentItem, int index)
itemAdded
- the item that was added.parentItem
- the item that the child item was added to.index
- the index at which the category was added.void itemRemovedFromItem(SourceListItem itemRemoved, SourceListItem parentItem)
itemRemoved
- the item that was removed.parentItem
- the item that the child item was removed from.void itemChanged(SourceListItem item)
item
- the item that was changed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |