00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00031 #include "nsISupports.idl"
00032 #include "nsITreeView.idl"
00033
00034 interface nsISimpleEnumerator;
00035 interface nsITreeColumn;
00036 interface sbIMediaItem;
00037
00043 [scriptable, uuid(d34060ad-5aff-46b1-8029-b446e57b59df)]
00044 interface sbIMediaListViewTreeViewObserver : nsISupports
00045 {
00046 const long DROP_BEFORE = -1;
00047 const long DROP_ON = 0;
00048 const long DROP_AFTER = 1;
00049
00050 boolean canDrop(in long index, in long orientation);
00051 void drop(in long row, in long orientation);
00052 void cycleHeader(in nsITreeColumn col);
00053
00061 void onCellEdited(in sbIMediaItem item,
00062 in AString property,
00063 in AString oldValue);
00064 };
00065
00070 [scriptable, uuid(b5ad98fa-15a8-40dd-a3e2-9170a983ffc3)]
00071 interface sbIMediaListViewTreeView : nsITreeView
00072 {
00087 long getNextRowIndexForKeyNavigation(in AString aKeyString,
00088 in unsigned long aStartFrom);
00089
00094 attribute sbIMediaListViewTreeViewObserver observer;
00095 };