/***************************************************************************
                            HTMLLegendElement.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;

/**

 Provides a caption for a <code> FIELDSET </code> grouping. See the
 <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-LEGEND">
 LEGEND element definition </a> in HTML 4.0.

 
 @short 
 Provides a caption for a <code> FIELDSET </code> grouping.
*/
public class HTMLLegendElement extends HTMLElement  {
	protected HTMLLegendElement(Class dummy){super((Class) null);}

	private native void newHTMLLegendElement();
	public HTMLLegendElement() {
		super((Class) null);
		newHTMLLegendElement();
	}
	private native void newHTMLLegendElement( HTMLLegendElement other);
	public HTMLLegendElement( HTMLLegendElement other) {
		super((Class) null);
		newHTMLLegendElement( other);
	}
	private native void newHTMLLegendElement( DOMNode other);
	public HTMLLegendElement( DOMNode other) {
		super((Class) null);
		newHTMLLegendElement( 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.

     
*/
	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);

/** 
 Text alignment relative to <code> FIELDSET </code> . See the <a
 href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-align-LEGEND">
 align attribute definition </a> in HTML 4.0. This attribute is
 deprecated in HTML 4.0.

     
*/
	public native String align();

/** 
 see {@link align}
     
*/
	public native void setAlign( String arg1);
}
