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

/**

 Style information. A more detailed style sheet object model is
 planned to be defined in a separate document. See the <a
 href="http://www.w3.org/TR/REC-html40/present/styles.html#edef-STYLE">
 STYLE element definition </a> in HTML 4.0.

 
 @short 
 Style information.
*/
public class HTMLStyleElement extends HTMLElement  {
	protected HTMLStyleElement(Class dummy){super((Class) null);}

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

/** 
 Enables/disables the style sheet.

     
*/
	public native boolean disabled();

/** 
 see {@link disabled}
     
*/
	public native void setDisabled( boolean arg1);

/** 
 Designed for use with one or more target media. See the <a
 href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-media">
 media attribute definition </a> in HTML 4.0.

     
*/
	public native String media();

/** 
 see {@link media}
     
*/
	public native void setMedia( String arg1);

/** 
 The style sheet language (Internet media type). See the <a
 href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-type-STYLE">
 type attribute definition </a> in HTML 4.0.

     
*/
	public native String type();

/** 
 see {@link type}
     
*/
	public native void setType( String arg1);

/** 
 Introduced in DOM Level 2
 This method is from the LinkStyle interface

 The style sheet.
     
*/
	public native StyleSheet sheet();
}
