Class HTMLListElement

All Implemented Interfaces:
Serializable, Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable
Direct Known Subclasses:
HTMLDirectoryElement, HTMLDListElement, HTMLMenuElement, HTMLOListElement, HTMLUListElement

public class HTMLListElement extends HTMLElement
Base class for list-type elements (ul, ol, dir, etc).
See Also:
  • Constructor Details

    • HTMLListElement

      public HTMLListElement()
  • Method Details

    • isCompact

      public boolean isCompact()
      Returns the value of the compact attribute.
      Returns:
      the value of the compact attribute
    • setCompact

      public void setCompact(Object compact)
      Sets the value of the compact attribute.
      Parameters:
      compact - the value of the compact attribute
    • getType

      protected String getType()
      Returns the value of the type property.
      Returns:
      the value of the type property
    • setType

      protected void setType(String type)
      Sets the value of the type property.
      Parameters:
      type - the value of the type property