|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jmol.api.JmolAdapter org.jmol.viewer.FrameExportJmolAdapter
public final class FrameExportJmolAdapter
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.jmol.api.JmolAdapter |
---|
JmolAdapter.Logger, JmolAdapter.StructureIterator |
Field Summary |
---|
Fields inherited from class org.jmol.api.JmolAdapter |
---|
logger, ORDER_AROMATIC, ORDER_COVALENT_DOUBLE, ORDER_COVALENT_SINGLE, ORDER_COVALENT_TRIPLE, ORDER_HBOND, ORDER_PARTIAL01, ORDER_PARTIAL12, ORDER_STEREO_FAR, ORDER_STEREO_NEAR |
Method Summary | |
---|---|
JmolAdapter.AtomIterator |
getAtomIterator(java.lang.Object clientFile)
Get an AtomIterator for retrieval of all atoms in the file. |
java.lang.String |
getAtomSetCollectionName(java.lang.Object clientFile)
Get the name of the atom set collection, if known. |
JmolAdapter.BondIterator |
getBondIterator(java.lang.Object clientFile)
Get a BondIterator for retrieval of all bonds in the file. |
int |
getEstimatedAtomCount(java.lang.Object clientFile)
Get the estimated number of atoms contained in the file. |
float[] |
getNotionalUnitcell(java.lang.Object clientFile)
Get the notional unit cell. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getAtomSetCollectionName(java.lang.Object clientFile)
JmolAdapter
Some file formats contain a formal name of the molecule in the file.
If this method returns null
then the JmolViewer will
automatically supply the file/URL name as a default.
getAtomSetCollectionName
in class JmolAdapter
null
public int getEstimatedAtomCount(java.lang.Object clientFile)
JmolAdapter
Just return -1 if you don't know (or don't want to figure it out)
getEstimatedAtomCount
in class JmolAdapter
clientFile
- The client file
public float[] getNotionalUnitcell(java.lang.Object clientFile)
JmolAdapter
This method returns the parameters that define a crystal unitcell
the parameters are returned in a float[] in the following order
a, b, c, alpha, beta, gamma
a, b, c
: angstroms
alpha, beta, gamma
: degrees
if there is no unit cell data then return null
getNotionalUnitcell
in class JmolAdapter
clientFile
- The client file
null
public JmolAdapter.AtomIterator getAtomIterator(java.lang.Object clientFile)
JmolAdapter
This method may not return null
.
getAtomIterator
in class JmolAdapter
clientFile
- The client file
JmolAdapter.AtomIterator
public JmolAdapter.BondIterator getBondIterator(java.lang.Object clientFile)
JmolAdapter
If this method returns null
and no
bonds are defined then the JmolViewer will automatically apply its
rebonding code to build bonds between atoms.
getBondIterator
in class JmolAdapter
clientFile
- The client file
null
JmolAdapter.BondIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |