interface XULTreeElement : XULElement {
/* IID: { 0xa6cf90ec, 0x15b3, 0x11d2, \
    {0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32} } */
  readonly attribute NodeList selectedItems;
  
  attribute XULElement currentItem;
  
  void selectItem(in XULElement treeItem);
  
  void clearItemSelection();
  
  void addItemToSelection(in XULElement treeItem);
  void removeItemFromSelection(in XULElement treeItem);

  void toggleItemSelection(in XULElement treeItem);
  
  void selectItemRange(in XULElement startItem, in XULElement endItem);
  
  void selectAll();
  void invertSelection();
};
