|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SourceListExpansionListener
An interface for listening for expansion events.
It handles expansion events for both SourceListItem and SourceListCategory.
| Method Summary | |
|---|---|
boolean |
shouldCollapseSourceListItem(SourceListItem item)
Called before collapsing a SourceListItem in a SourceList. |
boolean |
shouldExpandSourceListCategory(SourceListCategory category)
Called before expanding a SourceListCategory in a SourceList. |
boolean |
shouldExpandSourceListItem(SourceListItem item)
Called before expanding a SourceListItem in a SourceList. |
boolean |
shouldToCollapseSourceListCategory(SourceListCategory category)
Called before collapsing a SourceListCategory in a SourceList. |
void |
sourceListCategoryCollapsed(SourceListCategory category)
Called when a SourceListCategory is collapsed in a SourceList. |
void |
sourceListCategoryExpanded(SourceListCategory category)
Called when a SourceListCategory is expanded in a SourceList. |
void |
sourceListItemCollapsed(SourceListItem item)
Called when a SourceListItem is collapsed in a SourceList. |
void |
sourceListItemExpanded(SourceListItem item)
Called when a SourceListItem is expanded in a SourceList. |
| Method Detail |
|---|
boolean shouldExpandSourceListItem(SourceListItem item)
SourceListItem in a SourceList.
Determines whether an item is allowed to be expanded or not
item - the item that requests to be expanded.
void sourceListItemExpanded(SourceListItem item)
SourceListItem is expanded in a SourceList.
The method will only be called if shouldExpandSourceListItem(SourceListItem)
returns true.
item - the item that was expanded.boolean shouldCollapseSourceListItem(SourceListItem item)
SourceListItem in a SourceList.
Determines whether an item is allowed to be collapsed or not
item - the item that requests to be collapsed.
void sourceListItemCollapsed(SourceListItem item)
SourceListItem is collapsed in a SourceList.
The method will only be called if shouldCollapseSourceListItem(SourceListItem)
returns true.
item - the item that was collapsed.boolean shouldExpandSourceListCategory(SourceListCategory category)
SourceListCategory in a SourceList.
Determines whether a category is allowed to be expanded or not
category - the category that requests to be expanded.
void sourceListCategoryExpanded(SourceListCategory category)
SourceListCategory is expanded in a SourceList.
The method will only be called if shouldExpandSourceListCategory(SourceListCategory)
returns true.
category - the category that was expanded.boolean shouldToCollapseSourceListCategory(SourceListCategory category)
SourceListCategory in a SourceList.
Determines whether a category is allowed to be collapsed or not
category - the category that requests to be collapsed.
void sourceListCategoryCollapsed(SourceListCategory category)
SourceListCategory is collapsed in a SourceList.
The method will only be called if shouldToCollapseSourceListCategory(SourceListCategory)
returns true.
category - the category that was collapsed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||