dom/interfaces/xul/nsIDOMXULTextboxElement.idl

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:05cbd2699d40
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
6 #include "nsIDOMXULLabeledControlEl.idl"
7 interface nsIDOMHTMLInputElement;
8
9 [scriptable, uuid(7edd8215-5155-4845-a02f-dc2c08645cb9)]
10 interface nsIDOMXULTextBoxElement : nsIDOMXULControlElement
11 {
12 // inputField may be any type of editable field, such as an
13 // HTML <input type="text"> or <textarea>
14 readonly attribute nsIDOMNode inputField;
15
16 readonly attribute long textLength;
17 attribute long maxLength;
18 attribute long size;
19 attribute long selectionStart;
20 attribute long selectionEnd;
21
22 attribute DOMString value;
23 attribute DOMString type;
24
25 void select();
26 void setSelectionRange(in long selectionStart,
27 in long selectionEnd);
28 };
29

mercurial