FXCanvas3DMV

com.interactivemesh.j3d.community.gui
Interface FXCanvas3DMVRepainter


public interface FXCanvas3DMVRepainter

A JavaFX class has to implement this interface to enable a FXCanvas3DMVControl object to repaint its FXCanvas3DMV objects.

See Also:
FXCanvas3DMV, FXCanvas3DMVControl

Method Summary
 void repaintFXCanvas3DMV()
          Called by a FXCanvas3DMVControl object to repaint its FXCanvas3DMV objects.
 

Method Detail

repaintFXCanvas3DMV

void repaintFXCanvas3DMV()
Called by a FXCanvas3DMVControl object to repaint its FXCanvas3DMV objects.

The repaint request is handled by a FX.deferAction() - an equivalent to SwingUtilities.invokeLater() - and will be executed on the EDT. The assigned function calls 'copyBuffersAndRepaint()' on the FXCanvas3DMVControl object for image data copying while the Java 3D renderer thread is waiting and for repainting of each FXCanvas3DMV panel.


FXCanvas3DMV