summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/CSSRule.java
blob: 6931ff56cb7c3c428e841fffaf852311d7eccd1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.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_RETQUEST_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
}