public class SOMEVisualizer extends SOMEResultsParser implements IStructureDiagramHighlights, IAtomContainerHighlights
Modifier and Type | Field and Description |
---|---|
protected Dimension |
imageSize |
protected org.openscience.cdk.interfaces.IAtomContainer |
mol |
protected String |
ruleid |
protected org.openscience.cdk.interfaces.IAtomContainer |
selected |
Constructor and Description |
---|
SOMEVisualizer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getID() |
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) |
boolean |
isEnabled() |
void |
open() |
void |
parseRecord(String some) |
org.openscience.cdk.renderer.selection.IChemObjectSelection |
process(org.openscience.cdk.interfaces.IAtomContainer mol) |
protected void |
process(int atomNum,
String atomSymbol,
SOMERawReader.someindex index,
double value,
boolean star) |
void |
setEnabled(boolean value) |
void |
setImageSize(Dimension imageSize) |
protected org.openscience.cdk.interfaces.IAtomContainer selected
protected Dimension imageSize
protected String ruleid
protected org.openscience.cdk.interfaces.IAtomContainer mol
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 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 void parseRecord(String some) throws Exception
parseRecord
in class SOMEResultsParser
Exception
protected void process(int atomNum, String atomSymbol, SOMERawReader.someindex index, double value, boolean star)
process
in class SOMEResultsParser
public Dimension getImageSize()
getImageSize
in interface IStructureDiagramDepiction<BufferedImage>
public void setImageSize(Dimension imageSize)
setImageSize
in interface IStructureDiagramDepiction<BufferedImage>
public long getID()
getID
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.renderer.selection.IChemObjectSelection>
public boolean isEnabled()
isEnabled
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.renderer.selection.IChemObjectSelection>
public org.openscience.cdk.renderer.selection.IChemObjectSelection process(org.openscience.cdk.interfaces.IAtomContainer mol) throws net.idea.modbcum.i.exceptions.AmbitException
process
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.renderer.selection.IChemObjectSelection>
net.idea.modbcum.i.exceptions.AmbitException
public void setEnabled(boolean value)
setEnabled
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.renderer.selection.IChemObjectSelection>
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
public void close() throws Exception
close
in interface net.idea.modbcum.i.processors.IProcessor<org.openscience.cdk.interfaces.IAtomContainer,org.openscience.cdk.renderer.selection.IChemObjectSelection>
Exception
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.