Interface WindowEventHandlers

All Superinterfaces:
EventTarget
All Known Subinterfaces:
HTMLBodyElement, Window, WindowProxy
All Known Implementing Classes:
HTMLBodyElementImpl, WindowEventHandlersImpl, WindowImpl

public interface WindowEventHandlers extends EventTarget

WindowEventHandlers interface.

  • 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

      void setOnunload(Function onunload)

      setOnunload.

      Parameters:
      onunload - a Function object.
    • setOnonline

      void setOnonline(Function ononline)

      setOnonline.

      Parameters:
      ononline - a Function object.
    • setOnoffline

      void setOnoffline(Function onoffline)

      setOnoffline.

      Parameters:
      onoffline - a Function object.
    • setOnlanguagechange

      void setOnlanguagechange(Function onlanguagechange)

      setOnlanguagechange.

      Parameters:
      onlanguagechange - a Function object.
    • setOnbeforeprint

      void setOnbeforeprint(Function onbeforeprint)

      setOnbeforeprint.

      Parameters:
      onbeforeprint - a Function object.
    • setOnafterprint

      void setOnafterprint(Function onafterprint)

      setOnafterprint.

      Parameters:
      onafterprint - a Function object.
    • addAfterPrintEventListener

      default void addAfterPrintEventListener(Function listener, boolean options)

      addAfterPrintEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addAfterPrintEventListener

      default void addAfterPrintEventListener(Function listener)

      addAfterPrintEventListener.

      Parameters:
      listener - a Function object.
    • removeAfterPrintEventListener

      default void removeAfterPrintEventListener(Function listener, boolean options)

      removeAfterPrintEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeAfterPrintEventListener

      default void removeAfterPrintEventListener(Function listener)

      removeAfterPrintEventListener.

      Parameters:
      listener - a Function object.
    • addBeforePrintEventListener

      default void addBeforePrintEventListener(Function listener, boolean options)

      addBeforePrintEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addBeforePrintEventListener

      default void addBeforePrintEventListener(Function listener)

      addBeforePrintEventListener.

      Parameters:
      listener - a Function object.
    • removeBeforePrintEventListener

      default void removeBeforePrintEventListener(Function listener, boolean options)

      removeBeforePrintEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeBeforePrintEventListener

      default void removeBeforePrintEventListener(Function listener)

      removeBeforePrintEventListener.

      Parameters:
      listener - a Function object.
    • addLanguageChangeEventListener

      default void addLanguageChangeEventListener(Function listener, boolean options)

      addLanguageChangeEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addLanguageChangeEventListener

      default void addLanguageChangeEventListener(Function listener)

      addLanguageChangeEventListener.

      Parameters:
      listener - a Function object.
    • removeLanguageChangeEventListener

      default void removeLanguageChangeEventListener(Function listener, boolean options)

      removeLanguageChangeEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeLanguageChangeEventListener

      default void removeLanguageChangeEventListener(Function listener)

      removeLanguageChangeEventListener.

      Parameters:
      listener - a Function object.
    • addOfflineEventListener

      default void addOfflineEventListener(Function listener, boolean options)

      addOfflineEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addOfflineEventListener

      default void addOfflineEventListener(Function listener)

      addOfflineEventListener.

      Parameters:
      listener - a Function object.
    • removeOfflineEventListener

      default void removeOfflineEventListener(Function listener, boolean options)

      removeOfflineEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeOfflineEventListener

      default void removeOfflineEventListener(Function listener)

      removeOfflineEventListener.

      Parameters:
      listener - a Function object.
    • addOnlineEventListener

      default void addOnlineEventListener(Function listener, boolean options)

      addOnlineEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addOnlineEventListener

      default void addOnlineEventListener(Function listener)

      addOnlineEventListener.

      Parameters:
      listener - a Function object.
    • removeOnlineEventListener

      default void removeOnlineEventListener(Function listener, boolean options)

      removeOnlineEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeOnlineEventListener

      default void removeOnlineEventListener(Function listener)

      removeOnlineEventListener.

      Parameters:
      listener - a Function object.
    • addRejectionHandledEventListener

      default void addRejectionHandledEventListener(Function listener, boolean options)

      addRejectionHandledEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addRejectionHandledEventListener

      default void addRejectionHandledEventListener(Function listener)

      addRejectionHandledEventListener.

      Parameters:
      listener - a Function object.
    • removeRejectionHandledEventListener

      default void removeRejectionHandledEventListener(Function listener, boolean options)

      removeRejectionHandledEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeRejectionHandledEventListener

      default void removeRejectionHandledEventListener(Function listener)

      removeRejectionHandledEventListener.

      Parameters:
      listener - a Function object.
    • addUnloadEventListener

      default void addUnloadEventListener(Function listener, boolean options)

      addUnloadEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • addUnloadEventListener

      default void addUnloadEventListener(Function listener)

      addUnloadEventListener.

      Parameters:
      listener - a Function object.
    • removeUnloadEventListener

      default void removeUnloadEventListener(Function listener, boolean options)

      removeUnloadEventListener.

      Parameters:
      listener - a Function object.
      options - a boolean.
    • removeUnloadEventListener

      default void removeUnloadEventListener(Function listener)

      removeUnloadEventListener.

      Parameters:
      listener - a Function object.