Package org.htmlunit
Interface OnbeforeunloadHandler
-
- All Superinterfaces:
java.io.Serializable
public interface OnbeforeunloadHandler extends java.io.SerializableA handler foronbeforeunloadevents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhandleEvent(Page page, java.lang.String returnValue)Handles anonbeforeunloadevent for the specified page.
-
-
-
Method Detail
-
handleEvent
boolean handleEvent(Page page, java.lang.String returnValue)
Handles anonbeforeunloadevent for the specified page.- Parameters:
page- the page on which the event occurredreturnValue- the event'sreturnValue- Returns:
trueto accept the event,falseotherwise
-
-