org.jmol.api
Class JmolViewer

java.lang.Object
  extended by org.jmol.api.JmolSimpleViewer
      extended by org.jmol.api.JmolViewer
Direct Known Subclasses:
Viewer

public abstract class JmolViewer
extends JmolSimpleViewer

This is the high-level API for the JmolViewer for simple access.

We will implement a low-level API at some point


Field Summary
 String menuStructure
           
 
Constructor Summary
JmolViewer()
           
 
Method Summary
abstract  void addSelectionListener(JmolSelectionListener listener)
           
static JmolViewer allocateViewer(Component awtComponent, JmolAdapter jmolAdapter)
          OK, but safer to assign htmlName, URL bases, comandOptions, and statusListener now.
static JmolViewer allocateViewer(Component awtComponent, JmolAdapter jmolAdapter, String htmlName, URL documentBase, URL codeBase, String commandOptions, JmolStatusListener statusListener)
          This is the main access point for creating an application or applet viewer.
abstract  boolean checkHalt(String strCommand, boolean isInterrupt)
           
static boolean checkOption(JmolViewer viewer, String option)
           
abstract  boolean checkPrivateKey(double privateKey)
           
abstract  void clearMeasurements()
           
abstract  void clearSelection()
           
abstract  String clipImage(String text)
           
abstract  Object createImage(String fileName, String type, Object text_or_bytes, int quality, int width, int height)
           
abstract  void deleteMeasurement(int i)
           
abstract  String evalStringQuiet(String script)
           
abstract  int findNearestAtomIndex(int x, int y)
           
abstract  String generateOutput(String type, String[] fileName, int width, int height)
           
abstract  String getAltLocListInModel(int modelIndex)
           
abstract  int getAnimationFps()
           
abstract  int getAtomArgb(int atomIndex)
           
abstract  int getAtomCount()
           
abstract  int getAtomCountInModel(int modelIndex)
           
abstract  String getAtomInfo(int atomIndex)
           
abstract  int getAtomModelIndex(int atomIndex)
           
abstract  String getAtomName(int atomIndex)
           
abstract  int getAtomNumber(int atomIndex)
           
abstract  Point3f getAtomPoint3f(int atomIndex)
           
abstract  float getAtomRadius(int atomIndex)
           
abstract  boolean getAutoBond()
           
abstract  boolean getAxesOrientationRasmol()
           
abstract  int getBackgroundArgb()
           
abstract  int getBondArgb1(int bondIndex)
           
abstract  int getBondArgb2(int bondIndex)
           
abstract  int getBondCount()
           
abstract  int getBondCountInModel(int modelIndex)
           
abstract  int getBondModelIndex(int bondIndex)
           
abstract  int getBondOrder(int bondIndex)
           
abstract  Point3f getBondPoint3f1(int bondIndex)
           
abstract  Point3f getBondPoint3f2(int bondIndex)
           
abstract  float getBondRadius(int bondIndex)
           
abstract  float getBondTolerance()
           
abstract  boolean getBooleanProperty(String propertyName)
           
 boolean getBooleanProperty(String key, boolean doICare)
           
abstract  int getChainCount()
           
abstract  int getChainCountInModel(int modelIindex)
           
abstract  String getData(String atomExpression, String type)
           
abstract  Component getDisplay()
           
abstract  int getDisplayModelIndex()
           
abstract  BitSet getElementsPresentBitSet(int modelIndex)
           
abstract  String getErrorMessage()
           
abstract  String getErrorMessageUntranslated()
           
abstract  Object getFileAsBytes(String fullPathName, OutputStream os)
           
abstract  String getFileAsString(String filename)
           
abstract  boolean getFileAsString(String[] data, int nBytesMax, boolean doSpecialLoad)
           
abstract  int getGroupCount()
           
abstract  int getGroupCountInModel(int modelIndex)
           
abstract  Hashtable getHeteroList(int modelIndex)
           
abstract  Object getImageAs(String type, int quality, int width, int height, String fileName, OutputStream os)
           
abstract  String getJavaVendor()
           
abstract  String getJavaVersion()
           
static String getJmolVersion()
           
abstract  short getMadBond()
           
abstract  int getMeasurementCount()
           
abstract  int[] getMeasurementCountPlusIndices(int i)
           
abstract  String getMeasurementStringValue(int i)
           
abstract  float getMinBondDistance()
           
abstract  JmolAdapter getModelAdapter()
           
abstract  Hashtable getModelAuxiliaryInfo(int modelIndex)
           
abstract  Object getModelAuxiliaryInfo(int modelIndex, String keyName)
           
abstract  int getModelCount()
           
abstract  String getModelFileName(int modelIndex)
           
abstract  String getModelName(int modelIndex)
           
abstract  int getModelNumber(int modelIndex)
           
abstract  String getModelNumberDotted(int modelIndex)
           
abstract  Properties getModelProperties(int modelIndex)
           
abstract  String getModelProperty(int modelIndex, String propertyName)
           
abstract  Hashtable getModelSetAuxiliaryInfo()
           
abstract  String getModelSetFileName()
           
abstract  String getModelSetName()
           
abstract  String getModelSetPathName()
           
abstract  Properties getModelSetProperties()
           
abstract  int getMotionEventNumber()
           
abstract  String getOperatingSystemName()
           
abstract  Object getParameter(String name)
           
abstract  int getPercentVdwAtom()
           
abstract  boolean getPerspectiveDepth()
           
abstract  int getPolymerCount()
           
abstract  int getPolymerCountInModel(int modelIndex)
           
abstract  Point3f[] getPolymerLeadMidPoints(int modelIndex, int polymerIndex)
           
abstract  float getRotationRadius()
           
abstract  int getScreenHeight()
           
 Image getScreenImage()
           
abstract  Image getScreenImage(Graphics g)
           
abstract  int getScreenWidth()
           
abstract  int getSelectionCount()
           
abstract  String getSetHistory(int howFarBack)
           
abstract  boolean getShowAxes()
           
abstract  boolean getShowBbcage()
           
abstract  boolean getShowHydrogens()
           
abstract  boolean getShowMeasurements()
           
abstract  BitSet getSmartsMatch(String smarts, BitSet bsSelected)
           
abstract  String getStateInfo()
           
abstract  Matrix4f getUnscaledTransformMatrix()
           
abstract  BitSet getVisibleFramesBitSet()
           
abstract  int getZoomPercent()
           
abstract  float getZoomPercentFloat()
           
abstract  void haltScriptExecution()
           
abstract  boolean handleOldJvm10Event(Event e)
           
abstract  boolean haveFrame()
           
abstract  boolean havePartialCharges()
           
abstract  void homePosition()
           
abstract  boolean isApplet()
           
abstract  boolean isScriptExecuting()
           
abstract  String loadInline(List arrayData, boolean isAppend)
          NOTE: THIS METHOD DOES NOT PRESERVE THE STATE
abstract  String loadInline(String strModel)
           
abstract  String loadInline(String[] arrayModels)
           
abstract  String loadInline(String[] arrayModels, boolean isAppend)
           
abstract  String loadInline(String strModel, boolean isAppend)
           
abstract  String loadInline(String strModel, char newLine)
           
abstract  boolean modelHasVibrationVectors(int modelIndex)
           
abstract  void notifyViewerRepaintDone()
           
abstract  void openFileAsynchronously(String fileName)
           
abstract  String openReader(String fullPathName, String fileName, Reader reader)
          Opens the file and creates the model set, given the reader.
abstract  void popHoldRepaint()
           
abstract  void pushHoldRepaint()
           
abstract  void rebond()
           
abstract  void refresh(int isOrientationChange, String strWhy)
           
abstract  void releaseScreenImage()
           
abstract  void removeSelectionListener(JmolSelectionListener listener)
           
abstract  void renderScreenImage(Graphics gLeft, Graphics gRight, Dimension size, Rectangle clip)
          an added class for rendering stereo in two independent applets
abstract  void rotateFront()
           
abstract  void rotateX(float radians)
           
abstract  void rotateX(int degrees)
           
abstract  void rotateY(float radians)
           
abstract  void rotateY(int degrees)
           
abstract  void rotateZ(float radians)
           
abstract  String script(String script)
           
abstract  Object scriptCheck(String script)
           
abstract  String scriptWait(String script)
           
abstract  Object scriptWaitStatus(String script, String statusList)
           
abstract  void selectAll()
           
abstract  void setAnimationFps(int framesPerSecond)
           
abstract  void setAppletContext(String htmlName, URL documentBase, URL codeBase, String commandOptions)
           
abstract  void setAutoBond(boolean autoBond)
           
abstract  void setAxesOrientationRasmol(boolean axesMessedUp)
           
abstract  void setBondTolerance(float bondTolerance)
           
abstract  void setBooleanProperty(String propertyName, boolean value)
           
abstract  void setCenterSelected()
           
abstract  void setColorBackground(String colorName)
           
abstract  void setDebugScript(boolean debugScript)
           
abstract  void setFloatProperty(String propertyName, float value)
           
abstract  void setFrankOn(boolean frankOn)
           
abstract  void setIntProperty(String propertyName, int value)
           
abstract  void setJmolCallbackListener(JmolCallbackListener jmolCallbackListener)
           
abstract  void setJmolDefaults()
           
abstract  void setJmolStatusListener(JmolStatusListener jmolStatusListener)
           
abstract  void setMarBond(short marBond)
           
abstract  void setMinBondDistance(float minBondDistance)
           
abstract  void setModeMouse(int modeMouse)
           
abstract  void setPercentVdwAtom(int percentVdwAtom)
           
abstract  void setPerspectiveDepth(boolean perspectiveDepth)
           
abstract  void setRasmolDefaults()
           
abstract  void setScreenDimension(Dimension dim)
           
abstract  void setSelectionHalos(boolean haloEnabled)
           
abstract  void setSelectionSet(BitSet newSelection)
           
abstract  void setShowAxes(boolean showAxes)
           
abstract  void setShowBbcage(boolean showBbcage)
           
abstract  void setShowHydrogens(boolean showHydrogens)
           
abstract  void setShowMeasurements(boolean showMeasurements)
           
abstract  void setStringProperty(String propertyName, String value)
           
abstract  void setVectorScale(float vectorScaleValue)
           
abstract  void setVibrationPeriod(float vibrationPeriod)
           
abstract  void setVibrationScale(float vibrationScaleValue)
           
abstract  boolean showModelSetDownload()
           
abstract  void showUrl(String urlString)
           
abstract  void syncScript(String script, String applet)
           
abstract  void writeTextFile(String string, String data)
           
 
Methods inherited from class org.jmol.api.JmolSimpleViewer
allocateSimpleViewer, evalFile, evalString, getProperty, openDOM, openFile, openFiles, openStringInline, renderScreenImage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

menuStructure

public String menuStructure
Constructor Detail

JmolViewer

public JmolViewer()
Method Detail

allocateViewer

public static JmolViewer allocateViewer(Component awtComponent,
                                        JmolAdapter jmolAdapter,
                                        String htmlName,
                                        URL documentBase,
                                        URL codeBase,
                                        String commandOptions,
                                        JmolStatusListener statusListener)
This is the main access point for creating an application or applet viewer. In Jmol 11.6 it was manditory that one of the next commands is either viewer.evalString("ZAP"); or at least: viewer.setAppletContext("",null,null,"") One or the other of these was necessary to establish the first modelset, which might be required by one or more later evaluated commands or file loadings. Starting with Jmol 11.7, setAppletContext is rolled into allocateViewer so that the full initialization is done all at once.

Parameters:
awtComponent -
jmolAdapter -
htmlName -
documentBase -
codeBase -
commandOptions -
statusListener -
Returns:
a JmolViewer object

getSmartsMatch

public abstract BitSet getSmartsMatch(String smarts,
                                      BitSet bsSelected)

renderScreenImage

public abstract void renderScreenImage(Graphics gLeft,
                                       Graphics gRight,
                                       Dimension size,
                                       Rectangle clip)
an added class for rendering stereo in two independent applets

Parameters:
gLeft -
gRight -
size -
clip -

allocateViewer

public static JmolViewer allocateViewer(Component awtComponent,
                                        JmolAdapter jmolAdapter)
OK, but safer to assign htmlName, URL bases, comandOptions, and statusListener now.

Parameters:
awtComponent -
jmolAdapter -
Returns:
a viewer

getJmolVersion

public static String getJmolVersion()

checkOption

public static boolean checkOption(JmolViewer viewer,
                                  String option)

generateOutput

public abstract String generateOutput(String type,
                                      String[] fileName,
                                      int width,
                                      int height)

setJmolCallbackListener

public abstract void setJmolCallbackListener(JmolCallbackListener jmolCallbackListener)

setJmolStatusListener

public abstract void setJmolStatusListener(JmolStatusListener jmolStatusListener)

setAppletContext

public abstract void setAppletContext(String htmlName,
                                      URL documentBase,
                                      URL codeBase,
                                      String commandOptions)

checkHalt

public abstract boolean checkHalt(String strCommand,
                                  boolean isInterrupt)

haltScriptExecution

public abstract void haltScriptExecution()

getOperatingSystemName

public abstract String getOperatingSystemName()

getJavaVersion

public abstract String getJavaVersion()

getJavaVendor

public abstract String getJavaVendor()

haveFrame

public abstract boolean haveFrame()

pushHoldRepaint

public abstract void pushHoldRepaint()

popHoldRepaint

public abstract void popHoldRepaint()

getData

public abstract String getData(String atomExpression,
                               String type)

setScreenDimension

public abstract void setScreenDimension(Dimension dim)

getScreenWidth

public abstract int getScreenWidth()

getScreenHeight

public abstract int getScreenHeight()

getScreenImage

public Image getScreenImage()

getScreenImage

public abstract Image getScreenImage(Graphics g)

releaseScreenImage

public abstract void releaseScreenImage()

writeTextFile

public abstract void writeTextFile(String string,
                                   String data)

clipImage

public abstract String clipImage(String text)
Parameters:
text - null here clips image; String clips text
Returns:
"OK" for image or "OK [number of bytes]"

createImage

public abstract Object createImage(String fileName,
                                   String type,
                                   Object text_or_bytes,
                                   int quality,
                                   int width,
                                   int height)
Parameters:
fileName -
type -
text_or_bytes -
quality -
width -
height -
Returns:
null (canceled) or a message starting with OK or an error message

getImageAs

public abstract Object getImageAs(String type,
                                  int quality,
                                  int width,
                                  int height,
                                  String fileName,
                                  OutputStream os)
Parameters:
type - "PNG", "JPG", "JPEG", "JPG64", "PPM", "GIF"
quality -
width -
height -
fileName -
os -
Returns:
base64-encoded or binary version of the image

handleOldJvm10Event

public abstract boolean handleOldJvm10Event(Event e)

getMotionEventNumber

public abstract int getMotionEventNumber()

openReader

public abstract String openReader(String fullPathName,
                                  String fileName,
                                  Reader reader)
Opens the file and creates the model set, given the reader. name is a text name of the file ... to be displayed in the window no need to pass a BufferedReader ... ... the FileManager will wrap a buffer around it DO NOT USE IN JMOL -- THIS METHOD IS ONLY HERE BECAUSE IT IS PART OF THE LEGACY INTERFACE IF USED BY ANOTHER APPLICATION, YOU ARE RESPONSIBLE FOR CLOSING THE READER

Parameters:
fullPathName -
fileName -
reader -
Returns:
null or error message

showUrl

public abstract void showUrl(String urlString)

getMeasurementCount

public abstract int getMeasurementCount()

getMeasurementStringValue

public abstract String getMeasurementStringValue(int i)

getMeasurementCountPlusIndices

public abstract int[] getMeasurementCountPlusIndices(int i)

getDisplay

public abstract Component getDisplay()

getElementsPresentBitSet

public abstract BitSet getElementsPresentBitSet(int modelIndex)

getAnimationFps

public abstract int getAnimationFps()

findNearestAtomIndex

public abstract int findNearestAtomIndex(int x,
                                         int y)

script

public abstract String script(String script)

scriptCheck

public abstract Object scriptCheck(String script)

scriptWait

public abstract String scriptWait(String script)

scriptWaitStatus

public abstract Object scriptWaitStatus(String script,
                                        String statusList)

loadInline

public abstract String loadInline(String strModel)

loadInline

public abstract String loadInline(String strModel,
                                  boolean isAppend)

loadInline

public abstract String loadInline(String strModel,
                                  char newLine)

loadInline

public abstract String loadInline(String[] arrayModels)

loadInline

public abstract String loadInline(String[] arrayModels,
                                  boolean isAppend)
Parameters:
arrayModels - and array of models, each of which is a String
isAppend -
Returns:
null or error message

loadInline

public abstract String loadInline(List arrayData,
                                  boolean isAppend)
NOTE: THIS METHOD DOES NOT PRESERVE THE STATE

Parameters:
arrayData - a List of models, where each model is either a String or a String[] or a Vector
isAppend - TRUE to append models (no ZAP)
Returns:
null or error message

evalStringQuiet

public abstract String evalStringQuiet(String script)

isScriptExecuting

public abstract boolean isScriptExecuting()

getModelSetName

public abstract String getModelSetName()

getModelSetFileName

public abstract String getModelSetFileName()

getModelSetPathName

public abstract String getModelSetPathName()

getFileAsString

public abstract String getFileAsString(String filename)

getFileAsString

public abstract boolean getFileAsString(String[] data,
                                        int nBytesMax,
                                        boolean doSpecialLoad)

getModelSetProperties

public abstract Properties getModelSetProperties()

getModelSetAuxiliaryInfo

public abstract Hashtable getModelSetAuxiliaryInfo()

getModelNumber

public abstract int getModelNumber(int modelIndex)

getModelName

public abstract String getModelName(int modelIndex)

getModelNumberDotted

public abstract String getModelNumberDotted(int modelIndex)

getModelProperties

public abstract Properties getModelProperties(int modelIndex)

getModelProperty

public abstract String getModelProperty(int modelIndex,
                                        String propertyName)

getModelAuxiliaryInfo

public abstract Hashtable getModelAuxiliaryInfo(int modelIndex)

getModelAuxiliaryInfo

public abstract Object getModelAuxiliaryInfo(int modelIndex,
                                             String keyName)

modelHasVibrationVectors

public abstract boolean modelHasVibrationVectors(int modelIndex)

getModelCount

public abstract int getModelCount()

getDisplayModelIndex

public abstract int getDisplayModelIndex()

getVisibleFramesBitSet

public abstract BitSet getVisibleFramesBitSet()

getAtomCount

public abstract int getAtomCount()

getBondCount

public abstract int getBondCount()

getGroupCount

public abstract int getGroupCount()

getChainCount

public abstract int getChainCount()

getPolymerCount

public abstract int getPolymerCount()

getAtomCountInModel

public abstract int getAtomCountInModel(int modelIndex)

getBondCountInModel

public abstract int getBondCountInModel(int modelIndex)

getGroupCountInModel

public abstract int getGroupCountInModel(int modelIndex)

getChainCountInModel

public abstract int getChainCountInModel(int modelIindex)

getPolymerCountInModel

public abstract int getPolymerCountInModel(int modelIndex)

getSelectionCount

public abstract int getSelectionCount()

addSelectionListener

public abstract void addSelectionListener(JmolSelectionListener listener)

removeSelectionListener

public abstract void removeSelectionListener(JmolSelectionListener listener)

homePosition

public abstract void homePosition()

getHeteroList

public abstract Hashtable getHeteroList(int modelIndex)

getPerspectiveDepth

public abstract boolean getPerspectiveDepth()

getShowHydrogens

public abstract boolean getShowHydrogens()

getShowMeasurements

public abstract boolean getShowMeasurements()

getShowAxes

public abstract boolean getShowAxes()

getShowBbcage

public abstract boolean getShowBbcage()

getAtomNumber

public abstract int getAtomNumber(int atomIndex)

getAtomName

public abstract String getAtomName(int atomIndex)

getAtomInfo

public abstract String getAtomInfo(int atomIndex)

getRotationRadius

public abstract float getRotationRadius()

getZoomPercent

public abstract int getZoomPercent()

getZoomPercentFloat

public abstract float getZoomPercentFloat()

getUnscaledTransformMatrix

public abstract Matrix4f getUnscaledTransformMatrix()

getBackgroundArgb

public abstract int getBackgroundArgb()

getAtomRadius

public abstract float getAtomRadius(int atomIndex)

getAtomPoint3f

public abstract Point3f getAtomPoint3f(int atomIndex)

getAtomArgb

public abstract int getAtomArgb(int atomIndex)

getAtomModelIndex

public abstract int getAtomModelIndex(int atomIndex)

getBondRadius

public abstract float getBondRadius(int bondIndex)

getBondPoint3f1

public abstract Point3f getBondPoint3f1(int bondIndex)

getBondPoint3f2

public abstract Point3f getBondPoint3f2(int bondIndex)

getBondArgb1

public abstract int getBondArgb1(int bondIndex)

getBondArgb2

public abstract int getBondArgb2(int bondIndex)

getBondOrder

public abstract int getBondOrder(int bondIndex)

getBondModelIndex

public abstract int getBondModelIndex(int bondIndex)

getPolymerLeadMidPoints

public abstract Point3f[] getPolymerLeadMidPoints(int modelIndex,
                                                  int polymerIndex)

getAxesOrientationRasmol

public abstract boolean getAxesOrientationRasmol()

getPercentVdwAtom

public abstract int getPercentVdwAtom()

getAutoBond

public abstract boolean getAutoBond()

getMadBond

public abstract short getMadBond()

getBondTolerance

public abstract float getBondTolerance()

rebond

public abstract void rebond()

getMinBondDistance

public abstract float getMinBondDistance()

refresh

public abstract void refresh(int isOrientationChange,
                             String strWhy)

showModelSetDownload

public abstract boolean showModelSetDownload()

notifyViewerRepaintDone

public abstract void notifyViewerRepaintDone()

getBooleanProperty

public abstract boolean getBooleanProperty(String propertyName)

getBooleanProperty

public boolean getBooleanProperty(String key,
                                  boolean doICare)

getParameter

public abstract Object getParameter(String name)

getSetHistory

public abstract String getSetHistory(int howFarBack)

havePartialCharges

public abstract boolean havePartialCharges()

isApplet

public abstract boolean isApplet()

getAltLocListInModel

public abstract String getAltLocListInModel(int modelIndex)

getStateInfo

public abstract String getStateInfo()

syncScript

public abstract void syncScript(String script,
                                String applet)

setColorBackground

public abstract void setColorBackground(String colorName)

setShowAxes

public abstract void setShowAxes(boolean showAxes)

setShowBbcage

public abstract void setShowBbcage(boolean showBbcage)

setJmolDefaults

public abstract void setJmolDefaults()

setRasmolDefaults

public abstract void setRasmolDefaults()

setBooleanProperty

public abstract void setBooleanProperty(String propertyName,
                                        boolean value)

setIntProperty

public abstract void setIntProperty(String propertyName,
                                    int value)

setFloatProperty

public abstract void setFloatProperty(String propertyName,
                                      float value)

setStringProperty

public abstract void setStringProperty(String propertyName,
                                       String value)

setModeMouse

public abstract void setModeMouse(int modeMouse)

setShowHydrogens

public abstract void setShowHydrogens(boolean showHydrogens)

setShowMeasurements

public abstract void setShowMeasurements(boolean showMeasurements)

setPerspectiveDepth

public abstract void setPerspectiveDepth(boolean perspectiveDepth)

setAutoBond

public abstract void setAutoBond(boolean autoBond)

setMarBond

public abstract void setMarBond(short marBond)

setBondTolerance

public abstract void setBondTolerance(float bondTolerance)

setMinBondDistance

public abstract void setMinBondDistance(float minBondDistance)

setAxesOrientationRasmol

public abstract void setAxesOrientationRasmol(boolean axesMessedUp)

setPercentVdwAtom

public abstract void setPercentVdwAtom(int percentVdwAtom)

setAnimationFps

public abstract void setAnimationFps(int framesPerSecond)

setFrankOn

public abstract void setFrankOn(boolean frankOn)

setDebugScript

public abstract void setDebugScript(boolean debugScript)

deleteMeasurement

public abstract void deleteMeasurement(int i)

clearMeasurements

public abstract void clearMeasurements()

setVectorScale

public abstract void setVectorScale(float vectorScaleValue)

setVibrationScale

public abstract void setVibrationScale(float vibrationScaleValue)

setVibrationPeriod

public abstract void setVibrationPeriod(float vibrationPeriod)

selectAll

public abstract void selectAll()

clearSelection

public abstract void clearSelection()

setSelectionSet

public abstract void setSelectionSet(BitSet newSelection)

setSelectionHalos

public abstract void setSelectionHalos(boolean haloEnabled)

setCenterSelected

public abstract void setCenterSelected()

rotateFront

public abstract void rotateFront()

rotateX

public abstract void rotateX(int degrees)

rotateY

public abstract void rotateY(int degrees)

rotateX

public abstract void rotateX(float radians)

rotateY

public abstract void rotateY(float radians)

rotateZ

public abstract void rotateZ(float radians)

getModelAdapter

public abstract JmolAdapter getModelAdapter()

openFileAsynchronously

public abstract void openFileAsynchronously(String fileName)

getFileAsBytes

public abstract Object getFileAsBytes(String fullPathName,
                                      OutputStream os)

getErrorMessage

public abstract String getErrorMessage()

getErrorMessageUntranslated

public abstract String getErrorMessageUntranslated()

getModelFileName

public abstract String getModelFileName(int modelIndex)

checkPrivateKey

public abstract boolean checkPrivateKey(double privateKey)