Package org.htmlunit

Interface AppletConfirmHandler

  • All Superinterfaces:
    java.io.Serializable

    public interface AppletConfirmHandler
    extends java.io.Serializable
    A handler for Applets. Like in real browsers, you have to confirm before the browser starts an applet.
    • Method Detail

      • confirm

        boolean confirm​(HtmlApplet applet)
        Handles a confirmation for the specified page.
        Parameters:
        applet - the applet the browser likes to start
        Returns:
        true if starting is allowed
      • confirm

        boolean confirm​(HtmlObject applet)
        Handles a confirmation for the specified page.
        Parameters:
        applet - the applet the browser likes to start
        Returns:
        true if starting is allowed