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_RULE
SVG_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, setCssText
addEventListener, 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, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
intAt, length
numberAt
public final String getSelectorText()
CSSStyleRule
"h1,h2"
.getSelectorText
in interface CSSStyleRule
public final void setSelectorText(String param_selectorText)
setSelectorText
in interface CSSStyleRule
public final JsCSSStyleDeclaration getStyle()
CSSStyleRule
CSSStyleDeclaration
object for the rule. Read only.getStyle
in interface CSSStyleRule
Copyright © 2018. All rights reserved.