Package org.jmol.multitouch
Class JmolMultiTouchClientAdapter
- java.lang.Object
-
- org.jmol.multitouch.JmolMultiTouchClientAdapter
-
- All Implemented Interfaces:
JmolMultiTouchAdapter
- Direct Known Subclasses:
JmolJniClientAdapter
,JmolSparshClientAdapter
public abstract class JmolMultiTouchClientAdapter extends java.lang.Object implements JmolMultiTouchAdapter
-
-
Field Summary
Fields Modifier and Type Field Description protected JmolMultiTouchClient
actionManager
protected boolean
isServer
protected javajs.util.P3
ptTemp
private int[]
screen
private Viewer
vwr
-
Constructor Summary
Constructors Constructor Description JmolMultiTouchClientAdapter()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
dispose()
protected void
fixXY(float x, float y, boolean isAbsolute)
boolean
isServer()
void
mouseMoved(int x, int y)
boolean
setMultiTouchClient(Viewer vwr, JmolMultiTouchClient client, boolean isSimulation)
-
-
-
Field Detail
-
actionManager
protected JmolMultiTouchClient actionManager
-
isServer
protected boolean isServer
-
vwr
private Viewer vwr
-
screen
private int[] screen
-
ptTemp
protected javajs.util.P3 ptTemp
-
-
Method Detail
-
isServer
public boolean isServer()
- Specified by:
isServer
in interfaceJmolMultiTouchAdapter
-
dispose
public abstract void dispose()
- Specified by:
dispose
in interfaceJmolMultiTouchAdapter
-
setMultiTouchClient
public boolean setMultiTouchClient(Viewer vwr, JmolMultiTouchClient client, boolean isSimulation)
- Specified by:
setMultiTouchClient
in interfaceJmolMultiTouchAdapter
-
mouseMoved
public void mouseMoved(int x, int y)
- Specified by:
mouseMoved
in interfaceJmolMultiTouchAdapter
-
fixXY
protected void fixXY(float x, float y, boolean isAbsolute)
-
-