|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WCssRule
public abstract class WCssRule
Abstract rule in a CSS style sheet.
A rule presents CSS style properties that are applied to a selected set of elements.
Use WCssTemplateRule if you would like to use a widget as a template
for specifying (and updating) a style rule, using the widgets style
properties, or WCssTextRule if you wish to directly specify the CSS
declarations.
WCssStyleSheet| Constructor Summary | |
|---|---|
protected |
WCssRule(java.lang.String selector)
Creates a new CSS rule with given selector. |
protected |
WCssRule(java.lang.String selector,
WObject parent)
Creates a new CSS rule with given selector. |
| Method Summary | |
|---|---|
abstract java.lang.String |
getDeclarations()
Returns the declarations. |
java.lang.String |
getSelector()
Returns the selector. |
WCssStyleSheet |
getSheet()
Returns the style sheet to which this rule belongs. |
void |
modified()
Indicates that the rule has changed and needs updating. |
void |
remove()
Destructor. |
| Methods inherited from class eu.webtoolkit.jwt.WObject |
|---|
addChild, getId, getObjectName, setObjectName, tr |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected WCssRule(java.lang.String selector,
WObject parent)
protected WCssRule(java.lang.String selector)
Calls this(selector,
(WObject)null)
| Method Detail |
|---|
public void remove()
remove in class WObjectpublic java.lang.String getSelector()
public WCssStyleSheet getSheet()
public void modified()
public abstract java.lang.String getDeclarations()
This is a semi-colon separated list of CSS declarations.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||