| java.lang.Object org.netbeans.modules.visualweb.designer.cssengine.PreviewElement
PreviewElement | class PreviewElement implements CSSStylableElement(Code) | | This class represents a DOM element which can be used for
preview purposes where I want to do layout based on styles but
don't have an associated comment. I can set a stylestring on
the element and then have the CSS lookup routines find these
styles using the standard style interface on the element.
author: Tor Norbye |
Method Summary | |
public org.w3c.dom.Node | appendChild(org.w3c.dom.Node node) | public org.w3c.dom.Node | cloneNode(boolean param) | public short | compareDocumentPosition(Node other) | public String | getAttribute(String str) | public String | getAttributeNS(String str, String str1) | public org.w3c.dom.Attr | getAttributeNode(String str) | public org.w3c.dom.Attr | getAttributeNodeNS(String str, String str1) | public org.w3c.dom.NamedNodeMap | getAttributes() | public String | getBaseURI() | public URL | getCSSBase() Returns the CSS base URL of this element. | public String | getCSSClass() Returns the class of this element. | public org.w3c.dom.NodeList | getChildNodes() | public StyleMap | getComputedStyleMap(String pseudoElement) Returns the computed style of this element/pseudo-element. | public org.w3c.dom.NodeList | getElementsByTagName(String str) | public org.w3c.dom.NodeList | getElementsByTagNameNS(String str, String str1) | public Object | getFeature(String feature, String version) | public org.w3c.dom.Node | getFirstChild() | public org.w3c.dom.Node | getLastChild() | public String | getLocalName() | public String | getNamespaceURI() | public org.w3c.dom.Node | getNextSibling() | public String | getNodeName() | public short | getNodeType() | public String | getNodeValue() | public org.w3c.dom.Document | getOwnerDocument() | public org.w3c.dom.Node | getParentNode() | public String | getPrefix() | public org.w3c.dom.Node | getPreviousSibling() | public TypeInfo | getSchemaTypeInfo() | public String | getTagName() | public String | getTextContent() | public Object | getUserData(String key) | public String | getXMLId() Returns the ID of this element. | public boolean | hasAttribute(String str) | public boolean | hasAttributeNS(String str, String str1) | public boolean | hasAttributes() | public boolean | hasChildNodes() | public org.w3c.dom.Node | insertBefore(org.w3c.dom.Node node, org.w3c.dom.Node node1) | public boolean | isDefaultNamespace(String namespaceURI) | public boolean | isEqualNode(Node arg) | public boolean | isPseudoInstanceOf(String pseudoClass) Tells whether this element is an instance of the given pseudo
class. | public boolean | isSameNode(Node other) | public boolean | isSupported(String str, String str1) | public String | lookupNamespaceURI(String prefix) | public String | lookupPrefix(String namespaceURI) | public void | normalize() | public void | removeAttribute(String str) | public void | removeAttributeNS(String str, String str1) | public org.w3c.dom.Attr | removeAttributeNode(org.w3c.dom.Attr attr) | public org.w3c.dom.Node | removeChild(org.w3c.dom.Node node) | public org.w3c.dom.Node | replaceChild(org.w3c.dom.Node node, org.w3c.dom.Node node1) | public void | setAttribute(String str, String str1) | public void | setAttributeNS(String str, String str1, String str2) | public org.w3c.dom.Attr | setAttributeNode(org.w3c.dom.Attr attr) | public org.w3c.dom.Attr | setAttributeNodeNS(org.w3c.dom.Attr attr) | public void | setComputedStyleMap(String pseudoElement, StyleMap sm) Sets the computed style of this element/pseudo-element. | public void | setIdAttribute(String name, boolean isId) | public void | setIdAttributeNS(String namespaceURI, String localName, boolean isId) | public void | setIdAttributeNode(Attr idAttr, boolean isId) | public void | setNodeValue(String str) | public void | setPrefix(String str) | public void | setTextContent(String textContent) | public Object | setUserData(String key, Object data, UserDataHandler handler) |
compareDocumentPosition | public short compareDocumentPosition(Node other)(Code) | | |
getCSSBase | public URL getCSSBase()(Code) | | Returns the CSS base URL of this element.
|
getCSSClass | public String getCSSClass()(Code) | | Returns the class of this element.
|
getComputedStyleMap | public StyleMap getComputedStyleMap(String pseudoElement)(Code) | | Returns the computed style of this element/pseudo-element.
|
getNodeType | public short getNodeType()(Code) | | |
getXMLId | public String getXMLId()(Code) | | Returns the ID of this element.
|
hasAttributes | public boolean hasAttributes()(Code) | | |
hasChildNodes | public boolean hasChildNodes()(Code) | | |
isDefaultNamespace | public boolean isDefaultNamespace(String namespaceURI)(Code) | | |
isEqualNode | public boolean isEqualNode(Node arg)(Code) | | |
isPseudoInstanceOf | public boolean isPseudoInstanceOf(String pseudoClass)(Code) | | Tells whether this element is an instance of the given pseudo
class.
|
isSameNode | public boolean isSameNode(Node other)(Code) | | |
normalize | public void normalize()(Code) | | |
setComputedStyleMap | public void setComputedStyleMap(String pseudoElement, StyleMap sm)(Code) | | Sets the computed style of this element/pseudo-element.
|
setTextContent | public void setTextContent(String textContent)(Code) | | |
|
|