fi.hut.tml.xsmiles.dom
Interface StylableElement

All Superinterfaces:
org.w3c.dom.Element, org.w3c.dom.Node
All Known Subinterfaces:
FlowLayoutElement, SwingStylableElement, XFormsElement, XFormsInstanceElement
All Known Implementing Classes:
CaptionElementImpl, CaseElementImpl, ElementTimeControlImpl, GroupElementImpl, InstanceElementImpl, RepeatElementImpl, StylableImpl, SwitchElementImpl, XFormsControl, XFormsElementImpl, XSmilesElementImpl

public interface StylableElement
extends org.w3c.dom.Element


Field Summary
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Method Summary
 RuleTreeNode getRuleNode()
           
 org.w3c.dom.css.CSSStyleDeclaration getStyle()
          get the resolved CSS style for this element
 java.lang.String getStyleAttrValue()
          return the string contents of the style attribute.
 boolean hasStyle()
           
 boolean isPseudoClass(java.lang.String pseudoclass)
          ask whether this element belongs to a certain CSS pseudoclass
 void setRuleNode(RuleTreeNode rtn)
           
 void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
          set the resolved CSS style for this element
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Method Detail

getStyle

public org.w3c.dom.css.CSSStyleDeclaration getStyle()
get the resolved CSS style for this element


setStyle

public void setStyle(org.w3c.dom.css.CSSStyleDeclaration style)
set the resolved CSS style for this element


getStyleAttrValue

public java.lang.String getStyleAttrValue()
return the string contents of the style attribute. If no support for style attribute, return null


isPseudoClass

public boolean isPseudoClass(java.lang.String pseudoclass)
ask whether this element belongs to a certain CSS pseudoclass


hasStyle

public boolean hasStyle()

setRuleNode

public void setRuleNode(RuleTreeNode rtn)

getRuleNode

public RuleTreeNode getRuleNode()


X-Smiles 1.2