|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.html.DomNode
com.gargoylesoftware.htmlunit.html.DomNamespaceNode
com.gargoylesoftware.htmlunit.html.HtmlElement
com.gargoylesoftware.htmlunit.html.StyledElement
com.gargoylesoftware.htmlunit.html.ClickableElement
com.gargoylesoftware.htmlunit.html.HtmlImage
public class HtmlImage
Wrapper for the html element "img".
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.gargoylesoftware.htmlunit.html.HtmlElement |
---|
HtmlElement.MapEntryWrappingIterator |
Field Summary | |
---|---|
static java.lang.String |
TAG_NAME
the HTML tag represented by this element |
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 | |
---|---|
Page |
click()
Simulate clicking this element. |
Page |
click(int x,
int y)
Simulate clicking this element at the given position. |
java.lang.String |
getAlignAttribute()
Return the value of the attribute "align". |
java.lang.String |
getAltAttribute()
Return the value of the attribute "alt". |
java.lang.String |
getBorderAttribute()
Return the value of the attribute "border". |
java.lang.String |
getHeightAttribute()
Return the value of the attribute "height". |
java.lang.String |
getHspaceAttribute()
Return the value of the attribute "hspace". |
java.lang.String |
getIsmapAttribute()
Return the value of the attribute "ismap". |
java.lang.String |
getLongDescAttribute()
Return the value of the attribute "longdesc". |
java.lang.String |
getNameAttribute()
Return the value of the attribute "name". |
java.lang.String |
getSrcAttribute()
Return the value of the attribute "src". |
java.lang.String |
getUseMapAttribute()
Return the value of the attribute "usemap". |
java.lang.String |
getVspaceAttribute()
Return the value of the attribute "vspace". |
java.lang.String |
getWidthAttribute()
Return the value of the attribute "width". |
Methods inherited from class com.gargoylesoftware.htmlunit.html.ClickableElement |
---|
click, dblClick, dblClick, getLangAttribute, getOnClickAttribute, getOnDblClickAttribute, getOnKeyDownAttribute, getOnKeyPressAttribute, getOnKeyUpAttribute, getOnMouseDownAttribute, getOnMouseMoveAttribute, getOnMouseOutAttribute, getOnMouseOverAttribute, getOnMouseUpAttribute, getTextDirectionAttribute, getXmlLangAttribute |
Methods inherited from class com.gargoylesoftware.htmlunit.html.StyledElement |
---|
getClassAttribute, getIdAttribute, getStyleAttribute, getTitleAttribute |
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 |
Field Detail |
---|
public static final java.lang.String TAG_NAME
Method Detail |
---|
public Page click() throws java.io.IOException
click
in class ClickableElement
java.io.IOException
- If an IO error occurspublic Page click(int x, int y) throws java.io.IOException
x
- the x position of the clicky
- the y position of the click
java.io.IOException
- If an IO error occurspublic final java.lang.String getAlignAttribute()
public final java.lang.String getAltAttribute()
public final java.lang.String getBorderAttribute()
public final java.lang.String getHeightAttribute()
public final java.lang.String getHspaceAttribute()
public final java.lang.String getIsmapAttribute()
public final java.lang.String getLongDescAttribute()
public final java.lang.String getNameAttribute()
public final java.lang.String getSrcAttribute()
public final java.lang.String getUseMapAttribute()
public final java.lang.String getVspaceAttribute()
public final java.lang.String getWidthAttribute()
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |