org.apache.batik.dom.util
Class OverrideStyleElementSupport
java.lang.Object
|
+--org.apache.batik.dom.util.OverrideStyleElementSupport
- public class OverrideStyleElementSupport
- extends java.lang.Object
This class provides support for CSS override style.
Method Summary |
CSSStyleDeclaration |
getOverrideStyle(java.lang.String pseudoElt)
This method is used to retrieve the override style declaration for this
element and a specified pseudo-element. |
boolean |
hasOverrideStyle(java.lang.String pseudoElt)
Whether the element has an override style. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
protected CSSStyleDeclarationFactory factory
- The factory used to create CSSStyleDeclaration objects.
overrideStyles
protected HashTable overrideStyles
- The table of override styles.
OverrideStyleElementSupport
public OverrideStyleElementSupport(CSSStyleDeclarationFactory f)
- Creates a new OverrideStyleElementSupport object.
hasOverrideStyle
public boolean hasOverrideStyle(java.lang.String pseudoElt)
- Whether the element has an override style.
- Parameters:
pseudoElt
- The pseudo element or null
if none.
getOverrideStyle
public CSSStyleDeclaration getOverrideStyle(java.lang.String pseudoElt)
- This method is used to retrieve the override style declaration for this
element and a specified pseudo-element.
- Parameters:
elt
- The element whose style is to be modified. This parameter
cannot be null.pseudoElt
- The pseudo element or null
if none.- Returns:
- The override style declaration.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.