Class HtmlDetails

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.Node

    public class HtmlDetails
    extends HtmlElement
    Wrapper for the HTML element "details".
    See Also:
    Serialized Form
    • Field Detail

      • TAG_NAME

        public static final java.lang.String TAG_NAME
        The HTML tag represented by this element.
        See Also:
        Constant Field Values
    • Constructor Detail

      • HtmlDetails

        HtmlDetails​(java.lang.String qualifiedName,
                    SgmlPage page,
                    java.util.Map<java.lang.String,​DomAttr> attributes)
        Creates a new instance.
        Parameters:
        qualifiedName - the qualified name of the element type to instantiate
        page - the HtmlPage that contains this element
        attributes - the initial attributes
    • Method Detail

      • isOpen

        public boolean isOpen()
        Returns:
        the open property
      • setOpen

        public void setOpen​(boolean newValue)
        Sets the open state.
        Parameters:
        newValue - the new value