FXCanvas3DImage

com.interactivemesh.j3d.community.gui
Interface FXCanvas3DImageRepainter


public interface FXCanvas3DImageRepainter

The corresponding JavaFX SwingComponent class has to implement this interface to enable the FXCanvas3DImage object to initialize its repainting and to inform about its resizing. Both methods are called on the event-dispatching thread.

See Also:
FXCanvas3DImage

Method Summary
 void onFXCanvas3DImageResized()
          Called by the FXCanvas3DImage object when it was resized.
 void repaintFXCanvas3DImage()
          Called by the FXCanvas3DImage object from the postSwap-method to initialize its repainting.
 

Method Detail

repaintFXCanvas3DImage

void repaintFXCanvas3DImage()
Called by the FXCanvas3DImage 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.


onFXCanvas3DImageResized

void onFXCanvas3DImageResized()
Called by the FXCanvas3DImage object when it was resized.


FXCanvas3DImage