Package eu.webtoolkit.jwt
Class WCssTextRule
java.lang.Object
eu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WCssRule
eu.webtoolkit.jwt.WCssTextRule
public class WCssTextRule extends WCssRule
A CSS rule specified directly using CSS declarations.
- See Also:
WCssStyleSheet
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WObject
WObject.FormData
-
Constructor Summary
Constructors Constructor Description WCssTextRule(java.lang.String selector, java.lang.String declarations)
Creates a CSS rule with a given selector and declarations.WCssTextRule(java.lang.String selector, java.lang.String declarations, WObject parent)
Creates a CSS rule with a given selector and declarations. -
Method Summary
Modifier and Type Method Description java.lang.String
getDeclarations()
Returns the declarations.Methods inherited from class eu.webtoolkit.jwt.WCssRule
getSelector, getSheet, modified, remove, setSelector
Methods inherited from class eu.webtoolkit.jwt.WObject
addChild, getId, getObjectName, setFormData, setObjectName, tr
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
WCssTextRule
Creates a CSS rule with a given selector and declarations. -
WCssTextRule
public WCssTextRule(java.lang.String selector, java.lang.String declarations)Creates a CSS rule with a given selector and declarations.
-
-
Method Details
-
getDeclarations
public java.lang.String getDeclarations()Description copied from class:WCssRule
Returns the declarations.This is a semi-colon separated list of CSS declarations.
- Specified by:
getDeclarations
in classWCssRule
-