com.aspose.html.window

Interface IWindowTimers

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void clearInterval(int handle)
      Cancels the timeout set with setInterval() identified by handle
      void clearTimeout(int handle)
      Cancels the timeout set with setTimeout() identified by handle.
      int setInterval(Object handler)
      Schedules a timeout to run handler every timeout milliseconds.
      int setInterval(Object handler, int timeout, Object... args)
      Schedules a timeout to run handler every timeout milliseconds.
      int setInterval(String code)
      Schedules a timeout to compile and run code every timeout milliseconds.
      int setInterval(String code, int timeout)
      Schedules a timeout to compile and run code every timeout milliseconds.
      int setTimeout(Object handler)
      Schedules a timeout to run handler after timeout milliseconds.
      int setTimeout(Object handler, int timeout, Object... args)
      Schedules a timeout to run handler after timeout milliseconds.
      int setTimeout(String code)
      Schedules a timeout to compile and run code after timeout milliseconds.
      int setTimeout(String code, int timeout)
      Schedules a timeout to compile and run code after timeout milliseconds.
    • Method Detail

      • setTimeout

        int setTimeout(Object handler,
                       int timeout,
                       Object... args)

        Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.

        Parameters:
        handler - The handler.
        timeout - The timeout.
        args - The arguments.
        Returns:
        The handle
      • setTimeout

        int setTimeout(Object handler)

        Schedules a timeout to run handler after timeout milliseconds. Any arguments are passed straight through to the handler.

        Parameters:
        handler - The handler.
        Returns:
        The handle
      • setTimeout

        int setTimeout(String code,
                       int timeout)

        Schedules a timeout to compile and run code after timeout milliseconds.

        Parameters:
        code - The js code.
        timeout - The timeout.
        Returns:
        The handle
      • setTimeout

        int setTimeout(String code)

        Schedules a timeout to compile and run code after timeout milliseconds.

        Parameters:
        code - The js code.
        Returns:
        The handle
      • clearTimeout

        @DOMNameAttribute(name="clearTimeout")
        void clearTimeout(int handle)

        Cancels the timeout set with setTimeout() identified by handle.

        Parameters:
        handle - The handle.
      • setInterval

        int setInterval(Object handler,
                        int timeout,
                        Object... args)

        Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.

        Parameters:
        handler - The handler.
        timeout - The timeout.
        args - The arguments.
        Returns:
        The handle
      • setInterval

        int setInterval(Object handler)

        Schedules a timeout to run handler every timeout milliseconds. Any arguments are passed straight through to the handler.

        Parameters:
        handler - The handler.
        Returns:
        The handle
      • setInterval

        int setInterval(String code,
                        int timeout)

        Schedules a timeout to compile and run code every timeout milliseconds.

        Parameters:
        code - The js code.
        timeout - The timeout.
        Returns:
        The handle
      • setInterval

        int setInterval(String code)

        Schedules a timeout to compile and run code every timeout milliseconds.

        Parameters:
        code - Thejs code.
        Returns:
        The handle
      • clearInterval

        @DOMNameAttribute(name="clearInterval")
        void clearInterval(int handle)

        Cancels the timeout set with setInterval() identified by handle

        Parameters:
        handle - The handle.