286N/A/*
286N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
286N/A *
286N/A * This code is free software; you can redistribute it and/or modify it
286N/A * under the terms of the GNU General Public License version 2 only, as
286N/A * published by the Free Software Foundation. Oracle designates this
286N/A * particular file as subject to the "Classpath" exception as provided
286N/A * by Oracle in the LICENSE file that accompanied this code.
286N/A *
286N/A * This code is distributed in the hope that it will be useful, but WITHOUT
286N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
286N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
286N/A * version 2 for more details (a copy is included in the LICENSE file that
286N/A * accompanied this code).
286N/A *
286N/A * You should have received a copy of the GNU General Public License version
286N/A * 2 along with this work; if not, write to the Free Software Foundation,
286N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
286N/A *
286N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
286N/A * or visit www.oracle.com if you need additional information or have any
286N/A * questions.
286N/A */
286N/A
286N/A/*
286N/A * This file is available under and governed by the GNU General Public
286N/A * License version 2 only, as published by the Free Software Foundation.
286N/A * However, the following notice accompanied the original version of this
286N/A * file and, per its terms, should not be removed:
286N/A *
286N/A * Copyright (c) 2000 World Wide Web Consortium,
286N/A * (Massachusetts Institute of Technology, Institut National de
286N/A * Recherche en Informatique et en Automatique, Keio University). All
286N/A * Rights Reserved. This program is distributed under the W3C's Software
286N/A * Intellectual Property License. This program is distributed in the
286N/A * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
286N/A * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
286N/A * PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more
286N/A * details.
286N/A */
286N/A
286N/Apackage org.w3c.dom.html;
286N/A
286N/A/**
286N/A * Multi-line text field. See the TEXTAREA element definition in HTML 4.0.
286N/A * <p>See also the <a href='http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510'>Document Object Model (DOM) Level 2 Specification</a>.
286N/A */
286N/Apublic interface HTMLTextAreaElement extends HTMLElement {
286N/A /**
286N/A * Represents the contents of the element. The value of this attribute
286N/A * does not change if the contents of the corresponding form control, in
286N/A * an interactive user agent, changes. Changing this attribute, however,
286N/A * resets the contents of the form control.
286N/A */
286N/A public String getDefaultValue();
286N/A public void setDefaultValue(String defaultValue);
286N/A
286N/A /**
286N/A * Returns the <code>FORM</code> element containing this control. Returns
286N/A * <code>null</code> if this control is not within the context of a form.
286N/A */
286N/A public HTMLFormElement getForm();
286N/A
286N/A /**
286N/A * A single character access key to give access to the form control. See
286N/A * the accesskey attribute definition in HTML 4.0.
286N/A */
286N/A public String getAccessKey();
286N/A public void setAccessKey(String accessKey);
286N/A
286N/A /**
286N/A * Width of control (in characters). See the cols attribute definition
286N/A * in HTML 4.0.
286N/A */
286N/A public int getCols();
286N/A public void setCols(int cols);
286N/A
286N/A /**
286N/A * The control is unavailable in this context. See the disabled
286N/A * attribute definition in HTML 4.0.
286N/A */
286N/A public boolean getDisabled();
286N/A public void setDisabled(boolean disabled);
286N/A
286N/A /**
286N/A * Form control or object name when submitted with a form. See the name
286N/A * attribute definition in HTML 4.0.
286N/A */
286N/A public String getName();
286N/A public void setName(String name);
286N/A
286N/A /**
286N/A * This control is read-only. See the readonly attribute definition in
286N/A * HTML 4.0.
286N/A */
286N/A public boolean getReadOnly();
286N/A public void setReadOnly(boolean readOnly);
286N/A
286N/A /**
286N/A * Number of text rows. See the rows attribute definition in HTML 4.0.
286N/A */
286N/A public int getRows();
286N/A public void setRows(int rows);
286N/A
286N/A /**
286N/A * Index that represents the element's position in the tabbing order. See
286N/A * the tabindex attribute definition in HTML 4.0.
286N/A */
286N/A public int getTabIndex();
286N/A public void setTabIndex(int tabIndex);
286N/A
286N/A /**
286N/A * The type of this form control. This the string "textarea".
286N/A */
286N/A public String getType();
286N/A
286N/A /**
286N/A * Represents the current contents of the corresponding form control, in
286N/A * an interactive user agent. Changing this attribute changes the
286N/A * contents of the form control, but does not change the contents of the
286N/A * element. If the entirety of the data can not fit into a single
286N/A * <code>DOMString</code> , the implementation may truncate the data.
286N/A */
286N/A public String getValue();
286N/A public void setValue(String value);
286N/A
286N/A /**
286N/A * Removes keyboard focus from this element.
286N/A */
286N/A public void blur();
286N/A
286N/A /**
286N/A * Gives keyboard focus to this element.
286N/A */
286N/A public void focus();
286N/A
286N/A /**
286N/A * Select the contents of the <code>TEXTAREA</code> .
286N/A */
286N/A public void select();
286N/A
286N/A}