59 */
60 public boolean getPixels(IntBuffer dest, int width, int height);
61
62 /*
63 * A request to get the FX scene's pixel format.
64 */
65 public PixelFormat<?> getPixelFormat();
66
67 /*
68 * A notification about mouse event received by host container.
69 */
70 public void mouseEvent(int type, int button,
71 boolean primaryBtnDown, boolean middleBtnDown, boolean secondaryBtnDown,
72 int x, int y, int xAbs, int yAbs,
73 boolean shift, boolean ctrl, boolean alt, boolean meta,
74 boolean popupTrigger);
75 /*
76 * A notification about mouse wheel scroll events received by the host container;
77 */
78 public void scrollEvent(int type, double scrollX, double scrollY,
79 double x, double y, double screenX, double screenY,
80 boolean shift, boolean ctrl,
81 boolean alt, boolean meta);
82 /*
83 * A notification about key event received by host container.
84 */
85 public void keyEvent(int type, int key, char[] chars, int modifiers);
86
87 /*
88 * A notification about menu event received by host container.
89 */
90 public void menuEvent(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger);
91
92 public boolean traverseOut(Direction dir);
93
94 public void setDragStartListener(HostDragStartListener l);
95
96 public EmbeddedSceneDTInterface createDropTarget();
97
98 public void inputMethodEvent(EventType<InputMethodEvent> type,
99 ObservableList<InputMethodTextRun> composed, String committed,
100 int caretPosition);
101
102 public InputMethodRequests getInputMethodRequests();
103 }
|
59 */
60 public boolean getPixels(IntBuffer dest, int width, int height);
61
62 /*
63 * A request to get the FX scene's pixel format.
64 */
65 public PixelFormat<?> getPixelFormat();
66
67 /*
68 * A notification about mouse event received by host container.
69 */
70 public void mouseEvent(int type, int button,
71 boolean primaryBtnDown, boolean middleBtnDown, boolean secondaryBtnDown,
72 int x, int y, int xAbs, int yAbs,
73 boolean shift, boolean ctrl, boolean alt, boolean meta,
74 boolean popupTrigger);
75 /*
76 * A notification about mouse wheel scroll events received by the host container;
77 */
78 public void scrollEvent(int type, double scrollX, double scrollY,
79 double totalScrollX, double totalScrollY,
80 double xMultiplier, double yMultiplier,
81 double x, double y, double screenX, double screenY,
82 boolean shift, boolean ctrl,
83 boolean alt, boolean meta, boolean inertia);
84 /*
85 * A notification about key event received by host container.
86 */
87 public void keyEvent(int type, int key, char[] chars, int modifiers);
88
89 /*
90 * A notification about zoom events received by the host container.
91 */
92 public void zoomEvent(final int type, final double zoomFactor, final double totalZoomFactor,
93 final double x, final double y, final double screenX, final double screenY,
94 boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia);
95
96 /*
97 * A notification about rotate events received by the host container.
98 */
99 public void rotateEvent(final int type, final double angle, final double totalAngle,
100 final double x, final double y, final double screenX, final double screenY,
101 boolean shift, boolean ctrl, boolean alt, boolean meta, boolean inertia);
102
103 /*
104 * A notification about swipe events received by the host container.
105 */
106 public void swipeEvent(final int type, final double x, final double y, final double screenX, final double screenY,
107 boolean shift, boolean ctrl, boolean alt, boolean meta);
108
109 /*
110 * A notification about menu event received by host container.
111 */
112 public void menuEvent(int x, int y, int xAbs, int yAbs, boolean isKeyboardTrigger);
113
114 public boolean traverseOut(Direction dir);
115
116 public void setDragStartListener(HostDragStartListener l);
117
118 public EmbeddedSceneDTInterface createDropTarget();
119
120 public void inputMethodEvent(EventType<InputMethodEvent> type,
121 ObservableList<InputMethodTextRun> composed, String committed,
122 int caretPosition);
123
124 public InputMethodRequests getInputMethodRequests();
125 }
|