|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.alchemist.utils.AlchemistMoleculePainter
public class AlchemistMoleculePainter
| Field Summary | |
|---|---|
static int |
DEFAULT_DISPLAY_OPTIONS
default display options, showing atommaps and implicit hydrogens on hetero atoms |
static int |
HIDE_IMPLICIT_HYDROGENS
showing atommaps, not showing implicit hydrogens |
| Constructor Summary | |
|---|---|
AlchemistMoleculePainter()
|
|
| Method Summary | |
|---|---|
static void |
drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g)
Renders the molecule into the graphics context in a default 200x200 size |
static void |
drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g,
java.awt.Dimension size)
Renders the molecule into the graphics context |
static void |
drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g,
java.awt.Dimension size,
int dispOpts)
Renders the molecule into the graphics context |
static void |
drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g,
int width,
int height)
Renders the molecule into the graphics context |
static void |
drawMolecule(Molecule molecule,
java.awt.Graphics g)
Renders the molecule into the graphics context in a default 200x200 size |
static void |
drawMolecule(Molecule molecule,
java.awt.Graphics g,
java.awt.Dimension size)
Renders the molecule into the graphics context |
static void |
drawMolecule(Molecule molecule,
java.awt.Graphics g,
int width,
int height)
Renders the molecule into the graphics context |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_DISPLAY_OPTIONS
public static final int HIDE_IMPLICIT_HYDROGENS
| Constructor Detail |
|---|
public AlchemistMoleculePainter()
| Method Detail |
|---|
public static void drawMolecule(Molecule molecule,
java.awt.Graphics g)
molecule - is the molecule being renderedg - is the graphics context molecule is being rendered onto
public static void drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g)
x - is the left coordinate of the rendered imagey - is the top coordinate of the rendered imagemolecule - is the molecule being renderedg - is the graphics context molecule is being rendered onto
public static void drawMolecule(Molecule molecule,
java.awt.Graphics g,
int width,
int height)
molecule - is the molecule being renderedg - is the graphics context molecule is being rendered ontowidth - is the width of the rendered imageheight - is the height of the rendered image
public static void drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g,
int width,
int height)
x - is the left coordinate of the rendered imagey - is the top coordinate of the rendered imagemolecule - is the molecule being renderedg - is the graphics context molecule is being rendered ontowidth - is the width of the rendered imageheight - is the height of the rendered image
public static void drawMolecule(Molecule molecule,
java.awt.Graphics g,
java.awt.Dimension size)
molecule - is the molecule being renderedg - is the graphics context molecule is being rendered ontosize - is the dimension of the rendered image
public static void drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g,
java.awt.Dimension size)
x - is the left coordinate of the rendered imagey - is the top coordinate of the rendered imagemolecule - is the molecule being renderedg - is the graphics context molecule is being rendered ontosize - is the dimension of the rendered image
public static void drawMolecule(int x,
int y,
Molecule molecule,
java.awt.Graphics g,
java.awt.Dimension size,
int dispOpts)
x - is the left coordinate of the rendered imagey - is the top coordinate of the rendered imagemolecule - is the molecule being renderedg - is the graphics context molecule is being rendered ontosize - is the dimension of the rendered imagedispOpts - is the display options value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||