API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.w3c.dom.css. CSSStyleDeclaration View Source
Author(s)
Since
DOM Level 2
Version
Serial
Hierarchy
 CSSStyleDeclaration
Subinterfaces
Description
public interface CSSStyleDeclaration
  The CSSStyleDeclaration interface represents a single CSS declaration block.
See also:   
Methods
Hide/Show inherited methods
public String getCssText ()
  The parsable textual representation of the declaration block (excluding the surrounding curly braces).
public int getLength ()
  The number of properties that have been explicitly set in this declaration block.
public CSSRule getParentRule ()
The CSS rule that contains this declaration block or null if this CSSStyleDeclaration is not attached to a CSSRule.
public CSSValue getPropertyCSSValue (String propertyName)
  Used to retrieve the object representation of the value of a CSS property if it has been explicitly set within this declaration block.
public String getPropertyPriority (String propertyName)
  Used to retrieve the priority of a CSS property (e.g.
public String getPropertyValue (String propertyName)
  Used to retrieve the value of a CSS property if it has been explicitly set within this declaration block.
public String item (int index)
  Used to retrieve the properties that have been explicitly set in this declaration block.
public String removeProperty (String propertyName) throws DOMException
  Used to remove a CSS property if it has been explicitly set within this declaration block.
public void setCssText (String cssText) throws DOMException
  The parsable textual representation of the declaration block (excluding the surrounding curly braces).
public void setProperty (String propertyName, String value, String priority) throws DOMException
  Used to set a property value and priority within this declaration block.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar