com.gargoylesoftware.htmlunit.html
Class StyledElement

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.html.DomNode
      extended by com.gargoylesoftware.htmlunit.html.DomNamespaceNode
          extended by com.gargoylesoftware.htmlunit.html.HtmlElement
              extended by com.gargoylesoftware.htmlunit.html.StyledElement
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
BaseFrame, ClickableElement, HtmlApplet, HtmlBidirectionalOverride, HtmlBreak, HtmlFont, HtmlFrameSet, HtmlIsIndex

public abstract class StyledElement
extends HtmlElement

Intermediate base class for "styled" HTML elements. As defined HTML 4.01 documentation, this class is a base class for all HTML elements except these: base, basefont, head, html, meta, param, script, style and title.

Version:
$Revision: 1.3 $
Author:
Mike Bowler, David K. Taylor, Christian Sell, Ahmed Ashour, Rodney Gitzel
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement
HtmlElement.MapEntryWrappingIterator
 
Field Summary
 
Fields inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement
ATTRIBUTE_NOT_DEFINED, ATTRIBUTE_VALUE_EMPTY
 
Fields inherited from class com.gargoylesoftware.htmlunit.html.DomNode
PROPERTY_ELEMENT, READY_STATE_COMPLETE, READY_STATE_INTERACTIVE, READY_STATE_LOADED, READY_STATE_LOADING, READY_STATE_UNINITIALIZED
 
Method Summary
 java.lang.String getClassAttribute()
 Return the value of the attribute "class".
 java.lang.String getIdAttribute()
 Return the value of the attribute "id".
 java.lang.String getStyleAttribute()
 Return the value of the attribute "style".
 java.lang.String getTitleAttribute()
 Return the value of the attribute "title".
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement
addHtmlAttributeChangeListener, appendChildIfNoneExists, cloneDomNode, fireEvent, fireEvent, getAttributeEntriesIterator, getAttributeValue, getChildElementsIterator, getEnclosingElement, getEnclosingForm, getEnclosingFormOrDie, getEventHandler, getHtmlElementById, getHtmlElementsByAttribute, getHtmlElementsByTagName, getHtmlElementsByTagNames, getId, getNodeName, getNodeType, getOneHtmlElementByAttribute, getTagName, hasHtmlElementWithId, isAttributeDefined, keyDown, keyDown, mouseDown, mouseDown, mouseMove, mouseMove, mouseOut, mouseOut, mouseOver, mouseOver, mouseUp, mouseUp, removeAttribute, removeChild, removeEventHandler, removeHtmlAttributeChangeListener, rightClick, rightClick, setAttributeValue, setEventHandler, setEventHandler, setId, toString
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNamespaceNode
getLocalName, getNamespaceURI, getPrefix, getQualifiedName, setPrefix
 
Methods inherited from class com.gargoylesoftware.htmlunit.html.DomNode
addDomChangeListener, appendDomChild, asText, asXml, getAllHtmlChildElements, getByXPath, getChildIterator, getEndColumnNumber, getEndLineNumber, getFirstDomChild, getLastDomChild, getNextDomSibling, getNodeValue, getPage, getParentDomNode, getPreviousDomSibling, getReadyState, getScriptObject, getStartColumnNumber, getStartLineNumber, insertBefore, remove, removeAllChildren, removeDomChangeListener, replace, setNodeValue, setReadyState, setScriptObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getClassAttribute

public final java.lang.String getClassAttribute()
Return the value of the attribute "class". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "class" or an empty string if that attribute isn't defined.

getIdAttribute

public final java.lang.String getIdAttribute()
Return the value of the attribute "id". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "id" or an empty string if that attribute isn't defined.

getStyleAttribute

public final java.lang.String getStyleAttribute()
Return the value of the attribute "style". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "style" or an empty string if that attribute isn't defined.

getTitleAttribute

public final java.lang.String getTitleAttribute()
Return the value of the attribute "title". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Returns:
The value of the attribute "title" or an empty string if that attribute isn't defined.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.