Class pmr.chemime.SMILES
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pmr.chemime.SMILES

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----pmr.simplegraph.SimpleApplet
                                           |
                                           +----pmr.sgml.SGMLApplet
                                                   |
                                                   +----pmr.sgml.SGMLTree
                                                           |
                                                           +----pmr.cml.CMLTree
                                                                   |
                                                                   +----pmr.chemime.ChemTree
                                                                           |
                                                                           +----pmr.chemime.SMILES

public class SMILES
extends ChemTree
class to read (? and write?) SMILES as described in chemical MIME.

At present simply adds it to FORMULA - no checking or anything. that comes in the ConnectionTable routine

Author:
(C) P. Murray-Rust, 1996

Constructor Index

 o SMILES(String)
form a SMILES object from a String

Method Index

 o display()
the 'default' display for this object, rather than the tree.
 o process()
 o showHelp()
display help

Constructors

 o SMILES
  public SMILES(String smiles) throws BadSMILESException
form a SMILES object from a String
Throws: BadSMILESException
maybe some checking at this stage...

Methods

 o showHelp
  public void showHelp()
display help
Overrides:
showHelp in class ChemTree
 o process
  protected void process() throws BadSMILESException
 o display
  public void display()
the 'default' display for this object, rather than the tree.
Overrides:
display in class CMLTree

All Packages  Class Hierarchy  This Package  Previous  Next  Index