com.jniwrapper.win32.ie.event
Interface DialogEventHandler

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
BrowserDialogEventHandler, HeadlessBrowserDialogEventHandler

public interface DialogEventHandler
extends java.util.EventListener

The listener interface for receiving show dialog events.


Method Summary
 int showDialog(com.jniwrapper.win32.ui.Wnd wnd, java.lang.String title, java.lang.String text, int type)
          Invoked when an Internet Explorer dialog is displayed.
 

Method Detail

showDialog

int showDialog(com.jniwrapper.win32.ui.Wnd wnd,
               java.lang.String title,
               java.lang.String text,
               int type)
Invoked when an Internet Explorer dialog is displayed. If invoke window.alert() or window.confirm() JavaScript function then this event is occured.

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:
type of key pressed in dialog (see IDxxx constants of MessageBox class).