summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/CSSStyleSheet.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/CSSStyleSheet.java')
-rw-r--r--kdejava/koala/org/kde/koala/CSSStyleSheet.java86
1 files changed, 86 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/CSSStyleSheet.java b/kdejava/koala/org/kde/koala/CSSStyleSheet.java
new file mode 100644
index 00000000..89c0ba5e
--- /dev/null
+++ b/kdejava/koala/org/kde/koala/CSSStyleSheet.java
@@ -0,0 +1,86 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.koala;
+
+import org.kde.qt.Qt;
+import org.kde.qt.QtSupport;
+
+/**
+
+ The <code>CSSStyleSheet</code> interface is a concrete interface
+ used to represent a CSS style sheet i.e. a style sheet whose
+ content type is "text/css".
+ @short The <code>CSSStyleSheet</code> interface is a concrete interface used to represent a CSS style sheet i.
+
+*/
+public class CSSStyleSheet extends StyleSheet {
+ protected CSSStyleSheet(Class dummy){super((Class) null);}
+ public CSSStyleSheet() {
+ super((Class) null);
+ newCSSStyleSheet();
+ }
+ private native void newCSSStyleSheet();
+ public CSSStyleSheet(CSSStyleSheet other) {
+ super((Class) null);
+ newCSSStyleSheet(other);
+ }
+ private native void newCSSStyleSheet(CSSStyleSheet other);
+ public CSSStyleSheet(StyleSheet other) {
+ super((Class) null);
+ newCSSStyleSheet(other);
+ }
+ private native void newCSSStyleSheet(StyleSheet other);
+ // DOM::CSSStyleSheet* CSSStyleSheet(DOM::CSSStyleSheetImpl* arg1); >>>> NOT CONVERTED
+ /**
+ If this style sheet comes from an <code>\@import</code> rule,
+ the <code>ownerRule</code> attribute will contain the
+ <code>CSSImportRule</code> . In that case, the <code>ownerNode</code>
+ attribute in the <code>StyleSheet</code> interface
+ will be <code>null</code> . If the style sheet comes from an
+ element or a processing instruction, the <code>ownerRule</code>
+ attribute will be <code>null</code> and the
+ <code>ownerNode</code> attribute will contain the <code>Node</code> .
+ @short If this style sheet comes from an <code>\@import</code> rule, the <code>ownerRule</code> attribute will contain the <code>CSSImportRule</code> .
+ */
+ public native CSSRule ownerRule();
+ /**
+ The list of all CSS rules contained within the style sheet.
+ 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> .
+ @short The list of all CSS rules contained within the style sheet.
+ */
+ public native CSSRuleList cssRules();
+ /**
+ Used to insert a new rule into the style sheet. The new rule
+ now becomes part of the cascade.
+ @param rule The parsable text representing the rule. For rule
+ sets this contains both the selector and the style declaration.
+ For at-rules, this specifies both the at-identifier and the
+ rule content.
+ @param index The index within the style sheet's rule list of
+ the rule before which to insert the specified rule. If the
+ specified index is equal to the length of the style sheet's
+ rule collection, the rule will be added to the end of the style
+ sheet.
+ INDEX_SIZE_ERR: Raised if the specified index is not a valid
+ insertion point.
+ NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
+ readonly.
+ @return The index within the style sheet's rule collection of
+ the newly inserted rule.
+
+ @short Used to insert a new rule into the style sheet.
+ */
+ public native long insertRule(String rule, long index);
+ /**
+ Used to delete a rule from the style sheet.
+ @param index The index within the style sheet's rule list of
+ the rule to remove.
+ NO_MODIFICATION_ALLOWED_ERR: Raised if this style sheet is
+ readonly.
+ @short Used to delete a rule from the style sheet.
+ */
+ public native void deleteRule(long index);
+}