Class CPKAtomColors

    • Constructor Detail

      • CPKAtomColors

        public CPKAtomColors()
        Deprecated.
    • Method Detail

      • getAtomColor

        public Color getAtomColor​(IAtom atom)
        Deprecated.
        Returns the font color for atom given atom.
        Specified by:
        getAtomColor in interface IAtomColorer
        Parameters:
        atom - the atom.
        Returns:
        A color for the atom.
      • getAtomColor

        public Color getAtomColor​(IAtom atom,
                                  Color defaultColor)
        Deprecated.
        Returns the font color for atom given atom.
        Specified by:
        getAtomColor in interface IAtomColorer
        Parameters:
        atom - the atom.
        defaultColor - atom default color.
        Returns:
        A color for the atom. The default colour is used if none is found for the atom.