FXCanvas3D

com.interactivemesh.j3d.community.gui
Interface FXCanvas3DRepainter


public interface FXCanvas3DRepainter

The corresponding JavaFX SwingComponent class has to implement this interface to enable the FXCanvas3D object to initialize its repainting.

See Also:
FXCanvas3D

Method Summary
 void repaintFXCanvas3D()
          Called by the FXCanvas3D object from the postSwap-method to initialize its repainting.
 

Method Detail

repaintFXCanvas3D

void repaintFXCanvas3D()
Called by the FXCanvas3D object from the postSwap-method to initialize its repainting.

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 firstly 'copyOffScreenBuffer()' while the Java 3D renderer thread is waiting and secondly 'repaint()' on the FXCanvas3D object.


FXCanvas3D