|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectshowMol.MoleculeLoader
public class MoleculeLoader
MoleculeLoader imports molecular structure information from a text file.
| Constructor Summary | |
|---|---|
MoleculeLoader()
Default constructor performs no action. |
|
MoleculeLoader(java.net.URL url,
int filetype,
int flags)
|
|
| Method Summary | |
|---|---|
static void |
createBonds(java.util.Vector<Atom> a,
java.util.Vector<Bond> b,
java.util.Vector<Wire> w)
Creates Bonds for the a set of atoms based upon proximity. |
Atom[] |
getAtoms()
Provides an array containing the Atom objects for this molecule. |
java.util.Vector<Atom> |
getAtomVector()
Provides a Vector containing the Atom objects |
Bond[] |
getBonds()
Provides an array containing the Bond objects for this molecule. |
Wire[] |
getWires()
Provides an array containing the Wire objects for this molecule. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoleculeLoader()
public MoleculeLoader(java.net.URL url,
int filetype,
int flags)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public static void createBonds(java.util.Vector<Atom> a,
java.util.Vector<Bond> b,
java.util.Vector<Wire> w)
a - Vector containing collection of Atom objectsb - Empty Vector for containing Bond objectsw - Vector containing collection of Wire objects, must be consistent with apublic Atom[] getAtoms()
public java.util.Vector<Atom> getAtomVector()
public Bond[] getBonds()
public Wire[] getWires()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||