org.apache.batik.css.engine

Interface CSSStylableElement

public interface CSSStylableElement extends Element

This interface must be implemented by the DOM elements which needs CSS support.
Method Summary
StyleMapgetComputedStyleMap(String pseudoElement)
Returns the computed style of this element/pseudo-element.
URLgetCSSBase()
Returns the CSS base URL of this element.
StringgetCSSClass()
Returns the class of this element.
StyleDeclarationProvidergetOverrideStyleDeclarationProvider()
Returns the object that gives access to the underlying {@link StyleDeclaration} for the override style of this element.
StringgetXMLId()
Returns the ID of this element.
booleanisPseudoInstanceOf(String pseudoClass)
Tells whether this element is an instance of the given pseudo class.
voidsetComputedStyleMap(String pseudoElement, StyleMap sm)
Sets the computed style of this element/pseudo-element.

Method Detail

getComputedStyleMap

public StyleMap getComputedStyleMap(String pseudoElement)
Returns the computed style of this element/pseudo-element.

getCSSBase

public URL getCSSBase()
Returns the CSS base URL of this element.

getCSSClass

public String getCSSClass()
Returns the class of this element.

getOverrideStyleDeclarationProvider

public StyleDeclarationProvider getOverrideStyleDeclarationProvider()
Returns the object that gives access to the underlying {@link StyleDeclaration} for the override style of this element.

getXMLId

public String getXMLId()
Returns the ID of this element.

isPseudoInstanceOf

public boolean isPseudoInstanceOf(String pseudoClass)
Tells whether this element is an instance of the given pseudo class.

setComputedStyleMap

public void setComputedStyleMap(String pseudoElement, StyleMap sm)
Sets the computed style of this element/pseudo-element.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.