//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.QtSupport;

/**

 The <code>CSSRuleList</code> interface provides the abstraction
 of an ordered collection of CSS rules.
 		@short    The <code>CSSRuleList</code> interface provides the abstraction  of an ordered collection of CSS rules.

*/
public class CSSRuleList implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected CSSRuleList(Class dummy){}

	public CSSRuleList() {
		newCSSRuleList();
	}
	private native void newCSSRuleList();
	public CSSRuleList(CSSRuleList other) {
		newCSSRuleList(other);
	}
	private native void newCSSRuleList(CSSRuleList other);
	// DOM::CSSRuleList* CSSRuleList(DOM::CSSRuleListImpl* arg1); >>>> NOT CONVERTED
	// DOM::CSSRuleList* CSSRuleList(DOM::StyleListImpl* arg1); >>>> NOT CONVERTED
	/**
		 The number of <code>CSSRule</code> s in the list. The range
		 of valid child rule indices is <code>0</code> to
		 <code>length-1</code> inclusive.
			     		@short    The number of <code>CSSRule</code> s in the list.
	*/
	public native long length();
	/**
		 Used to retrieve a CSS rule by ordinal index. The order in this
		 collection represents the order of the rules in the CSS style
		 sheet.
			@param index Index into the collection
			     		@return The style rule at the <code>index</code> position in
 the <code>CSSRuleList</code> , or <code>null</code> if that
 is not a valid index.

		@short    Used to retrieve a CSS rule by ordinal index.
	*/
	public native CSSRule item(long index);
	/**
			 not part of the DOM
		     		@short
	*/
	// DOM::CSSRuleListImpl* handle(); >>>> NOT CONVERTED
	public native boolean isNull();
}
