
public class JsCSSStyleRule extends JsCSSRule implements CSSStyleRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE, WEBKIT_KEYFRAME_RULE, WEBKIT_KEYFRAMES_RULESVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN| Modifier | Constructor and Description |
|---|---|
protected |
JsCSSStyleRule() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSelectorText()
Gets/sets the textual representation of the selector for this rule, e.g.
|
JsCSSStyleDeclaration |
getStyle()
Returns the
CSSStyleDeclaration object for the rule. |
void |
setSelectorText(String param_selectorText) |
getCssText, getParentRule, getParentStyleSheet, getType, setCssTextaddEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPanat, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAtcast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringgetCssText, getParentRule, getParentStyleSheet, getType, setCssTextintAt, lengthnumberAtpublic final String getSelectorText()
CSSStyleRule"h1,h2".getSelectorText in interface CSSStyleRulepublic final void setSelectorText(String param_selectorText)
setSelectorText in interface CSSStyleRulepublic final JsCSSStyleDeclaration getStyle()
CSSStyleRuleCSSStyleDeclaration object for the rule. Read only.getStyle in interface CSSStyleRuleCopyright © 2016. All rights reserved.