Class CPKAtomColors
java.lang.Object
org.openscience.cdk.renderer.color.CPKAtomColors
- All Implemented Interfaces:
Serializable,IAtomColorer
Deprecated.
Colors atoms using CPK color scheme [Bernstein, H.J., Manual RasMol 2.7.2.1 - CPK Colours].
- See Also:
- Keywords:
- atom coloring, CPK
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAtomColor(IAtom atom) Deprecated.Returns the font color for atom given atom.getAtomColor(IAtom atom, Color defaultColor) Deprecated.Returns the font color for atom given atom.
-
Constructor Details
-
CPKAtomColors
public CPKAtomColors()Deprecated.
-
-
Method Details
-
getAtomColor
Deprecated.Returns the font color for atom given atom.- Specified by:
getAtomColorin interfaceIAtomColorer- Parameters:
atom- the atom.- Returns:
- A color for the atom.
-
getAtomColor
Deprecated.Returns the font color for atom given atom.- Specified by:
getAtomColorin interfaceIAtomColorer- 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.
-
JmolColorsprovides more comprehensive CPK color pallet