Interface WindowEventHandlers
- All Superinterfaces:
EventTarget
- All Known Subinterfaces:
HTMLBodyElement
,Window
,WindowProxy
- All Known Implementing Classes:
HTMLBodyElementImpl
,WindowEventHandlersImpl
,WindowImpl
WindowEventHandlers interface.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addAfterPrintEventListener
(Function listener) addAfterPrintEventListener.default void
addAfterPrintEventListener
(Function listener, boolean options) addAfterPrintEventListener.default void
addBeforePrintEventListener
(Function listener) addBeforePrintEventListener.default void
addBeforePrintEventListener
(Function listener, boolean options) addBeforePrintEventListener.default void
addLanguageChangeEventListener
(Function listener) addLanguageChangeEventListener.default void
addLanguageChangeEventListener
(Function listener, boolean options) addLanguageChangeEventListener.default void
addOfflineEventListener
(Function listener) addOfflineEventListener.default void
addOfflineEventListener
(Function listener, boolean options) addOfflineEventListener.default void
addOnlineEventListener
(Function listener) addOnlineEventListener.default void
addOnlineEventListener
(Function listener, boolean options) addOnlineEventListener.default void
addRejectionHandledEventListener
(Function listener) addRejectionHandledEventListener.default void
addRejectionHandledEventListener
(Function listener, boolean options) addRejectionHandledEventListener.default void
addUnloadEventListener
(Function listener) addUnloadEventListener.default void
addUnloadEventListener
(Function listener, boolean options) addUnloadEventListener.getOnafterprint.getOnbeforeprint.getOnlanguagechange.getOnoffline.getOnonline.getOnunload.default void
removeAfterPrintEventListener
(Function listener) removeAfterPrintEventListener.default void
removeAfterPrintEventListener
(Function listener, boolean options) removeAfterPrintEventListener.default void
removeBeforePrintEventListener
(Function listener) removeBeforePrintEventListener.default void
removeBeforePrintEventListener
(Function listener, boolean options) removeBeforePrintEventListener.default void
removeLanguageChangeEventListener
(Function listener) removeLanguageChangeEventListener.default void
removeLanguageChangeEventListener
(Function listener, boolean options) removeLanguageChangeEventListener.default void
removeOfflineEventListener
(Function listener) removeOfflineEventListener.default void
removeOfflineEventListener
(Function listener, boolean options) removeOfflineEventListener.default void
removeOnlineEventListener
(Function listener) removeOnlineEventListener.default void
removeOnlineEventListener
(Function listener, boolean options) removeOnlineEventListener.default void
removeRejectionHandledEventListener
(Function listener) removeRejectionHandledEventListener.default void
removeRejectionHandledEventListener
(Function listener, boolean options) removeRejectionHandledEventListener.default void
removeUnloadEventListener
(Function listener) removeUnloadEventListener.default void
removeUnloadEventListener
(Function listener, boolean options) removeUnloadEventListener.void
setOnafterprint
(Function onafterprint) setOnafterprint.void
setOnbeforeprint
(Function onbeforeprint) setOnbeforeprint.void
setOnlanguagechange
(Function onlanguagechange) setOnlanguagechange.void
setOnoffline
(Function onoffline) setOnoffline.void
setOnonline
(Function ononline) setOnonline.void
setOnunload
(Function onunload) setOnunload.Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
-
Method Details
-
getOnafterprint
Function getOnafterprint()getOnafterprint.
- Returns:
- a
Function
object.
-
getOnbeforeprint
Function getOnbeforeprint()getOnbeforeprint.
- Returns:
- a
Function
object.
-
getOnlanguagechange
Function getOnlanguagechange()getOnlanguagechange.
- Returns:
- a
Function
object.
-
getOnoffline
Function getOnoffline()getOnoffline.
- Returns:
- a
Function
object.
-
getOnonline
Function getOnonline()getOnonline.
- Returns:
- a
Function
object.
-
getOnunload
Function getOnunload()getOnunload.
- Returns:
- a
Function
object.
-
setOnunload
setOnunload.
- Parameters:
onunload
- aFunction
object.
-
setOnonline
setOnonline.
- Parameters:
ononline
- aFunction
object.
-
setOnoffline
setOnoffline.
- Parameters:
onoffline
- aFunction
object.
-
setOnlanguagechange
setOnlanguagechange.
- Parameters:
onlanguagechange
- aFunction
object.
-
setOnbeforeprint
setOnbeforeprint.
- Parameters:
onbeforeprint
- aFunction
object.
-
setOnafterprint
setOnafterprint.
- Parameters:
onafterprint
- aFunction
object.
-
addAfterPrintEventListener
addAfterPrintEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addAfterPrintEventListener
addAfterPrintEventListener.
- Parameters:
listener
- aFunction
object.
-
removeAfterPrintEventListener
removeAfterPrintEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeAfterPrintEventListener
removeAfterPrintEventListener.
- Parameters:
listener
- aFunction
object.
-
addBeforePrintEventListener
addBeforePrintEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addBeforePrintEventListener
addBeforePrintEventListener.
- Parameters:
listener
- aFunction
object.
-
removeBeforePrintEventListener
removeBeforePrintEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeBeforePrintEventListener
removeBeforePrintEventListener.
- Parameters:
listener
- aFunction
object.
-
addLanguageChangeEventListener
addLanguageChangeEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addLanguageChangeEventListener
addLanguageChangeEventListener.
- Parameters:
listener
- aFunction
object.
-
removeLanguageChangeEventListener
removeLanguageChangeEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeLanguageChangeEventListener
removeLanguageChangeEventListener.
- Parameters:
listener
- aFunction
object.
-
addOfflineEventListener
addOfflineEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addOfflineEventListener
addOfflineEventListener.
- Parameters:
listener
- aFunction
object.
-
removeOfflineEventListener
removeOfflineEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeOfflineEventListener
removeOfflineEventListener.
- Parameters:
listener
- aFunction
object.
-
addOnlineEventListener
addOnlineEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addOnlineEventListener
addOnlineEventListener.
- Parameters:
listener
- aFunction
object.
-
removeOnlineEventListener
removeOnlineEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeOnlineEventListener
removeOnlineEventListener.
- Parameters:
listener
- aFunction
object.
-
addRejectionHandledEventListener
addRejectionHandledEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addRejectionHandledEventListener
addRejectionHandledEventListener.
- Parameters:
listener
- aFunction
object.
-
removeRejectionHandledEventListener
removeRejectionHandledEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeRejectionHandledEventListener
removeRejectionHandledEventListener.
- Parameters:
listener
- aFunction
object.
-
addUnloadEventListener
addUnloadEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
addUnloadEventListener
addUnloadEventListener.
- Parameters:
listener
- aFunction
object.
-
removeUnloadEventListener
removeUnloadEventListener.
- Parameters:
listener
- aFunction
object.options
- a boolean.
-
removeUnloadEventListener
removeUnloadEventListener.
- Parameters:
listener
- aFunction
object.
-