moved Nils Newt bridge with bridge classes

This commit is contained in:
Martin Pernollet 2013-03-29 17:17:18 +01:00
parent b9fb585885
commit 4cfe72803b
4 changed files with 10 additions and 7 deletions

View File

@ -6,6 +6,9 @@ import javax.media.opengl.GL;
import javax.media.opengl.GL2;
import javax.media.opengl.GLAnimatorControl;
import javax.media.opengl.GLCapabilitiesImmutable;
import org.jzy3d.bridge.newt.controllers.keyboard.AwtToNewtKeyListener;
import org.jzy3d.bridge.newt.controllers.mouse.AwtToNewtMouseListener;
import org.jzy3d.chart.factories.IChartComponentFactory;
import org.jzy3d.plot3d.rendering.scene.Scene;
import org.jzy3d.plot3d.rendering.view.Renderer3d;
@ -18,8 +21,6 @@ import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
import java.awt.event.MouseWheelListener;
import javax.media.opengl.GLDrawable;
import org.jzy3d.chart.controllers.bridge.keyboard.AwtToNewtKeyListener;
import org.jzy3d.chart.controllers.bridge.mouse.AwtToNewtMouseListener;
/** Experimental Newt canvas.
*/
public class CanvasNewt extends Panel implements IScreenCanvas {

View File

@ -1,4 +1,4 @@
package org.jzy3d.chart.controllers.bridge;
package org.jzy3d.bridge.newt.controllers;
import com.jogamp.newt.event.KeyEvent;

View File

@ -1,8 +1,9 @@
package org.jzy3d.chart.controllers.bridge.keyboard;
package org.jzy3d.bridge.newt.controllers.keyboard;
import com.jogamp.newt.event.KeyEvent;
import java.awt.Component;
import org.jzy3d.chart.controllers.bridge.AwtToNewtUtilities;
import org.jzy3d.bridge.newt.controllers.AwtToNewtUtilities;
/**
*

View File

@ -1,9 +1,10 @@
package org.jzy3d.chart.controllers.bridge.mouse;
package org.jzy3d.bridge.newt.controllers.mouse;
import java.awt.Component;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;
import org.jzy3d.chart.controllers.bridge.AwtToNewtUtilities;
import org.jzy3d.bridge.newt.controllers.AwtToNewtUtilities;
/**
* Provides a bridge implementation to map AWT events to NEWT events for