Class RichTextEditor.KeyPressedFunction

  • Enclosing class:
    RichTextEditor

    class RichTextEditor.KeyPressedFunction
    extends org.eclipse.swt.browser.BrowserFunction
    Callback function that is called via Javascript if a keydown event occurs in the editor part. Is registered for the Javascript function name keyPressed.
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyPressedFunction​(org.eclipse.swt.browser.Browser browser, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object function​(java.lang.Object[] arguments)  
      • Methods inherited from class org.eclipse.swt.browser.BrowserFunction

        dispose, getBrowser, getName, isDisposed
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • KeyPressedFunction

        public KeyPressedFunction​(org.eclipse.swt.browser.Browser browser,
                                  java.lang.String name)
    • Method Detail

      • function

        public java.lang.Object function​(java.lang.Object[] arguments)
        Overrides:
        function in class org.eclipse.swt.browser.BrowserFunction