info.informatica.doc.style.css.dom
Class DOMCSSStyleDeclaration
java.lang.Object
info.informatica.doc.style.css.dom.BaseCSSStyleDeclaration
info.informatica.doc.style.css.dom.ComputedCSSStyle
info.informatica.doc.style.css.dom.DOMCSSStyleDeclaration
- All Implemented Interfaces:
- CSS2ComputedProperties, StyleDatabaseAware, Cloneable, org.w3c.dom.css.CSSStyleDeclaration
public class DOMCSSStyleDeclaration
- extends ComputedCSSStyle
Style declaration for DOM.
- Author:
- Carlos Amengual (amengual at informatica.info)
| Methods inherited from class info.informatica.doc.style.css.dom.ComputedCSSStyle |
computeFloatValue, getBackgroundColor, getBackgroundImage, getBaseURL, getColor, getCSSValue, getFontFamily, getFontSize, getFontWeight, getLargerFontSize, getParentElementFontSize, getPeerNode, getSmallerFontSize, setPeerNode |
| Methods inherited from class info.informatica.doc.style.css.dom.BaseCSSStyleDeclaration |
addStyle, defaultPropertyValue, getCSS2Properties, getCssText, getDeclaredCSSValue, getLength, getParentRule, getPropertyCSSValue, getPropertyPriority, getPropertyValue, getStyleDatabase, item, prioritySplit, removeProperty, setCssText, setProperty, setProperty, setStyleDatabase, setSubproperties |
DOMCSSStyleDeclaration
public DOMCSSStyleDeclaration()
DOMCSSStyleDeclaration
public DOMCSSStyleDeclaration(DOMCSSStyleSheet parentSheet)
DOMCSSStyleDeclaration
public DOMCSSStyleDeclaration(BaseCSSStyleDeclaration copiedObject)
getPeerXPath
public String getPeerXPath()
- Description copied from interface:
CSS2ComputedProperties
- Gets the XPath of the node to which this style applies.
- Specified by:
getPeerXPath in interface CSS2ComputedProperties- Specified by:
getPeerXPath in class ComputedCSSStyle
- Returns:
- the XPath of the node.
getParentXPath
public String getParentXPath()
- Specified by:
getParentXPath in class ComputedCSSStyle
getParentComputedStyle
public DOMCSSStyleDeclaration getParentComputedStyle()
- Description copied from class:
ComputedCSSStyle
- Gets the computed style for the parent element.
- Specified by:
getParentComputedStyle in interface CSS2ComputedProperties- Specified by:
getParentComputedStyle in class ComputedCSSStyle
- Returns:
- the computed style for the parent element, or null if there is no
parent element, or has no style associated.
getText
public String getText()
- Gets the (whitespace-trimmed) text content of the
node associated to this style.
- Specified by:
getText in class ComputedCSSStyle
- Returns:
- the text content, or the empty string if the box
has no text.
clone
public DOMCSSStyleDeclaration clone()
- Specified by:
clone in class ComputedCSSStyle
Copyright © 2011 informatica.info. All Rights Reserved.