org.jmol.api
Interface JmolAppletInterface

All Known Subinterfaces:
WrappedApplet
All Known Implementing Classes:
Jmol

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)
           
 String loadDOMNode(netscape.javascript.JSObject DOMNode)
           
 String loadInline(String strModel)
          Deprecated.  
 String loadInline(String[] strModels)
          Deprecated.  
 String loadInline(String[] strModels, String script)
          Deprecated.  
 String loadInline(String strModel, String script)
          Deprecated.  
 String loadInlineArray(String[] strModels, String script, boolean isAppend)
           
 String loadInlineString(String strModel, String script, boolean isAppend)
           
 String 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)
           
 String scriptWaitOutput(String script)
           
 Graphics setStereoGraphics(boolean isStereo)
           
 void syncScript(String script)
           
 

Method Detail

setStereoGraphics

Graphics setStereoGraphics(boolean isStereo)

getPropertyAsString

String getPropertyAsString(String infoType)

getPropertyAsString

String getPropertyAsString(String infoType,
                           String paramInfo)

getPropertyAsJSON

String getPropertyAsJSON(String infoType)

getPropertyAsJSON

String getPropertyAsJSON(String infoType,
                         String paramInfo)

getProperty

Object getProperty(String infoType)

getProperty

Object getProperty(String infoType,
                   String paramInfo)

loadInlineString

String loadInlineString(String strModel,
                        String script,
                        boolean isAppend)

loadInlineArray

String loadInlineArray(String[] strModels,
                       String script,
                       boolean isAppend)

loadNodeId

String loadNodeId(String nodeId)

loadDOMNode

String loadDOMNode(netscape.javascript.JSObject DOMNode)

script

void script(String script)

scriptNoWait

String scriptNoWait(String script)

scriptCheck

String scriptCheck(String script)

scriptWait

String scriptWait(String script)

scriptWait

String scriptWait(String script,
                  String statusParams)

scriptWaitOutput

String scriptWaitOutput(String script)

syncScript

void syncScript(String script)

loadInline

String loadInline(String strModel)
Deprecated. 

Parameters:
strModel -
Returns:
error or null

loadInline

String loadInline(String[] strModels)
Deprecated. 

Parameters:
strModels -
Returns:
error or null

loadInline

String loadInline(String strModel,
                  String script)
Deprecated. 

Parameters:
strModel -
script -
Returns:
error or null

loadInline

String loadInline(String[] strModels,
                  String script)
Deprecated. 

Parameters:
strModels -
script -
Returns:
error or null