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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;

/**

 The <code>CSSRule</code> interface is the abstract base interface
 for any type of CSS <a
 href="http://www.w3.org/TR/REC-CSS2/syndata.html#q5"> statement
 </a> . This includes both <a
 href="http://www.w3.org/TR/REC-CSS2/syndata.html#q8"> rule sets
 </a> and <a
 href="http://www.w3.org/TR/REC-CSS2/syndata.html#at-rules">
 at-rules </a> . An implementation is expected to preserve all rules
 specified in a CSS style sheet, even if it is not recognized.
 Unrecognized rules are represented using the <code>CSSUnknownRule</code>
 interface.
 		@short    The <code>CSSRule</code> interface is the abstract base interface  for any type of CSS <a  href="http://www.

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

	public CSSRule() {
		newCSSRule();
	}
	private native void newCSSRule();
	public CSSRule(CSSRule other) {
		newCSSRule(other);
	}
	private native void newCSSRule(CSSRule other);
	// DOM::CSSRule* CSSRule(DOM::CSSRuleImpl* arg1); >>>> NOT CONVERTED
	/**
		 The type of the rule, as defined above. The expectation is that
		 binding-specific casting methods can be used to cast down from
		 an instance of the <code>CSSRule</code> interface to the
		 specific derived interface implied by the <code>type</code> .
			     		@short    The type of the rule, as defined above.
	*/
	public native short type();
	/**
		 The parsable textual representation of the rule. This reflects
		 the current state of the rule and not its initial value.
			     		@short    The parsable textual representation of the rule.
	*/
	public native String cssText();
	/**
		 see cssText
			  HIERARCHY_REQUEST_ERR: Raised if the rule cannot be inserted
		 at this point in the style sheet.
			  NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
		 readonly.
			 INVALID_MODIFICATION_ERR: Raised if the specified CSS string value
		 represents a different type of rule than the current one.
		     		@short    see cssText
	*/
	public native void setCssText(String arg1);
	/**
		 The style sheet that contains this rule.
			     		@short    The style sheet that contains this rule.
	*/
	public native CSSStyleSheet parentStyleSheet();
	/**
		 If this rule is contained inside another rule (e.g. a style
		 rule inside an \@media block), this is the containing rule. If
		 this rule is not nested inside any other rules, this returns
		 <code>null</code> .
			     		@short    If this rule is contained inside another rule (e.
	*/
	public native CSSRule parentRule();
	/**
			 not part of the DOM
		     		@short
	*/
	// DOM::CSSRuleImpl* handle(); >>>> NOT CONVERTED
	public native boolean isNull();
	// void assignOther(const DOM::CSSRule& arg1,DOM::CSSRule::RuleType arg2); >>>> NOT CONVERTED
}
