Modifier and Type | Field and Description |
---|---|
protected org.w3c.css.sac.SelectorList |
selectorList
The selector list.
|
protected StyleDeclaration |
styleDeclaration
The style declaration.
|
static short |
TYPE
The type constant.
|
Constructor and Description |
---|
StyleRule() |
Modifier and Type | Method and Description |
---|---|
org.w3c.css.sac.SelectorList |
getSelectorList()
Returns the selector list.
|
StyleDeclaration |
getStyleDeclaration()
Returns the style declaration.
|
short |
getType()
Returns a constant identifying the rule type.
|
void |
setSelectorList(org.w3c.css.sac.SelectorList sl)
Sets the selector list.
|
void |
setStyleDeclaration(StyleDeclaration sd)
Sets the style map.
|
java.lang.String |
toString(CSSEngine eng)
Returns a printable representation of this style rule.
|
public static final short TYPE
protected org.w3c.css.sac.SelectorList selectorList
protected StyleDeclaration styleDeclaration
public short getType()
public void setSelectorList(org.w3c.css.sac.SelectorList sl)
public org.w3c.css.sac.SelectorList getSelectorList()
public void setStyleDeclaration(StyleDeclaration sd)
public StyleDeclaration getStyleDeclaration()
Copyright © 2022 Apache Software Foundation. All Rights Reserved.