toxTree.core
Interface IMoleculesIterator

All Superinterfaces:
java.util.Iterator
All Known Subinterfaces:
IFilteredMolecules
All Known Implementing Classes:
FilteredMoleculesIterator, MoleculesIterator

public interface IMoleculesIterator
extends java.util.Iterator


Field Summary
static java.lang.String MSG_EMPTYFILE
           
static java.lang.String MSG_ERRORONOPEN
           
static java.lang.String MSG_ERRORONSAVE
           
static java.lang.String MSG_OPENSUCCESS
           
static java.lang.String MSG_SAVESUCCESS
           
static java.lang.String MSG_UNSUPPORTEDFORMAT
           
 
Method Summary
 void addMolecule(org.openscience.cdk.interfaces.IAtomContainer mol)
           
 void clear()
           
 java.lang.Object first()
           
 org.openscience.cdk.interfaces.IAtomContainer getAtomContainer(int index)
           
 int getCurrentNo()
           
 java.lang.String getFilename()
           
 org.openscience.cdk.interfaces.IAtomContainer getMolecule()
           
 org.openscience.cdk.interfaces.IMoleculeSet getMoleculeForEdit()
           
 org.openscience.cdk.interfaces.IAtomContainer[] getMolecules()
           
 int getMoleculesCount()
           
 java.lang.String getStatus()
           
 boolean isReading()
           
 boolean isWriting()
           
 java.lang.Object last()
           
 java.util.List openFile(java.io.File input)
           
 java.lang.Object prev()
           
 void saveFile(java.io.File output)
           
 org.openscience.cdk.interfaces.IAtomContainer setCurrentNo(int record)
           
 void setDone(boolean success)
           
 void setMolecule(org.openscience.cdk.interfaces.IAtomContainer mol)
           
 void setMolecules(java.util.List molecules)
           
 void setReading()
           
 void setWriting()
           
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Field Detail

MSG_UNSUPPORTEDFORMAT

static final java.lang.String MSG_UNSUPPORTEDFORMAT
See Also:
Constant Field Values

MSG_ERRORONSAVE

static final java.lang.String MSG_ERRORONSAVE
See Also:
Constant Field Values

MSG_ERRORONOPEN

static final java.lang.String MSG_ERRORONOPEN
See Also:
Constant Field Values

MSG_SAVESUCCESS

static final java.lang.String MSG_SAVESUCCESS
See Also:
Constant Field Values

MSG_OPENSUCCESS

static final java.lang.String MSG_OPENSUCCESS
See Also:
Constant Field Values

MSG_EMPTYFILE

static final java.lang.String MSG_EMPTYFILE
See Also:
Constant Field Values
Method Detail

first

java.lang.Object first()

last

java.lang.Object last()

prev

java.lang.Object prev()

clear

void clear()

isReading

boolean isReading()

isWriting

boolean isWriting()

getStatus

java.lang.String getStatus()

getMoleculesCount

int getMoleculesCount()

getCurrentNo

int getCurrentNo()

setCurrentNo

org.openscience.cdk.interfaces.IAtomContainer setCurrentNo(int record)

getMolecules

org.openscience.cdk.interfaces.IAtomContainer[] getMolecules()

setMolecules

void setMolecules(java.util.List molecules)

getMolecule

org.openscience.cdk.interfaces.IAtomContainer getMolecule()

getMoleculeForEdit

org.openscience.cdk.interfaces.IMoleculeSet getMoleculeForEdit()
                                                               throws java.lang.Exception
Throws:
java.lang.Exception

getAtomContainer

org.openscience.cdk.interfaces.IAtomContainer getAtomContainer(int index)

addMolecule

void addMolecule(org.openscience.cdk.interfaces.IAtomContainer mol)

setMolecule

void setMolecule(org.openscience.cdk.interfaces.IAtomContainer mol)

setReading

void setReading()

setWriting

void setWriting()

setDone

void setDone(boolean success)

getFilename

java.lang.String getFilename()

openFile

java.util.List openFile(java.io.File input)
                        throws ToxTreeIOException
Throws:
ToxTreeIOException

saveFile

void saveFile(java.io.File output)
              throws ToxTreeIOException
Throws:
ToxTreeIOException


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.