public class Jmol extends GenericApplet implements javajs.api.JSInterface
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
htParams |
appletObject, callbacks, codeBase, documentBase, doTranslate, fullName, gRight, haveDocumentAccess, haveNotifiedError, htmlName, htRegistry, isJNLP, isJS, isSigned, isStereoSlave, language, mayScript, statusForm, statusText, statusTextarea, viewer, vwrOptions
Constructor and Description |
---|
Jmol(java.util.Map<java.lang.String,java.lang.Object> vwrOptions)
cannot ignore super because it involves preparing fields
|
Modifier and Type | Method and Description |
---|---|
int |
cacheFileByName(java.lang.String fileName,
boolean isAdd) |
void |
cachePut(java.lang.String key,
java.lang.Object data) |
protected java.lang.String |
doEval(java.lang.String strEval) |
protected float[][] |
doFunctionXY(java.lang.String functionName,
int nX,
int nY) |
protected float[][][] |
doFunctionXYZ(java.lang.String functionName,
int nX,
int nY,
int nZ) |
protected java.lang.String |
doSendCallback(java.lang.String callback,
java.lang.Object[] data,
java.lang.String strInfo) |
protected void |
doSendJsTextareaStatus(java.lang.String message) |
protected void |
doSendJsTextStatus(java.lang.String message) |
protected void |
doShowDocument(java.net.URL url) |
protected void |
doShowStatus(java.lang.String message) |
java.lang.String |
getFullName() |
java.lang.Object |
getGLmolView() |
protected java.lang.String |
getJmolParameter(java.lang.String paramName) |
protected void |
initOptions() |
java.lang.String |
openFile(java.lang.String fileName) |
void |
openFileAsyncSpecial(java.lang.String fileName,
int flags) |
boolean |
processMouseEvent(int id,
int x,
int y,
int modifiers,
long time) |
void |
processTwoPointGesture(float[][][] touches) |
void |
setDisplay(java.lang.Object canvas) |
void |
setScreenDimension(int width,
int height) |
boolean |
setStatusDragDropped(int mode,
int x,
int y,
java.lang.String fileName) |
java.lang.Object |
setStereoGraphics(boolean isStereo) |
void |
startHoverWatcher(boolean enable) |
void |
update() |
createImage, destroy, eval, functionXY, functionXYZ, getAppletInfo, getBooleanValue, getJSpecViewProperty, getModelIndexFromId, getProperty, getProperty, getPropertyAsJSON, getPropertyAsJSON, getPropertyAsString, getPropertyAsString, getRegistryInfo, getValue, handleEvent, init, loadDOMNode, loadInline, loadInline, loadInline, loadInline, loadInlineArray, loadInlineString, notifyCallback, notifyEnabled, output, register, resizeInnerPanel, script, scriptCheck, scriptNoWait, scriptWait, scriptWait, scriptWaitOutput, setCallbackFunction, showUrl, syncScript
public Jmol(java.util.Map<java.lang.String,java.lang.Object> vwrOptions)
vwrOptions
- public java.lang.Object setStereoGraphics(boolean isStereo)
setStereoGraphics
in interface JmolAppletInterface
protected void initOptions()
initOptions
in class GenericApplet
protected java.lang.String getJmolParameter(java.lang.String paramName)
getJmolParameter
in class GenericApplet
protected void doSendJsTextStatus(java.lang.String message)
doSendJsTextStatus
in class GenericApplet
protected void doSendJsTextareaStatus(java.lang.String message)
doSendJsTextareaStatus
in class GenericApplet
protected float[][] doFunctionXY(java.lang.String functionName, int nX, int nY)
doFunctionXY
in class GenericApplet
protected float[][][] doFunctionXYZ(java.lang.String functionName, int nX, int nY, int nZ)
doFunctionXYZ
in class GenericApplet
protected void doShowDocument(java.net.URL url)
doShowDocument
in class GenericApplet
protected java.lang.String doSendCallback(java.lang.String callback, java.lang.Object[] data, java.lang.String strInfo)
doSendCallback
in class GenericApplet
protected java.lang.String doEval(java.lang.String strEval)
doEval
in class GenericApplet
protected void doShowStatus(java.lang.String message)
doShowStatus
in class GenericApplet
public int cacheFileByName(java.lang.String fileName, boolean isAdd)
cacheFileByName
in interface javajs.api.JSInterface
public void cachePut(java.lang.String key, java.lang.Object data)
cachePut
in interface javajs.api.JSInterface
public java.lang.Object getGLmolView()
getGLmolView
in interface javajs.api.JSInterface
public java.lang.String getFullName()
getFullName
in interface javajs.api.JSInterface
public boolean processMouseEvent(int id, int x, int y, int modifiers, long time)
processMouseEvent
in interface javajs.api.JSInterface
public void setDisplay(java.lang.Object canvas)
setDisplay
in interface javajs.api.JSInterface
public boolean setStatusDragDropped(int mode, int x, int y, java.lang.String fileName)
setStatusDragDropped
in interface javajs.api.JSInterface
public void startHoverWatcher(boolean enable)
startHoverWatcher
in interface javajs.api.JSInterface
public void update()
update
in interface javajs.api.JSInterface
public java.lang.String openFile(java.lang.String fileName)
openFile
in interface javajs.api.JSInterface
public void openFileAsyncSpecial(java.lang.String fileName, int flags)
openFileAsyncSpecial
in interface javajs.api.JSInterface
public void processTwoPointGesture(float[][][] touches)
processTwoPointGesture
in interface javajs.api.JSInterface
public void setScreenDimension(int width, int height)
setScreenDimension
in interface javajs.api.JSInterface