Class FXCanvasEx

All Implemented Interfaces:
Drawable

public class FXCanvasEx extends FXCanvas
A replacement of FXCanvas that fixes the following issues:
  • JDK-8088147 - [SWT] FXCanvas: implement custom cursors [workaround for JavaSE-1.8 only, as fixed by SWTCursors in JavaSE-1.9]
  • JDK-8161282 - FXCanvas does not forward horizontal mouse scroll events to the embedded scene. [workaround for JavaSE-1.8 only, as fixed by FXCanvas in JavaSE-1.9]
  • JDK-8143596 - FXCanvas does not forward touch gestures to embedded scene. [workaround for JavaSE-1.8 only, as fixed by FXCanvas in JavaSE-1.9]
  • JDK-8159227 - FXCanvas should properly forward consumption state of key events from SWT to embedded scene.
  • JDK-8161587 - FXCanvas does not consistently render the scene graph when long running event handlers are used.
  • JDK-8088862 - Provide possibility to traverse focus out of FX scene.