public abstract class JmolMultiTouchClientAdapter extends java.lang.Object implements JmolMultiTouchAdapter
Modifier and Type | Field and Description |
---|---|
protected JmolMultiTouchClient |
actionManager |
protected java.awt.Component |
display |
protected boolean |
isServer |
protected javax.vecmath.Point3f |
ptTemp |
private static int |
screenHeight |
private static int |
screenWidth |
protected java.awt.Point |
xyTemp |
Constructor and Description |
---|
JmolMultiTouchClientAdapter() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dispose() |
protected void |
fixXY(float x,
float y,
boolean isAbsolute) |
boolean |
isServer() |
void |
mouseMoved(int x,
int y) |
boolean |
setMultiTouchClient(Viewer viewer,
JmolMultiTouchClient client,
boolean isSimulation) |
protected JmolMultiTouchClient actionManager
protected java.awt.Component display
protected boolean isServer
private static int screenWidth
private static int screenHeight
protected java.awt.Point xyTemp
protected javax.vecmath.Point3f ptTemp
public boolean isServer()
isServer
in interface JmolMultiTouchAdapter
public abstract void dispose()
dispose
in interface JmolMultiTouchAdapter
public boolean setMultiTouchClient(Viewer viewer, JmolMultiTouchClient client, boolean isSimulation)
setMultiTouchClient
in interface JmolMultiTouchAdapter
public void mouseMoved(int x, int y)
mouseMoved
in interface JmolMultiTouchAdapter
protected void fixXY(float x, float y, boolean isAbsolute)