Class HtmlDialog

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

    public class HtmlDialog
    extends HtmlElement
    Wrapper for the HTML element "dialog".
    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
    • Method Detail

      • isOpen

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

        public boolean isModal()
        Returns:
        true if the dialog is open and modal.
      • setOpen

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

        public void show()
        Displays the dialog modelessly.
      • showModal

        public void showModal()
        Displays the dialog modal.
      • close

        public void close​(java.lang.String returnValue)
        Displays the dialog modal.
        Parameters:
        returnValue - the return value
      • getReturnValue

        public java.lang.String getReturnValue()
        Returns:
        the returnValue property
      • setReturnValue

        public void setReturnValue​(java.lang.String newValue)
        Sets the open state.
        Parameters:
        newValue - the new value