org.jmol.multitouch
public abstract class JmolMultiTouchClientAdapter extends Object implements JmolMultiTouchAdapter
Modifier and Type | Field and Description |
---|---|
protected JmolMultiTouchClient |
actionManager |
protected Component |
display |
protected boolean |
isServer |
protected Point3f |
ptTemp |
private static int |
screenHeight |
private static int |
screenWidth |
protected 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 Component display
protected boolean isServer
private static int screenWidth
private static int screenHeight
protected Point xyTemp
protected 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)