|
|||||
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.FocusableElement
com.gargoylesoftware.htmlunit.html.HtmlLabel
public class HtmlLabel
Wrapper for the html element "label".
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 | |
---|---|
void |
blur()
Remove focus from this element. |
Page |
click()
Clicks the label and propagates to the referenced element. |
void |
focus()
Set the focus to this element. |
java.lang.String |
getAccessKeyAttribute()
Return the value of the attribute "accesskey". |
java.lang.String |
getForAttribute()
Return the value of the attribute "for". |
java.lang.String |
getOnBlurAttribute()
Return the value of the attribute "onblur". |
java.lang.String |
getOnFocusAttribute()
Return the value of the attribute "onfocus". |
FocusableElement |
getReferencedElement()
Gets the element referenced by this label. |
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 void blur()
blur
in class FocusableElement
public Page click() throws java.io.IOException
click
in class ClickableElement
java.io.IOException
- If an IO error occurspublic void focus()
focus
in class FocusableElement
public final java.lang.String getAccessKeyAttribute()
public final java.lang.String getForAttribute()
public final java.lang.String getOnBlurAttribute()
public final java.lang.String getOnFocusAttribute()
public FocusableElement getReferencedElement()
null
if not found
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |