Class ExtendedDepictor


  • public class ExtendedDepictor
    extends java.lang.Object
    • Constructor Detail

      • ExtendedDepictor

        public ExtendedDepictor​(StereoMolecule[] mol,
                                int markushCoreCount,
                                DrawingObjectList drawingObjectList)
        Use this constructor for markush structures. The first fragments in the list are the Markush core structures (typically only one), decorated with R1,R2,R3,... The remaining fragments need to contain one atom with atomicNo=0 each, that indicates the attachment point. They also may contain Rn atoms. Any of the fragments may contain query features.
        Parameters:
        mol -
        markushCoreCount -
        drawingObjectList -
      • ExtendedDepictor

        public ExtendedDepictor​(Reaction reaction,
                                DrawingObjectList drawingObjectList,
                                boolean layoutReaction)
    • Method Detail

      • isFragment

        public boolean isFragment()
      • setDisplayMode

        public void setDisplayMode​(int displayMode)
      • setFragmentNoColor

        public void setFragmentNoColor​(java.awt.Color c)
      • getMoleculeCount

        public int getMoleculeCount()
      • getReaction

        public Reaction getReaction()
      • setForegroundColor

        public void setForegroundColor​(java.awt.Color foreGround,
                                       java.awt.Color background)
      • setOverruleColor

        public void setOverruleColor​(java.awt.Color foreGround,
                                     java.awt.Color background)