nsIListBoxObject.idl 588 B

1234567891011121314151617181920
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #include "nsISupports.idl"
  6. // DEPRECATED: see ListBoxObject.webidl
  7. interface nsIDOMElement;
  8. [uuid(AA9DEF4E-2E59-412d-A6DF-B76F52167795)]
  9. interface nsIListBoxObject : nsISupports
  10. {
  11. long getRowCount();
  12. nsIDOMElement getItemAtIndex(in long index);
  13. long getIndexOfItem(in nsIDOMElement item);
  14. };