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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
actionManager
protected JmolMultiTouchClient actionManager
display
protected java.awt.Component display
isServer
protected boolean isServer
screenWidth
private static int screenWidth
screenHeight
private static int screenHeight
xyTemp
protected java.awt.Point xyTemp
ptTemp
protected javax.vecmath.Point3f ptTemp
JmolMultiTouchClientAdapter
public JmolMultiTouchClientAdapter()
isServer
public boolean isServer()
- Specified by:
isServer
in interface JmolMultiTouchAdapter
dispose
public abstract void dispose()
- Specified by:
dispose
in interface JmolMultiTouchAdapter
setMultiTouchClient
public boolean setMultiTouchClient(Viewer viewer,
JmolMultiTouchClient client,
boolean isSimulation)
- Specified by:
setMultiTouchClient
in interface JmolMultiTouchAdapter
mouseMoved
public void mouseMoved(int x,
int y)
- Specified by:
mouseMoved
in interface JmolMultiTouchAdapter
fixXY
protected void fixXY(float x,
float y,
boolean isAbsolute)