public class DescriptorsCalculator extends AbstractDescriptorCalculator<org.openscience.cdk.interfaces.IAtomContainer> implements IStructureDiagramHighlights
Modifier and Type | Field and Description |
---|---|
protected PropertyCalculationProcessor |
calc |
protected AtomConfigurator |
cfg |
protected DescriptorsFactory |
d |
protected HydrogenAdderProcessor |
ha |
protected MoleculeReader |
reader |
protected DescriptorValue2Property |
selfwriter |
protected DbDescriptorValuesWriter |
writer |
assignProperties, descriptors
Constructor and Description |
---|
DescriptorsCalculator() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
BufferedImage |
getImage(org.openscience.cdk.interfaces.IAtomContainer mol) |
BufferedImage |
getImage(org.openscience.cdk.interfaces.IAtomContainer mol,
String ruleID,
int width,
int height,
boolean atomnumbers) |
Dimension |
getImageSize() |
BufferedImage |
getLegend(int width,
int height) |
void |
open() |
org.openscience.cdk.interfaces.IAtomContainer |
preprocess(IStructureRecord target) |
IStructureRecord |
process(IStructureRecord target) |
void |
setConnection(Connection connection) |
void |
setImageSize(Dimension imageSize) |
String |
toString() |
getDescriptors, isAssignProperties, setAssignProperties, setDescriptors
getConnection, isCloseConnection, isEnabled, setCloseConnection
addPropertyChangeListener, addPropertyChangeListener, getID, removePropertyChangeListener, removePropertyChangeListener, setEnabled
protected DescriptorsFactory d
protected DbDescriptorValuesWriter writer
protected DescriptorValue2Property selfwriter
protected MoleculeReader reader
protected HydrogenAdderProcessor ha
protected AtomConfigurator cfg
protected PropertyCalculationProcessor calc
public Dimension getImageSize()
getImageSize
in interface IStructureDiagramDepiction<BufferedImage>
public void setImageSize(Dimension imageSize)
setImageSize
in interface IStructureDiagramDepiction<BufferedImage>
public org.openscience.cdk.interfaces.IAtomContainer preprocess(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
preprocess
in class AbstractDescriptorCalculator<org.openscience.cdk.interfaces.IAtomContainer>
net.idea.modbcum.i.exceptions.AmbitException
public IStructureRecord process(IStructureRecord target) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>
net.idea.modbcum.i.exceptions.AmbitException
public void open() throws net.idea.modbcum.i.exceptions.DbAmbitException
open
in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>
open
in class net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,IStructureRecord>
net.idea.modbcum.i.exceptions.DbAmbitException
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<IStructureRecord,IStructureRecord>
close
in class net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>
Exception
public void setConnection(Connection connection) throws net.idea.modbcum.i.exceptions.DbAmbitException
setConnection
in interface net.idea.modbcum.i.IDBProcessor<IStructureRecord,IStructureRecord>
setConnection
in class net.idea.modbcum.p.AbstractDBProcessor<IStructureRecord,IStructureRecord>
net.idea.modbcum.i.exceptions.DbAmbitException
public String toString()
toString
in class net.idea.modbcum.p.DefaultAmbitProcessor<IStructureRecord,IStructureRecord>
public BufferedImage getImage(org.openscience.cdk.interfaces.IAtomContainer mol) throws net.idea.modbcum.i.exceptions.AmbitException
getImage
in interface IStructureDiagramDepiction<BufferedImage>
net.idea.modbcum.i.exceptions.AmbitException
public BufferedImage getImage(org.openscience.cdk.interfaces.IAtomContainer mol, String ruleID, int width, int height, boolean atomnumbers) throws net.idea.modbcum.i.exceptions.AmbitException
getImage
in interface IStructureDiagramDepiction<BufferedImage>
net.idea.modbcum.i.exceptions.AmbitException
public BufferedImage getLegend(int width, int height) throws net.idea.modbcum.i.exceptions.AmbitException
getLegend
in interface IStructureDiagramDepiction<BufferedImage>
net.idea.modbcum.i.exceptions.AmbitException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.