Class JFXCanvasDepictor
- java.lang.Object
-
- com.actelion.research.chem.AbstractDepictor
-
- com.actelion.research.jfx.gui.chem.JFXCanvasDepictor
-
public class JFXCanvasDepictor extends AbstractDepictor
Project: User: rufenec Date: 10/12/11 Time: 6:00 PM
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.actelion.research.chem.AbstractDepictor
AbstractDepictor.DepictorDot, AbstractDepictor.DepictorLine
-
-
Field Summary
-
Fields inherited from class com.actelion.research.chem.AbstractDepictor
cColorGray, cDModeAtomNo, cDModeBondNo, cDModeHiliteAllQueryFeatures, cDModeNoColorOnESRAndCIP, cDModeNoImplicitAtomLabelColors, cDModeNoStereoProblem, cDModeNoTabus, cDModeShowMapping, cDModeShowSymmetryDiastereotopic, cDModeShowSymmetryEnantiotopic, cDModeShowSymmetrySimple, cDModeSuppressChiralText, cDModeSuppressCIPParity, cDModeSuppressESR, cModeChiralTextAboveMolecule, cModeChiralTextBelowMolecule, cModeChiralTextOnFrameBottom, cModeChiralTextOnFrameTop, cModeInflateToAVBL, cModeInflateToHighResAVBL, cModeInflateToMaxAVBL, cModeMaxBondLength, COLOR_BLUE, COLOR_DARK_GREEN, COLOR_DARK_RED, COLOR_GREEN, COLOR_MAGENTA, COLOR_ORANGE, COLOR_RED, cOptAvBondLen, mG
-
-
Constructor Summary
Constructors Constructor Description JFXCanvasDepictor(StereoMolecule mol)JFXCanvasDepictor(StereoMolecule mol, int mode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddrawBlackLine(AbstractDepictor.DepictorLine theLine)protected voiddrawDottedLine(AbstractDepictor.DepictorLine theLine)protected voiddrawPolygon(double[] px, double[] py, int count)protected voiddrawString(java.lang.String theString, double x, double y)protected voidfillCircle(double x, double y, double r)protected doublegetLineWidth()protected doublegetStringWidth(java.lang.String theString)protected intgetTextSize()protected voidinit()voidpaint(java.lang.Object g)protected voidsetColor(java.awt.Color theColor)protected voidsetLineWidth(double lineWidth)protected voidsetTextSize(int theSize)-
Methods inherited from class com.actelion.research.chem.AbstractDepictor
applyTransformation, drawDot, getBoundingRect, getTransformation, onDrawAtom, onDrawBond, setAtomText, setColor, setDisplayMode, setFactorTextSize, setForegroundColor, setOverruleColor, setTransformation, simpleUpdateCoords, simpleValidateView, updateCoords, validateView
-
-
-
-
Constructor Detail
-
JFXCanvasDepictor
public JFXCanvasDepictor(StereoMolecule mol, int mode)
-
JFXCanvasDepictor
public JFXCanvasDepictor(StereoMolecule mol)
-
-
Method Detail
-
init
protected void init()
- Overrides:
initin classAbstractDepictor
-
paint
public void paint(java.lang.Object g)
- Overrides:
paintin classAbstractDepictor
-
drawBlackLine
protected void drawBlackLine(AbstractDepictor.DepictorLine theLine)
- Specified by:
drawBlackLinein classAbstractDepictor
-
drawDottedLine
protected void drawDottedLine(AbstractDepictor.DepictorLine theLine)
- Specified by:
drawDottedLinein classAbstractDepictor
-
drawPolygon
protected void drawPolygon(double[] px, double[] py, int count)- Specified by:
drawPolygonin classAbstractDepictor
-
drawString
protected void drawString(java.lang.String theString, double x, double y)- Specified by:
drawStringin classAbstractDepictor
-
fillCircle
protected void fillCircle(double x, double y, double r)- Specified by:
fillCirclein classAbstractDepictor
-
getStringWidth
protected double getStringWidth(java.lang.String theString)
- Specified by:
getStringWidthin classAbstractDepictor
-
getTextSize
protected int getTextSize()
- Specified by:
getTextSizein classAbstractDepictor
-
setTextSize
protected void setTextSize(int theSize)
- Specified by:
setTextSizein classAbstractDepictor
-
setLineWidth
protected void setLineWidth(double lineWidth)
- Specified by:
setLineWidthin classAbstractDepictor
-
getLineWidth
protected double getLineWidth()
- Specified by:
getLineWidthin classAbstractDepictor
-
setColor
protected void setColor(java.awt.Color theColor)
- Specified by:
setColorin classAbstractDepictor
-
-