eu.webtoolkit.jwt
Class WCssTextRule

java.lang.Object
  extended by eu.webtoolkit.jwt.WObject
      extended by eu.webtoolkit.jwt.WCssRule
          extended by eu.webtoolkit.jwt.WCssTextRule

public class WCssTextRule
extends WCssRule

A CSS rule specified directly using CSS declarations.

See Also:
WCssStyleSheet

Constructor Summary
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
 java.lang.String getDeclarations()
          Returns the declarations.
 
Methods inherited from class eu.webtoolkit.jwt.WCssRule
getSelector, getSheet, modified, remove
 
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

WCssTextRule

public WCssTextRule(java.lang.String selector,
                    java.lang.String declarations,
                    WObject parent)
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.

Calls this(selector, declarations, (WObject)null)

Method Detail

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 class WCssRule