|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.css.engine.StyleRule
public class StyleRule
This class represents a style rule.
| Field Summary | |
|---|---|
protected org.w3c.css.sac.SelectorList |
selectorList
The selector list. |
protected StyleDeclaration |
styleDeclaration
The style declaration. |
static short |
TYPE
The type constant. |
| Constructor Summary | |
|---|---|
StyleRule()
|
|
| Method Summary | |
|---|---|
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. |
String |
toString(CSSEngine eng)
Returns a printable representation of this style rule. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final short TYPE
protected org.w3c.css.sac.SelectorList selectorList
protected StyleDeclaration styleDeclaration
| Constructor Detail |
|---|
public StyleRule()
| Method Detail |
|---|
public short getType()
getType in interface Rulepublic void setSelectorList(org.w3c.css.sac.SelectorList sl)
public org.w3c.css.sac.SelectorList getSelectorList()
public void setStyleDeclaration(StyleDeclaration sd)
public StyleDeclaration getStyleDeclaration()
public String toString(CSSEngine eng)
toString in interface Rule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||