org.jmol.api
Interface JmolAppletInterface
public
interface
JmolAppletInterface
This is the API of methods that are available to JavaScript
via LiveConnect to the Jmol applet.
DONT FORGET TO ADD THESE FUNCTIONS TO src/JmolApplet.java !!!
Method Summary |
Object | getProperty(String infoType) |
Object | getProperty(String infoType, String paramInfo) |
String | getPropertyAsJSON(String infoType) |
String | getPropertyAsJSON(String infoType, String paramInfo) |
String | getPropertyAsString(String infoType) |
String | getPropertyAsString(String infoType, String paramInfo) |
void | loadDOMNode(JSObject DOMNode) |
void | loadInline(String strModel) |
void | loadInline(String[] strModels) |
void | loadInline(String strModel, String script) |
void | loadInline(String[] strModels, String script) |
void | loadInlineArray(String[] strModels, String script, boolean isAppend) |
void | loadInlineString(String strModel, String script, boolean isAppend) |
void | loadNodeId(String nodeId) |
void | script(String script) |
String | scriptCheck(String script) |
String | scriptNoWait(String script) |
String | scriptWait(String script) |
String | scriptWait(String script, String statusParams) |
void | syncScript(String script) |
public Object getProperty(String infoType)
public Object getProperty(String infoType, String paramInfo)
public String getPropertyAsJSON(String infoType)
public String getPropertyAsJSON(String infoType, String paramInfo)
public String getPropertyAsString(String infoType)
public String getPropertyAsString(String infoType, String paramInfo)
public void loadDOMNode(JSObject DOMNode)
public void loadInline(String strModel)
Deprecated:
Parameters: strModel
public void loadInline(String[] strModels)
Deprecated:
Parameters: strModels
public void loadInline(String strModel, String script)
Deprecated:
Parameters: strModel script
public void loadInline(String[] strModels, String script)
Deprecated:
Parameters: strModels script
public void loadInlineArray(String[] strModels, String script, boolean isAppend)
public void loadInlineString(String strModel, String script, boolean isAppend)
public void loadNodeId(String nodeId)
public void script(String script)
public String scriptCheck(String script)
public String scriptNoWait(String script)
public String scriptWait(String script)
public String scriptWait(String script, String statusParams)
public void syncScript(String script)