< prev index next >
modules/javafx.graphics/src/main/java/com/sun/javafx/embed/EmbeddedStageInterface.java
Print this page
rev 10046 : 8166242: Removal of com.sun.javafx.embed.AbstractEvents
Reviewed-by: azvegint
@@ -23,10 +23,12 @@
* questions.
*/
package com.sun.javafx.embed;
+import com.sun.javafx.tk.FocusCause;
+
/**
* An interface for embedded FX stage peer. It is used by HostInterface
* object to send various notifications to the stage, for example,
* when the size of embedding container is changed.
*
@@ -43,11 +45,11 @@
/*
* A notification about the embedding container received or lost
* input focus because of various reasons, for example, it was
* traversed forward in the focus chain in embedding app.
*/
- public void setFocused(boolean focused, int focusCause);
+ public void setFocused(boolean focused, FocusCause focusCause);
/*
* FOCUS_UNGRAB notification.
*/
public void focusUngrab();
< prev index next >