Interface HTMLElement

All Superinterfaces:
Element, EventTarget, InnerHTML, Node, NonDocumentTypeChildNode, ParentNode
All Known Subinterfaces:
HTMLAnchorElement, HTMLAppletElement, HTMLAreaElement, HTMLBaseElement, HTMLBaseFontElement, HTMLBodyElement, HTMLBRElement, HTMLButtonElement, HTMLCanvasElement, HTMLDataElement, HTMLDataListElement, HTMLDetailsElement, HTMLDialogElement, HTMLDirectoryElement, HTMLDivElement, HTMLDListElement, HTMLEmbedElement, HTMLFieldSetElement, HTMLFontElement, HTMLFormElement, HTMLHeadElement, HTMLHeadingElement, HTMLHRElement, HTMLHtmlElement, HTMLIFrameElement, HTMLImageElement, HTMLInputElement, HTMLLabelElement, HTMLLegendElement, HTMLLIElement, HTMLLinkElement, HTMLMapElement, HTMLMarqueeElement, HTMLMenuElement, HTMLMetaElement, HTMLMeterElement, HTMLModElement, HTMLObjectElement, HTMLOListElement, HTMLOptGroupElement, HTMLOptionElement, HTMLOutputElement, HTMLParagraphElement, HTMLParamElement, HTMLPictureElement, HTMLPreElement, HTMLProgressElement, HTMLQuoteElement, HTMLScriptElement, HTMLSelectElement, HTMLSlotElement, HTMLSourceElement, HTMLSpanElement, HTMLStyleElement, HTMLTableCaptionElement, HTMLTableCellElement, HTMLTableColElement, HTMLTableDataCellElement, HTMLTableElement, HTMLTableHeaderCellElement, HTMLTableRowElement, HTMLTableSectionElement, HTMLTextAreaElement, HTMLTimeElement, HTMLTitleElement, HTMLUListElement, HTMLUnknownElement, HTMLVideoElement
All Known Implementing Classes:
HTMLAnchorElementImpl, HTMLBaseElementImpl, HTMLBasicInputElement, HTMLBodyElementImpl, HTMLBRElementImpl, HTMLButtonElementImpl, HTMLCanvasElementImpl, HTMLCenterElementImpl, HTMLDDElementImpl, HTMLDetailsElementImpl, HTMLDialogElementImpl, HTMLDirectoryElementImpl, HTMLDivElementImpl, HTMLDListElementImpl, HTMLElementImpl, HTMLEmElementImpl, HTMLFieldsetElementImpl, HTMLFigureElementImpl, HTMLFormElementImpl, HTMLGenericMarkupElement, HTMLHeadElementImpl, HTMLHeadingElementImpl, HTMLHRElementImpl, HTMLHtmlElementImpl, HTMLIFrameElementImpl, HTMLImageElementImpl, HTMLInputElementImpl, HTMLLabelElementImpl, HTMLLegendElementImpl, HTMLLIElementImpl, HTMLLinkElementImpl, HTMLMarqueeElementImpl, HTMLMeterElementImpl, HTMLMonospacedElementImpl, HTMLNonStandardElement, HTMLNoScriptElementImpl, HTMLObjectElementImpl, HTMLOListElementImpl, HTMLOptGroupElementImpl, HTMLOptionElementImpl, HTMLPElementImpl, HTMLPreElementImpl, HTMLProcessingInstruction, HTMLProgressElementImpl, HTMLQuoteElementImpl, HTMLScriptElementImpl, HTMLSelectElementImpl, HTMLSmallElementImpl, HTMLSpanElementImpl, HTMLStrikeElementImpl, HTMLStrongElementImpl, HTMLStyleElementImpl, HTMLSuperscriptElementImpl, HTMLTableCaptionElementImpl, HTMLTableCellElementImpl, HTMLTableColElementImpl, HTMLTableColGroupElementImpl, HTMLTableElementImpl, HTMLTableRowElementImpl, HTMLTableSectionElementImpl, HTMLTextAreaElementImpl, HTMLTitleElementImpl, HTMLUListElementImpl, HTMLUnderlineElementImpl, HTMLVideoElementImpl, RSSChanelElementImpl, RSSDescriptionElementImpl, RSSElement, RSSElementImpl, RSSItemElementImpl, RSSTitleElementImpl, SVGAElementImpl, SVGAnimateElementImpl, SVGAnimateTransformElementImpl, SVGAnimationElementImpl, SVGAnimationImpl, SVGCircleElementImpl, SVGClipPathElementImpl, SVGDefsElementImpl, SVGElementImpl, SVGEllipseElementImpl, SVGFontElementImpl, SVGFontFaceElementImpl, SVGGElementImpl, SVGGradientElementImpl, SVGGraphic, SVGImageElementImpl, SVGLinearGradientElementImpl, SVGLineElementImpl, SVGLocatableImpl, SVGPathElementImpl, SVGPolygonElementImpl, SVGPolylineElementImpl, SVGRadialGradientElementImpl, SVGRectElementImpl, SVGStopElementImpl, SVGStylableImpl, SVGSVGElementImpl, SVGSymbolElementImpl, SVGTextElementImpl, SVGTransformableImpl, SVGUseElementImpl

public interface HTMLElement extends Element
Any HTML element. Some elements directly implement this interface, while others implement it via an interface that inherits it.
  • Method Details

    • getAccessKey

      String getAccessKey()

      getAccessKey.

      Returns:
      a String object.
    • getAccessKeyLabel

      String getAccessKeyLabel()

      getAccessKeyLabel.

      Returns:
      a String object.
    • getAutocapitalize

      String getAutocapitalize()

      getAutocapitalize.

      Returns:
      a String object.
    • getDir

      String getDir()

      getDir.

      Returns:
      a String object.
    • getContentEditable

      String getContentEditable()

      getContentEditable.

      Returns:
      a String object.
    • getInnerText

      String getInnerText()

      getInnerText.

      Specified by:
      getInnerText in interface Element
      Returns:
      a String object.
    • getLang

      String getLang()

      getLang.

      Returns:
      a String object.
    • getTitle

      String getTitle()

      getTitle.

      Returns:
      a String object.
    • getOffsetHeight

      Integer getOffsetHeight()

      getOffsetHeight.

      Returns:
      a double.
    • getOffsetLeft

      double getOffsetLeft()

      getOffsetLeft.

      Returns:
      a double.
    • getOffsetParent

      Element getOffsetParent()

      getOffsetParent.

      Returns:
      a Element object.
    • getOffsetTop

      int getOffsetTop()

      getOffsetTop.

      Returns:
      a Integer object.
    • getOffsetWidth

      Integer getOffsetWidth()

      getOffsetWidth.

      Returns:
      a Integer object.
    • isSpellcheck

      boolean isSpellcheck()

      isSpellcheck.

      Returns:
      a boolean.
    • isDraggable

      boolean isDraggable()

      isDraggable.

      Returns:
      a boolean.
    • isHidden

      boolean isHidden()

      isHidden.

      Returns:
      a boolean.
    • isTranslate

      boolean isTranslate()

      isTranslate.

      Returns:
      a boolean.
    • setAccessKey

      void setAccessKey(String accessKey)

      setAccessKey.

      Parameters:
      accessKey - a String object.
    • setAutocapitalize

      void setAutocapitalize(String autocapitalize)

      setAutocapitalize.

      Parameters:
      autocapitalize - a String object.
    • setDir

      void setDir(String dir)

      setDir.

      Parameters:
      dir - a String object.
    • setDraggable

      void setDraggable(boolean draggable)

      setDraggable.

      Parameters:
      draggable - a boolean.
    • setHidden

      void setHidden(boolean hidden)

      setHidden.

      Parameters:
      hidden - a boolean.
    • setInnerText

      void setInnerText(String innerText)

      setInnerText.

      Parameters:
      innerText - a String object.
    • setLang

      void setLang(String lang)

      setLang.

      Parameters:
      lang - a String object.
    • setSpellcheck

      void setSpellcheck(boolean spellcheck)

      setSpellcheck.

      Parameters:
      spellcheck - a boolean.
    • setContentEditable

      void setContentEditable(String contenteditable)

      setContentEditable.

      Parameters:
      contenteditable - a String object.
    • setTranslate

      void setTranslate(boolean translate)

      setTranslate.

      Parameters:
      translate - a boolean.
    • setTitle

      void setTitle(String title)

      setTitle.

      Parameters:
      title - a String object.
    • click

      void click()

      click.