|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface ActiveFolder.Delegate
Interface for delegates that get notified on changes to instances
of ActiveFolder.
| Method Summary | |
|---|---|
ActiveFolder |
getFolder()
Get the folder that this delegate represents, if any. |
void |
onSetData(ActiveFolder folder,
Object data)
This method is called whenever the arbitrary data object of a folder is changed. |
void |
onSetOpen(ActiveFolder folder,
boolean open)
This method is called whenever the opened state of a folder is changed. |
void |
onSetTitle(ActiveFolder folder,
String title)
This method is called whenever the title of a folder is changed. |
| Methods inherited from interface danger.util.ActiveList.Delegate |
|---|
onItemAdded, onItemRemoved, onItemsReordered, onItemUpdated, onRangeAdded, onRangeRemoved |
| Method Detail |
|---|
ActiveFolder getFolder()
return
null.
void onSetOpen(ActiveFolder folder,
boolean open)
StdActiveFolder.setOpen(boolean) is a
concrete method that can change the opened state of a folder.
folder - non-null; the folder which was updatedopen - the new opened state
void onSetTitle(ActiveFolder folder,
String title)
StdActiveFolder.setTitle(java.lang.String) is
a concrete method that can change the title of a folder.
folder - non-null; the folder which was updatedtitle - non-null; the new title
void onSetData(ActiveFolder folder,
Object data)
StdActiveFolder.setData(java.lang.Object)
is a concrete method that can change the data object of a
folder.
folder - non-null; the folder which was updateddata - null-ok; the new data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||