changeset 1071:eeee1fb48d84

RT-20815: Text-like controls, ContextMenu] cm doesn't appear at text like controls
author snorthov
date Tue, 15 May 2012 17:02:41 -0400
parents 67b97eb893e2
children 5f70f96074ea
files javafx-ui-common/src/com/sun/javafx/embed/EmbeddedSceneInterface.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-common/src/com/sun/javafx/embed/EmbeddedSceneInterface.java	Tue May 15 13:02:28 2012 -0700
+++ b/javafx-ui-common/src/com/sun/javafx/embed/EmbeddedSceneInterface.java	Tue May 15 17:02:41 2012 -0400
@@ -60,7 +60,12 @@
      * A notification about key event received by host container.
      */
     public void keyEvent(int type, int key, char[] chars, int modifiers);
-
+    
+    /*
+     * A notification about menu event received by host container.
+     */
+    public void menuEvent(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger);
+    
     public boolean traverseOut(Direction dir);
     
     public void setDragStartListener(EmbeddedSceneDragStartListenerInterface l);