public class DataContainer extends Observable
| Modifier and Type | Field and Description |
|---|---|
protected IMoleculesIterator |
containers |
protected boolean |
enabled |
protected static Logger |
logger |
protected boolean |
modified |
protected File |
processingFile |
| Constructor and Description |
|---|
DataContainer() |
DataContainer(File inputFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMolecule() |
void |
addMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
void |
clearFilters() |
void |
filter(IDecisionResult treeResult) |
Object |
first() |
int |
getCurrentNo() |
String |
getFileName() |
org.openscience.cdk.interfaces.IAtomContainer |
getMolecule() |
int |
getMoleculesCount() |
String |
getStatus() |
int |
gotoRecord(int record) |
boolean |
isEnabled() |
boolean |
isProcessing() |
Object |
last() |
boolean |
loadedFromFile() |
int |
lookup(String field,
Object value) |
int |
lookup(String field,
Object value,
boolean silent) |
void |
newMolecule() |
void |
newMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
Object |
next() |
void |
openFile(File input) |
Object |
prev() |
void |
saveFile(File output) |
void |
selectFilter(Component parentComponent) |
void |
setEnabled(boolean enabled) |
void |
setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule) |
String |
toString() |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedprotected static Logger logger
protected IMoleculesIterator containers
protected File processingFile
protected boolean modified
protected boolean enabled
public DataContainer()
public DataContainer(File inputFile)
public org.openscience.cdk.interfaces.IAtomContainer getMolecule()
public void newMolecule()
public void newMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
public void addMolecule()
public void addMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
public void setMolecule(org.openscience.cdk.interfaces.IAtomContainer molecule)
public void clearFilters()
throws FilterException
FilterExceptionpublic void selectFilter(Component parentComponent) throws FilterException
FilterExceptionpublic void filter(IDecisionResult treeResult) throws FilterException
FilterExceptionpublic int gotoRecord(int record)
public void openFile(File input)
public void saveFile(File output)
public int getMoleculesCount()
public int getCurrentNo()
public Object first()
public Object last()
public Object next()
public Object prev()
public boolean isProcessing()
public String getStatus()
public boolean loadedFromFile()
public String getFileName()
public boolean isEnabled()
public void setEnabled(boolean enabled)
Copyright © 2004–2018 Ideaconsult Ltd. All rights reserved.