com.jniwrapper.win32.ie.event
Class HeadlessBrowserDialogEventHandler

java.lang.Object
  extended by com.jniwrapper.win32.ie.event.HeadlessBrowserDialogEventHandler
All Implemented Interfaces:
DialogEventHandler, java.util.EventListener

public class HeadlessBrowserDialogEventHandler
extends java.lang.Object
implements DialogEventHandler

Implementation of dialog event handler of automated testing: suppresses Internet Explorer dialogs.


Constructor Summary
HeadlessBrowserDialogEventHandler()
           
 
Method Summary
 int showDialog(com.jniwrapper.win32.ui.Wnd wnd, java.lang.String title, java.lang.String text, int type)
          Suppresses Internet Explorer dialogs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeadlessBrowserDialogEventHandler

public HeadlessBrowserDialogEventHandler()
Method Detail

showDialog

public int showDialog(com.jniwrapper.win32.ui.Wnd wnd,
                      java.lang.String title,
                      java.lang.String text,
                      int type)
Suppresses Internet Explorer dialogs.

Specified by:
showDialog in interface DialogEventHandler
Parameters:
wnd - parent window for dialog
title - dialog title
text - text for displaying in dialog
type - dialog type (see type constants in MessageBox class).
Returns:
MessageBox.IDOK