/***************************************************************************
                            HTMLLabelElement.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 Form field label text. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LABEL">
 LABEL element definition </a> in HTML 4.0.

 
 @short 
 Form field label text.
*/
public class HTMLLabelElement extends HTMLElement  {
	protected HTMLLabelElement(Class dummy){super((Class) null);}

	private native void newHTMLLabelElement();
	public HTMLLabelElement() {
		super((Class) null);
		newHTMLLabelElement();
	}
	private native void newHTMLLabelElement( HTMLLabelElement other);
	public HTMLLabelElement( HTMLLabelElement other) {
		super((Class) null);
		newHTMLLabelElement( other);
	}
	private native void newHTMLLabelElement( DOMNode other);
	public HTMLLabelElement( DOMNode other) {
		super((Class) null);
		newHTMLLabelElement( other);
	}
	protected native void finalize() throws InternalError;
	public native void dispose();
	public native boolean isDisposed();

/** 
 Returns the <code> FORM </code> element containing this
 control. Returns null if this control is not within the context
 of a form.
 deprecated - don't use. Provided for KDE2 compatibility only.
     
*/
	public native HTMLFormElement form();

/** 
 A single character access key to give access to the form
 control. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
 accesskey attribute definition </a> in HTML 4.0.

     
*/
	public native String accessKey();

/** 
 see {@link accessKey}
     
*/
	public native void setAccessKey( String arg1);

/** 
 This attribute links this label with another form control by
 <code> id </code> attribute. See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-for">
 for attribute definition </a> in HTML 4.0.

     
*/
	public native String htmlFor();

/** 
 see {@link htmlFor}
     
*/
	public native void setHtmlFor( String arg1);
}
